[RFC PATCH 01/13] sunxi: decide the inclusion of SCP by SCP_ADDR existence
Andre Przywara
andre.przywara at arm.com
Thu Jul 22 15:35:06 CEST 2021
On Thu, 22 Jul 2021 14:30:03 +0800
Icenowy Zheng <icenowy at sipeed.com> wrote:
> There are more Allwinner SoCs that do not have a SCP now.
>
> When there's no SCP_ADDR macro defined, we can assume there's no SCP
> available.
>
> Drop the scp part of FIT description when SCP_ADDR does not exist.
>
> Signed-off-by: Icenowy Zheng <icenowy at sipeed.com>
I like that one, unless someone screams, I will take ASAP.
Reviewed-by: Andre Przywara <andre.przywara at arm.com>
Cheers,
Andre
> ---
> arch/arm/dts/sunxi-u-boot.dtsi | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/dts/sunxi-u-boot.dtsi b/arch/arm/dts/sunxi-u-boot.dtsi
> index 06da009fa2..4a6ed3a7dd 100644
> --- a/arch/arm/dts/sunxi-u-boot.dtsi
> +++ b/arch/arm/dts/sunxi-u-boot.dtsi
> @@ -64,7 +64,7 @@
> };
> };
>
> -#ifndef CONFIG_MACH_SUN50I_H616
> +#ifdef SCP_ADDR
> scp {
> description = "SCP firmware";
> type = "firmware";
> @@ -92,7 +92,7 @@
> @config-SEQ {
> description = "NAME";
> firmware = "atf";
> -#ifdef CONFIG_MACH_SUN50I_H616
> +#ifndef SCP_ADDR
> loadables = "uboot";
> #else
> loadables = "scp", "uboot";
More information about the U-Boot
mailing list