]> git.ipfire.org Git - thirdparty/u-boot.git/commit
riscv: set fdtfile on VisionFive 2
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Thu, 7 Sep 2023 11:21:28 +0000 (13:21 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Wed, 20 Sep 2023 12:50:50 +0000 (20:50 +0800)
commitc5172c10f669f935d71d5bdb4d7296eeffc717d0
treea309b4652b35e0de3d39db549ee80662b0c5b241
parentc58ee1c9946a1550b1f6fee2b25da9ecc89baf71
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>
arch/riscv/Kconfig
board/starfive/visionfive2/starfive_visionfive2.c