diff --git a/plat/allwinner/sun50i_a64/platform.mk b/plat/allwinner/sun50i_a64/platform.mk index e3c7c529b..cced7f0b7 100644 --- a/plat/allwinner/sun50i_a64/platform.mk +++ b/plat/allwinner/sun50i_a64/platform.mk @@ -4,6 +4,10 @@ # SPDX-License-Identifier: BSD-3-Clause # +# To report supported idle states +# this has to be defined before allwinner-common.mk +SUNXI_AMEND_DTB := 1 + # The differences between the platform are covered by the include files. include plat/allwinner/common/allwinner-common.mk diff --git a/plat/allwinner/sun50i_a64/platform_defaults.mk b/plat/allwinner/sun50i_a64/platform_defaults.mk new file mode 100644 index 000000000..5b61029c6 --- /dev/null +++ b/plat/allwinner/sun50i_a64/platform_defaults.mk @@ -0,0 +1,9 @@ +# +# Copyright (c) 2024, ARM Limited and Contributors. All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause +# + +# LTO has to be enabled on this platform due to memory constraints +ENABLE_LTO := 1 +