diff options
author | Sam Wu <yihui.wu@amlogic.com> | 2015-10-12 18:48:56 +0800 |
---|---|---|
committer | Sam Wu <yihui.wu@amlogic.com> | 2015-10-12 18:59:10 +0800 |
commit | fc19484d9b88e5ef09c7ba55959d63e3fe91e691 (patch) | |
tree | 32275edb8688b38d91d7ce21fbbd99afc1920000 /common/store_interface.c | |
parent | 31ddfabffb595708faff7e62cdc205b165697108 (diff) | |
download | u-boot-odroid-c1-fc19484d9b88e5ef09c7ba55959d63e3fe91e691.tar.gz |
PD#113744: Factory burning improve
1, key burning improve:
1,1)support erasing emmc key when using UI tool options;
1.2)remove 'store disprotect secure' as included in key area now;
1.3)enlarge max key name from 15Chars to 31Chars;
2, when burn bootloader: remove partition check as not needed yet;
3, when burn logic parts: assert flash capacity >= dts cfg size.
Change-Id: Ia4d218cf4332ab3df50a746a867a03689bbe9b9a
Signed-off-by: Sam Wu <yihui.wu@amlogic.com>
Diffstat (limited to 'common/store_interface.c')
-rw-r--r-- | common/store_interface.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/common/store_interface.c b/common/store_interface.c index cc9e775bea..f770587eab 100644 --- a/common/store_interface.c +++ b/common/store_interface.c @@ -542,7 +542,6 @@ static int do_store_exit(cmd_tbl_t * cmdtp, int flag, int argc, char * const arg static int do_store_disprotect(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]) { -#if defined(CONFIG_AML_NAND) char *area; area = argv[2]; @@ -551,10 +550,6 @@ static int do_store_disprotect(cmd_tbl_t * cmdtp, int flag, int argc, char * con info_disprotect |= DISPROTECT_KEY; _info_disprotect_back_before_mmcinfo1 |= DISPROTECT_KEY; } - if (strcmp(area, "secure") == 0) { - store_msg("disprotect secure"); - info_disprotect |= DISPROTECT_SECURE; - } if (strcmp(area, "fbbt") == 0) { store_msg("disprotect fbbt"); info_disprotect |= DISPROTECT_FBBT; @@ -563,7 +558,7 @@ static int do_store_disprotect(cmd_tbl_t * cmdtp, int flag, int argc, char * con store_msg("disprotect hynix"); info_disprotect |= DISPROTECT_HYNIX; } -#endif //CONFIG_AML_NAND + return 0; } |