]> git.sur5r.net Git - u-boot/commitdiff
arm: dra7xx: Update the EXTRA_ENV_SETTINGS
authorDan Murphy <dmurphy@ti.com>
Tue, 11 Jun 2013 16:22:30 +0000 (11:22 -0500)
committerTom Rini <trini@ti.com>
Tue, 18 Jun 2013 14:43:29 +0000 (10:43 -0400)
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 <dmurphy@ti.com>
Reviewed-by: Tom Rini <trini@ti.com>
include/configs/dra7xx_evm.h
include/configs/omap5_common.h
include/configs/omap5_uevm.h

index 0eea28c80a6dd9b8bf08bc487ab93e647a74fd42..c11f005535d03916edc1b646dd3f8452273acfaf 100644 (file)
@@ -41,4 +41,7 @@
 #define CONFIG_BAUDRATE                        115200
 
 #define CONFIG_SYS_OMAP_ABE_SYSCK
+
+#define CONSOLEDEV             "ttyO0"
+
 #endif /* __CONFIG_DRA7XX_EVM_H */
index deecf4ddab7abc558ac36dae7a3debfbecbbd282..b87ee422869246e3cabe68eba8d6011f5566104a 100644 (file)
 
 #define CONFIG_EXTRA_ENV_SETTINGS \
        "loadaddr=0x82000000\0" \
-       "console=ttyO2,115200n8\0" \
+       "console=" CONSOLEDEV ",115200n8\0" \
        "fdt_high=0xffffffff\0" \
        "fdtaddr=0x80f80000\0" \
        "fdtfile=undefined\0" \
        "findfdt="\
                "if test $board_name = omap5_uevm; then " \
                        "setenv fdtfile omap5-uevm.dtb; fi; " \
+               "if test $board_name = dra7xx; then " \
+                       "setenv fdtfile dra7-evm.dtb; fi;" \
                "if test $fdtfile = undefined; then " \
                        "echo WARNING: Could not determine device tree to use; fi; \0" \
        "loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile};\0" \
index e792b1b5c70ca3304a586508ab950e61326a7cee..46dacc207442c03d843794d4f5c6c8cf8af3b18e 100644 (file)
@@ -55,5 +55,7 @@
 
 #define CONFIG_SYS_PROMPT              "OMAP5432 uEVM # "
 
+#define CONSOLEDEV             "ttyO2"
+
 #define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC       16296
 #endif /* __CONFIG_OMAP5_EVM_H */