summaryrefslogtreecommitdiff
path: root/include/configs/sun8i.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-08-30 07:22:23 (GMT)
committerTom Rini <trini@konsulko.com>2016-09-07 12:48:54 (GMT)
commit1544698816a32284947322d0f0fe1478a9b65ad3 (patch)
tree603f550029a8674ff2b03b226edcc7979cdc44d4 /include/configs/sun8i.h
parent217f92bb79ea43df4d0fe47e31c28c01c721ad87 (diff)
downloadu-boot-1544698816a32284947322d0f0fe1478a9b65ad3.tar.xz
ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig
Move this option to Kconfig and set its default value to 4; this increases the number of supported CPUs for some boards. It consumes 1KB memory per CPU for PSCI stack, but it should not be a big deal, given the amount of memory used for the modern OSes. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'include/configs/sun8i.h')
-rw-r--r--include/configs/sun8i.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 151ffdc..011d70f 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -26,18 +26,6 @@
#define CONFIG_SUNXI_USB_PHYS 2
#endif
-#ifndef CONFIG_MACH_SUN8I_A83T
-#if defined(CONFIG_MACH_SUN8I_A23)
-#define CONFIG_ARMV7_PSCI_NR_CPUS 2
-#elif defined(CONFIG_MACH_SUN8I_A33)
-#define CONFIG_ARMV7_PSCI_NR_CPUS 4
-#elif defined(CONFIG_MACH_SUN8I_H3)
-#define CONFIG_ARMV7_PSCI_NR_CPUS 4
-#else
-#error Unsupported sun8i variant
-#endif
-#endif
-
/*
* Include common sunxi configuration where most the settings are
*/