arm: dra7xx: Update the EXTRA_ENV_SETTINGS
PATCH v5 1/1 arm: dra7xx: Update the EXTRA_ENV_SETTINGS
Update the EXTRA_ENV_SETTING for the dra7xx.
The console needs to be set to ttyO0 and the
findfdt needs to be updated to load the
dra7xx-evm.dtb file.
Signed-off-by Dan Murphy <[email protected]>
---
v5 - Fixed by adding the \0 to terminate the macro - http://patchwork.ozlabs.org/patch/249528/
v4 - Remove check for undefined fdtfile and save for another patch - http://patchwork.ozlabs.org/patch/249084/
v3 - Updated based on comments - http://patchwork.ozlabs.org/patch/248687/
v2 - Updated with side bar maintainer comments.
include/configs/dra7xx_evm.h | 2 ++ include/configs/omap5_common.h | 6 ++++-- include/configs/omap5_uevm.h | 1 + 3 files changed, 7 insertions(+), 2 deletions(-)
include/configs/dra7xx_evm.h +2 -0
@@ -35,4 +35,6 @@#define CONFIG_DRA7XX /* in a TI DRA7XX core */ #define CONFIG_SYS_PROMPT "DRA752 EVM # " +#define CONSOLEDEV "ttyO0" +#endif /* __CONFIG_DRA7XX_EVM_H */
include/configs/omap5_common.h +4 -2
@@ -144,7 +144,7 @@#define CONFIG_EXTRA_ENV_SETTINGS \ "loadaddr=0x82000000\0" \ - "console=ttyO2,115200n8\0" \ + "console=" CONSOLEDEV ",115200n8\0" \ "fdt_high=0xffffffff\0" \ "fdtaddr=0x80f80000\0" \ "bootpart=0:2\0" \
@@ -174,7 +174,9 @@"bootz ${loadaddr} - ${fdtaddr}\0" \"findfdt=" \"if test $board_name = omap5_uevm; then " \ -"setenv fdtfile omap5-uevm.dtb; fi;\0 " \ +"setenv fdtfile omap5-uevm.dtb; fi; " \ +"if test $board_name = dra7xx; then " \ +"setenv fdtfile dra7-evm.dtb; fi;\0" \"loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \ #define CONFIG_BOOTCOMMAND \
include/configs/omap5_uevm.h +1 -0
@@ -55,6 +55,7 @@#define CONFIG_CMD_PART #define CONFIG_SYS_PROMPT "OMAP5430 EVM # " +#define CONSOLEDEV "ttyO2"#define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC 16296#endif /* __CONFIG_OMAP5_EVM_H */
Signature · 1 line
1.7.5.4
PATCH v5 1/1 arm: dra7xx: Update the EXTRA_ENV_SETTINGS
Quoted 6 lines · Dan Murphy
Update the
EXTRA_ENV_SETTINGfor the dra7xx.
The console needs to be set to ttyO0 and the
findfdt needs to be updated to load the
dra7xx-evm.dtb file.Signed-off-by Dan Murphy <[email protected]>
Reviewed-by Tom Rini <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130612/377ae6b6/attachment.pgp>