[PATCH 1/1] sunxi: use vendor prefix for $fdtfile on RISC-V too
Andre Przywara
andre.przywara at arm.com
Mon Apr 27 11:20:20 CEST 2026
Hi Heinrich,
On 4/15/26 23:21, Heinrich Schuchardt wrote:
> Once we complete the support for RISC-V Allwinner D1 (sun20i), we will need
> to prefix $fdtfile with the vendor prefix to match the Linux device-tree
> directory structure.
Not sure we really need this now, but it doesn't hurt either, so I take it.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>Hi
Acked-by: Andre Przywara <andre.przywara at arm.com>
> ---
> Some work on sun20i in https://github.com/smaeul/u-boot/tree/d1-wip still
> needs to be ported to upstream.
Well, not sure there is much movement in this. The D1 SoC has lost quite
some interest, it seems, both from the Allwinner and the community side.
Plus I am not really a fan of the DM_SPL approach taken in this patch
set, in particular not if there are no active testers and users.
So I am bit skeptical that upstream support will still happen at this point.
Cheers,
Andre
> ---
> include/configs/sunxi-common.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
> index b29a25d5617..49d5617f028 100644
> --- a/include/configs/sunxi-common.h
> +++ b/include/configs/sunxi-common.h
> @@ -280,7 +280,7 @@
> CONSOLE_STDIN_SETTINGS \
> CONSOLE_STDOUT_SETTINGS
>
> -#ifdef CONFIG_ARM64
> +#if defined(CONFIG_ARM64) || defined(CONFIG_RISCV)
> #define FDTFILE "allwinner/" CONFIG_DEFAULT_DEVICE_TREE ".dtb"
> #else
> #define FDTFILE CONFIG_DEFAULT_DEVICE_TREE ".dtb"
More information about the U-Boot
mailing list