mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 17:18:56 +00:00
V1.0.5
This commit is contained in:
@@ -16,7 +16,6 @@ static void cmd_efuse_help(void)
|
||||
{
|
||||
printf("efuse command usage:\n");
|
||||
printf(" efuse help : Get this help.\n");
|
||||
printf(" efuse init : Initialize eFuse driver.\n");
|
||||
printf(" efuse dump offset len : Dump data from eFuse offset.\n");
|
||||
printf(" efuse read addr offset len : Read eFuse data to RAM addr.\n");
|
||||
printf(" efuse write addr offset len : Write data to eFuse from RAM addr.\n");
|
||||
@@ -24,11 +23,6 @@ static void cmd_efuse_help(void)
|
||||
printf(" efuse writestr offset data : Write data to eFuse from input string.\n");
|
||||
}
|
||||
|
||||
static void cmd_efuse_init(int argc, char **argv)
|
||||
{
|
||||
efuse_init();
|
||||
}
|
||||
|
||||
static void cmd_efuse_read(int argc, char **argv)
|
||||
{
|
||||
ulong addr, offset, len;
|
||||
@@ -167,10 +161,6 @@ static int cmd_efuse_do(int argc, char **argv)
|
||||
if (argc < 2) {
|
||||
return -1;
|
||||
}
|
||||
if (!strcmp(argv[1], "init")) {
|
||||
cmd_efuse_init(argc - 1, &argv[1]);
|
||||
return 0;
|
||||
}
|
||||
if (!strcmp(argv[1], "read")) {
|
||||
cmd_efuse_read(argc - 1, &argv[1]);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user