commit | 28aa05c73425d536d88f550b24d51e673dd14f73 | [log] [tgz] |
---|---|---|
author | Dmitry Shmidt <dimitrysh@google.com> | Tue Oct 17 17:01:40 2017 -0700 |
committer | Haojian Zhuang <haojian.zhuang@linaro.org> | Fri Oct 20 11:26:37 2017 +0800 |
tree | 967974db2b3658a2f6217f75b5e6dc6ce5af5620 | |
parent | c217f9633aeba67c9cbe96b442e3312026ca6dda [diff] |
hikey: Set HIKEY_ERASE_SIZE to 4096 Invalid erase-block-size 512: must be a power of 2 and at least 4096. Invalid logical-block-size 512: must be a power of 2 and at least 4096. Change-Id: I80dd048dde8daf34e8565ca0eeef22239a9e13a0 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
diff --git a/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastboot.c b/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastboot.c index 588a9f9..55ea92a 100644 --- a/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastboot.c +++ b/Platforms/Hisilicon/HiKey/HiKeyFastbootDxe/HiKeyFastboot.c
@@ -50,7 +50,7 @@ #define SERIAL_NUMBER_LENGTH 16 #define BOOT_DEVICE_LENGTH 16 -#define HIKEY_ERASE_SIZE 512 +#define HIKEY_ERASE_SIZE 4096 typedef struct _FASTBOOT_PARTITION_LIST { LIST_ENTRY Link;