This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -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;