mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
include: configs: Update env for selecting right dtb
Now that single defconfig can be used for booting J721E EVM and SK, default device tree will not work for selecting dtb for kernel. Update the findfdt env to select right dtb based on board_name env variable. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com>
This commit is contained in:
parent
8e0758aa6e
commit
0ca9f70423
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@
|
|||
"default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \
|
||||
"findfdt=" \
|
||||
"setenv name_fdt ${default_device_tree};" \
|
||||
"if test $board_name = j721e; then " \
|
||||
"setenv name_fdt k3-j721e-common-proc-board.dtb; fi;" \
|
||||
"if test $board_name = j721e-eaik || test $board_name = j721e-sk; then " \
|
||||
"setenv name_fdt k3-j721e-sk.dtb; fi;" \
|
||||
"setenv fdtfile ${name_fdt}\0" \
|
||||
"name_kern=Image\0" \
|
||||
"console=ttyS2,115200n8\0" \
|
||||
|
|
Loading…
Add table
Reference in a new issue