aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Jacques Hiblot2017-07-06 06:41:58 -0500
committerJean-Jacques Hiblot2017-07-06 06:41:58 -0500
commit5d82f3356871606403d9d925ec1b98cbab29adbd (patch)
tree7e9cf5c6f1625d1f0b1f02906e9b0e94c722fc8f
parent25f92ec8d82012a395e83a8b6ef70135ec2155b4 (diff)
downloadu-boot-5d82f3356871606403d9d925ec1b98cbab29adbd.tar.gz
u-boot-5d82f3356871606403d9d925ec1b98cbab29adbd.tar.xz
u-boot-5d82f3356871606403d9d925ec1b98cbab29adbd.zip
ti_armv7_common.h: Fix U-Boot location on eMMC
The layout of the eMMC has been updated in commit 28d231055303 ("ti_armv7_common.h: Fix U-Boot location on eMMC"). This patch fixes CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR constant so that it points to correct address of "bootloader" partition and SPL is able to read, parse and run u-boot.img correctly. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
-rw-r--r--include/configs/ti_armv7_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
index eee8ead169..0e5716459e 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -282,8 +282,8 @@
282#endif 282#endif
283 283
284/* RAW SD card / eMMC locations. */ 284/* RAW SD card / eMMC locations. */
285#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x200 /* address 0x40000 */ 285#define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR 0x300 /* address 0x60000 */
286#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x300 /* 384 KB */ 286#define CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS 0x1000 /* 2048 KB */
287 287
288/* FAT sd card locations. */ 288/* FAT sd card locations. */
289#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 289#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1