diff options
author | Joel Stanley <joel@jms.id.au> | 2016-03-21 02:52:31 -0400 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2016-05-09 04:11:14 -0400 |
commit | 8c2ed9bcfbeb7f313b567b25e87effd75e7dc3d6 (patch) | |
tree | 271fd85292c40e71b6bc7b5502db9ee880a74f55 | |
parent | bf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff) |
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>
-rw-r--r-- | MAINTAINERS | 7 | ||||
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-aspeed/Kconfig | 30 |
3 files changed, 39 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 61a323a6b2cf..e727935fdf04 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -975,6 +975,13 @@ F: arch/arm/mach-artpec | |||
975 | F: arch/arm/boot/dts/artpec6* | 975 | F: arch/arm/boot/dts/artpec6* |
976 | F: drivers/clk/clk-artpec6.c | 976 | F: drivers/clk/clk-artpec6.c |
977 | 977 | ||
978 | ARM/ASPEED MACHINE SUPPORT | ||
979 | M: Joel Stanley <joel@jms.id.au> | ||
980 | S: Maintained | ||
981 | F: arch/arm/mach-aspeed/ | ||
982 | F: arch/arm/boot/dts/aspeed-* | ||
983 | F: drivers/*/*aspeed* | ||
984 | |||
978 | ARM/ATMEL AT91RM9200, AT91SAM9 AND SAMA5 SOC SUPPORT | 985 | ARM/ATMEL AT91RM9200, AT91SAM9 AND SAMA5 SOC SUPPORT |
979 | M: Nicolas Ferre <nicolas.ferre@atmel.com> | 986 | M: Nicolas Ferre <nicolas.ferre@atmel.com> |
980 | M: Alexandre Belloni <alexandre.belloni@free-electrons.com> | 987 | M: Alexandre Belloni <alexandre.belloni@free-electrons.com> |
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index cdfa6c2b7626..c4512f6b77f6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -775,6 +775,8 @@ source "arch/arm/mach-meson/Kconfig" | |||
775 | 775 | ||
776 | source "arch/arm/mach-moxart/Kconfig" | 776 | source "arch/arm/mach-moxart/Kconfig" |
777 | 777 | ||
778 | source "arch/arm/mach-aspeed/Kconfig" | ||
779 | |||
778 | source "arch/arm/mach-mv78xx0/Kconfig" | 780 | source "arch/arm/mach-mv78xx0/Kconfig" |
779 | 781 | ||
780 | source "arch/arm/mach-imx/Kconfig" | 782 | source "arch/arm/mach-imx/Kconfig" |
diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig new file mode 100644 index 000000000000..5225fbcb250d --- /dev/null +++ b/arch/arm/mach-aspeed/Kconfig | |||
@@ -0,0 +1,30 @@ | |||
1 | menuconfig ARCH_ASPEED | ||
2 | bool "Aspeed BMC architectures" | ||
3 | depends on ARCH_MULTI_V5 || ARCH_MULTI_V6 | ||
4 | select SRAM | ||
5 | select WATCHDOG | ||
6 | select ASPEED_WATCHDOG | ||
7 | select MOXART_TIMER | ||
8 | help | ||
9 | Say Y here if you want to run your kernel on an ASpeed BMC SoC. | ||
10 | |||
11 | if ARCH_ASPEED | ||
12 | |||
13 | config MACH_ASPEED_G4 | ||
14 | bool "Aspeed SoC 4th Generation" | ||
15 | depends on ARCH_MULTI_V5 | ||
16 | select CPU_ARM926T | ||
17 | help | ||
18 | Say yes if you intend to run on an Aspeed ast2400 or similar | ||
19 | fourth generation BMCs, such as those used by OpenPower Power8 | ||
20 | systems. | ||
21 | |||
22 | config MACH_ASPEED_G5 | ||
23 | bool "Aspeed SoC 5th Generation" | ||
24 | depends on ARCH_MULTI_V6 | ||
25 | select CPU_V6 | ||
26 | help | ||
27 | Say yes if you intend to run on an Aspeed ast2500 or similar | ||
28 | fifth generation Aspeed BMCs. | ||
29 | |||
30 | endif | ||