DRA74-evm RevH and later versions uses 4GB DDR and populates this info in EEPROM. This series reads EEPROM and populates emif settings for 4GB ddr. If eeprom is not available or evm revision is < H, then it fall backs to default emif settings.
This series depends on the ti common eeprom driver series posted recently. https://www.mail-archive.com/u-boot%40lists.denx.de/msg204549.html Tested on DRA7 RevH: http://pastebin.ubuntu.com/15291175/ DRA7 RevG: http://pastebin.ubuntu.com/15291197/ Changes since v1: - Swapped patch 4 and 5 inorder to maintain bisectability. Lokesh Vutla (6): ti: common: dra7: Add standard access for board description EEPROM ARM: DRA7: Enable EEPROM support ARM: DRA7: Move emif settings to board specific files ARM: DRA7: configs: Prepare for detecting memory > 2GB ARM: DRA7: EMIF: Add 4GB DDR settings ARM: DRA7-evm: Update memory info in banks arch/arm/cpu/armv7/omap5/Kconfig | 1 + arch/arm/cpu/armv7/omap5/sdram.c | 149 +-------------------- board/ti/common/board_detect.c | 64 +++++++++ board/ti/common/board_detect.h | 56 ++++++++ board/ti/dra7xx/Kconfig | 3 + board/ti/dra7xx/evm.c | 279 ++++++++++++++++++++++++++++++++++++++- include/configs/dra7xx_evm.h | 9 ++ 7 files changed, 410 insertions(+), 151 deletions(-) -- 2.1.4 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot