diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2023-09-07 13:21:28 +0200 |
---|---|---|
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | 2023-09-26 10:43:02 +0800 |
commit | 16dbe3d9d45527f67d479535a22dc4054ae93e99 (patch) | |
tree | aaee8dd0669563e3d9d2ca9b69a6da5c86035084 /arch | |
parent | 15155ab0a3d1f839509bcac620bfb38f950bead6 (diff) | |
download | u-boot-16dbe3d9d45527f67d479535a22dc4054ae93e99.tar.gz u-boot-16dbe3d9d45527f67d479535a22dc4054ae93e99.tar.bz2 u-boot-16dbe3d9d45527f67d479535a22dc4054ae93e99.zip |
riscv: set fdtfile on VisionFive 2
Multiple revisions of the StarFive VisionFive 2 board exist. They can be
identified by reading their EEPROM.
Linux uses two differently named device-tree files. To load the correct
device-tree we need to set $fdtfile to the device-tree file name that
matches the board revision.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Tested-by: Milan P. Stanić <mps@arvanta.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/riscv/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 6771d8d919..1c62c2345b 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -26,6 +26,7 @@ config TARGET_SIFIVE_UNMATCHED config TARGET_STARFIVE_VISIONFIVE2 bool "Support StarFive VisionFive2 Board" + select BOARD_LATE_INIT config TARGET_TH1520_LPI4A bool "Support Sipeed's TH1520 Lichee PI 4A Board" |