From: Jaehoon Chung Date: Tue, 17 Nov 2020 11:35:14 +0000 (+0900) Subject: samsung: tizen_amlogic: increase u-boot size for raw write X-Git-Tag: submit/tizen/20201208.071016~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ee13030e0beff6eda9be2eadf017c259f3049a3e;p=platform%2Fkernel%2Fu-boot.git samsung: tizen_amlogic: increase u-boot size for raw write Increase u-boot size from 0x850 to 0x1000. - From 1M to 2M. If u-boot image is over 1064K (0x850), then it will be broken. Change-Id: I95b8a0b074d5c4b2877b98c2e5cd4057941fda64 Signed-off-by: Jaehoon Chung --- diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h index 0112fe7635..deac19fa4b 100644 --- a/include/samsung/tizen_amlogic.h +++ b/include/samsung/tizen_amlogic.h @@ -43,16 +43,16 @@ "ramdisk.img part -1 7;" \ "ramdisk-recovery.img part -1 8" -#define DFU_ALT_BOOT_ODROID_N2 "u-boot.bin raw 0x1 0x850;" \ - "u-boot-n2.bin raw 0x1 0x850;" \ +#define DFU_ALT_BOOT_ODROID_N2 "u-boot.bin raw 0x1 0x1000;" \ + "u-boot-n2.bin raw 0x1 0x1000;" \ "u-boot-c4.bin skip 0 0;" \ "u-boot-kvim3.bin skip 0 0" -#define DFU_ALT_BOOT_KVIM3 "u-boot.bin raw 0x1 0x850;" \ - "u-boot-kvim3.bin raw 0x1 0x850;" \ +#define DFU_ALT_BOOT_KVIM3 "u-boot.bin raw 0x1 0x1000;" \ + "u-boot-kvim3.bin raw 0x1 0x1000;" \ "u-boot-c4.bin skip 0 0;" \ "u-boot-n2.bin skip 0 0" -#define DFU_ALT_BOOT_ODROID_C4 "u-boot.bin raw 0x1 0x850;" \ - "u-boot-c4.bin raw 0x1 0x850;" \ +#define DFU_ALT_BOOT_ODROID_C4 "u-boot.bin raw 0x1 0x1000;" \ + "u-boot-c4.bin raw 0x1 0x1000;" \ "u-boot-kvim3.bin skip 0 0;" \ "u-boot-n2.bin skip 0 0" #define CONFIG_SET_DFU_ALT_BUF_LEN (SZ_1K)