[PATCH 1/1] riscv: set fdtfile on VisionFive 2

Leo Liang ycliang at andestech.com
Wed Sep 13 13:25:47 CEST 2023


On Thu, Sep 07, 2023 at 01:21:28PM +0200, Heinrich Schuchardt wrote:
> 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 at canonical.com>
> ---
>  arch/riscv/Kconfig                            |  1 +
>  .../visionfive2/starfive_visionfive2.c        | 43 ++++++++++++++++++-
>  2 files changed, 42 insertions(+), 2 deletions(-)

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list