mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-01 00:23:29 +08:00
ti_omap5_common: Find right dtb file for DRA72-RevC Evm
DRA72-Evm revC uses dra72-evm-revc.dtb. Update the same in env vatiables. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
This commit is contained in:
parent
4632739202
commit
df6b506f16
@ -413,10 +413,14 @@ int board_late_init(void)
|
||||
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
||||
char *name = "unknown";
|
||||
|
||||
if (is_dra72x())
|
||||
name = "dra72x";
|
||||
else
|
||||
if (is_dra72x()) {
|
||||
if (board_is_dra72x_revc_or_later())
|
||||
name = "dra72x-revc";
|
||||
else
|
||||
name = "dra72x";
|
||||
} else {
|
||||
name = "dra7xx";
|
||||
}
|
||||
|
||||
set_board_info_env(name);
|
||||
|
||||
|
@ -100,6 +100,8 @@
|
||||
"setenv fdtfile omap5-uevm.dtb; fi; " \
|
||||
"if test $board_name = dra7xx; then " \
|
||||
"setenv fdtfile dra7-evm.dtb; fi;" \
|
||||
"if test $board_name = dra72x-revc; then " \
|
||||
"setenv fdtfile dra72-evm-revc.dtb; fi;" \
|
||||
"if test $board_name = dra72x; then " \
|
||||
"setenv fdtfile dra72-evm.dtb; fi;" \
|
||||
"if test $board_name = beagle_x15; then " \
|
||||
|
Loading…
Reference in New Issue
Block a user