]> git.baikalelectronics.ru Git - uboot.git/commit
dra7: Allow selecting a new dtb after board detection.
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 7 Dec 2018 13:50:55 +0000 (14:50 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 10 Dec 2018 06:27:25 +0000 (07:27 +0100)
commit1070d44123e65b542645d2b1809dd0cda49b19be
tree8f02c33ae1b89a2a51bfc642e5733abc70c6ab82
parent125634e937a6088a2530fd16adb547ec8543d8c5
dra7: Allow selecting a new dtb after board detection.

The DRA7 platforms requires that the dtb used in the SPL really matches the
platform  to have the best MMC performances.
To detect the board type/version an I2C EEPROM is read. This requires that
DM is initialized before the detection. As a consequence we must reset the
DM after the board detection is a new dtb would better match the platform.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/mach-omap2/hwinit-common.c
configs/dra7xx_evm_defconfig