]> git.baikalelectronics.ru Git - uboot.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>
Tue, 26 Sep 2023 02:43:02 +0000 (10:43 +0800)
commit3de4675e30468d0aec27f48d1495b02f84054dde
treeaaee8dd0669563e3d9d2ca9b69a6da5c86035084
parentbc93db0c76f1e7dc7abd16132757d7cdffba2f2b
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>
arch/riscv/Kconfig
board/starfive/visionfive2/starfive_visionfive2.c