summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-aspeed
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2016-03-21 17:22:31 +1030
committerJoel Stanley <joel@jms.id.au>2016-05-09 17:41:14 +0930
commit8c2ed9bcfbeb7f313b567b25e87effd75e7dc3d6 (patch)
tree271fd85292c40e71b6bc7b5502db9ee880a74f55 /arch/arm/mach-aspeed
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff)
downloadlinux-0-day-8c2ed9bcfbeb7f313b567b25e87effd75e7dc3d6.tar.gz
linux-0-day-8c2ed9bcfbeb7f313b567b25e87effd75e7dc3d6.tar.xz
arm: Add Aspeed machine
Aspeed devices are a common Baseboard Management Controller (BMC) system on chip containing an ARM9 or ARM11 core, off-chip DDR RAM and support for a large number of peripherals. This patch adds basic support for the ast2400 and ast2500 machines, capable of booting to a prompt in QEMU (-M palmetto-bmc), on an Palmetto OpenPower development machine, and on the ast2500 EVB. Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/mach-aspeed')
-rw-r--r--arch/arm/mach-aspeed/Kconfig30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
new file mode 100644
index 0000000000000..5225fbcb250de
--- /dev/null
+++ b/arch/arm/mach-aspeed/Kconfig
@@ -0,0 +1,30 @@
+menuconfig ARCH_ASPEED
+ bool "Aspeed BMC architectures"
+ depends on ARCH_MULTI_V5 || ARCH_MULTI_V6
+ select SRAM
+ select WATCHDOG
+ select ASPEED_WATCHDOG
+ select MOXART_TIMER
+ help
+ Say Y here if you want to run your kernel on an ASpeed BMC SoC.
+
+if ARCH_ASPEED
+
+config MACH_ASPEED_G4
+ bool "Aspeed SoC 4th Generation"
+ depends on ARCH_MULTI_V5
+ select CPU_ARM926T
+ help
+ Say yes if you intend to run on an Aspeed ast2400 or similar
+ fourth generation BMCs, such as those used by OpenPower Power8
+ systems.
+
+config MACH_ASPEED_G5
+ bool "Aspeed SoC 5th Generation"
+ depends on ARCH_MULTI_V6
+ select CPU_V6
+ help
+ Say yes if you intend to run on an Aspeed ast2500 or similar
+ fifth generation Aspeed BMCs.
+
+endif