diff options
author | Nishanth Menon <nm@ti.com> | 2023-01-04 10:21:41 -0600 |
---|---|---|
committer | Anand Gadiyar <gadiyar@ti.com> | 2023-01-11 17:21:08 -0600 |
commit | 73a2f2993b9910054785512fba9ddaa6913b9ed5 (patch) | |
tree | f11d9141ae26fcc4cde39ad7acad2d559a039ddf /include | |
parent | e211ba3daa0cbdd8d091ae9f425154eb6af716a2 (diff) |
include: am62x_evm: Fix u-boot find_fdt function to identify skevm
Don't depend on default_device_tree variable as the only scheme to detect
the board name.
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/am62x_evm.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h index dbcca9e237..f66e616693 100644 --- a/include/configs/am62x_evm.h +++ b/include/configs/am62x_evm.h @@ -78,6 +78,10 @@ "default_device_tree=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ "findfdt=" \ "setenv name_fdt ${default_device_tree};" \ + "if test $board_name = am62x_skevm; then " \ + "setenv name_fdt k3-am625-sk.dtb; fi;" \ + "if test $board_name = am62x_lp_skevm; then " \ + "setenv name_fdt k3-am62x-lp-sk.dtb; fi;" \ "setenv fdtfile ${name_fdt}\0" \ "name_kern=Image\0" \ "console=ttyS2,115200n8\0" \ |