mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
config: env: Set AM335x-ICEv2 board specific env
Populate the right dtb file and console for AM335x-ICEv2 board. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
97f3a178b2
commit
426af3848f
1 changed files with 9 additions and 0 deletions
|
@ -91,6 +91,7 @@
|
|||
|
||||
#define CONFIG_BOOTCOMMAND \
|
||||
"run findfdt; " \
|
||||
"run init_console; " \
|
||||
"run envboot; " \
|
||||
"run distro_bootcmd"
|
||||
|
||||
|
@ -169,8 +170,16 @@
|
|||
"setenv fdtfile am335x-evm.dtb; fi; " \
|
||||
"if test $board_name = A335X_SK; then " \
|
||||
"setenv fdtfile am335x-evmsk.dtb; fi; " \
|
||||
"if test $board_name = A335_ICE; then " \
|
||||
"setenv fdtfile am335x-icev2.dtb; fi; " \
|
||||
"if test $fdtfile = undefined; then " \
|
||||
"echo WARNING: Could not determine device tree to use; fi; \0" \
|
||||
"init_console=" \
|
||||
"if test $board_name = A335_ICE; then "\
|
||||
"setenv console ttyO3,115200n8;" \
|
||||
"else " \
|
||||
"setenv console ttyO0,115200n8;" \
|
||||
"fi;\0" \
|
||||
NANDARGS \
|
||||
NETARGS \
|
||||
DFUARGS \
|
||||
|
|
Loading…
Add table
Reference in a new issue