summaryrefslogtreecommitdiff
path: root/arch/arm/lib/bootm-fdt.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2015-04-21 05:18:24 (GMT)
committerTom Warren <twarren@nvidia.com>2015-05-13 16:24:13 (GMT)
commit104d6fb6cd064c4c9278e5b6fdf99ac025597753 (patch)
tree4f4d0a9b79588fac3b9a778674290975c03bcebe /arch/arm/lib/bootm-fdt.c
parent86bd20b007daa32c1c20486ec9927ef6241c84bf (diff)
downloadu-boot-fsl-qoriq-104d6fb6cd064c4c9278e5b6fdf99ac025597753.tar.xz
ARM: Clean up CONFIG_ARMV7_NONSEC/VIRT/PSCI conditions
CONFIG_ARMV7_VIRT depends on CONFIG_ARMV7_NONSEC, thus doesn't need to be taken into account additionally. CONFIG_ARMV7_PSCI is only set on boards that support CONFIG_ARMV7_NONSEC, and it only works on those. CC: Tang Yuantian <Yuantian.Tang@freescale.com> CC: York Sun <yorksun@freescale.com> CC: Steve Rae <srae@broadcom.com> CC: Andre Przywara <andre.przywara@linaro.org> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Tested-by: Alison Wang <alison.wang@freescale.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'arch/arm/lib/bootm-fdt.c')
-rw-r--r--arch/arm/lib/bootm-fdt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/bootm-fdt.c b/arch/arm/lib/bootm-fdt.c
index 665a3bc..49ba691 100644
--- a/arch/arm/lib/bootm-fdt.c
+++ b/arch/arm/lib/bootm-fdt.c
@@ -34,7 +34,7 @@ int arch_fixup_fdt(void *blob)
}
ret = fdt_fixup_memory_banks(blob, start, size, CONFIG_NR_DRAM_BANKS);
-#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT)
+#ifdef CONFIG_ARMV7_NONSEC
if (ret)
return ret;