mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
sunxi: decide the inclusion of SCP by SCP_ADDR existence
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@sipeed.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
This commit is contained in:
parent
1ebfc0c631
commit
001ec430be
1 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue