]> git.baikalelectronics.ru Git - uboot.git/commit
odroid_xu3: Fix board environment variable
authorTom Rini <trini@konsulko.com>
Wed, 8 Jun 2022 18:30:14 +0000 (14:30 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 16 Jun 2022 19:22:55 +0000 (15:22 -0400)
commit417ae89fd530c75da031e5c8eaefe6a5b49e4c89
tree195c5bfb90a03d7b1d349856f70d8907118bff07
parentff2f4533a718909e23168265571ddb97611359d9
odroid_xu3: Fix board environment variable

When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed
what "board" evaluated to in the environment.  This in turn meant that
we would no longer try and find the correct fdtfile via the normal
distro boot logic.  Fix this by overriding board in the default
environment, as done on other platforms where CONFIG_SYS_BOARD is not
what we want to be in the board environment variable.

Fixes: c5f2676bcefb ("Convert CONFIG_CONS_INDEX et al to Kconfig")
Reported-by: Gabriel Hojda <ghojda@yo2urs.ro>
Tested-by: Gabriel Hojda <ghojda@yo2urs.ro>
Signed-off-by: Tom Rini <trini@konsulko.com>
include/configs/odroid_xu3.h