xref: /openbmc/u-boot/arch/arm/mach-aspeed/Kconfig (revision b8233483)
1if ARCH_ASPEED
2
3config SYS_ARCH
4	default "arm"
5
6config SYS_SOC
7	default "aspeed"
8
9config SYS_TEXT_BASE
10	default 0x00000000
11
12choice
13	prompt "Aspeed SoC select"
14	depends on ARCH_ASPEED
15	default ASPEED_AST2500
16
17config ASPEED_AST2400
18        bool "Support Aspeed AST2400 SoC"
19        select CPU_ARM926EJS
20        help
21          The Aspeed AST2400 is a ARM-based SoC with arm926ejs CPU.
22          It is used as Board Management Controller on many server boards,
23          which is enabled by support of LPC and eSPI peripherals.
24
25config ASPEED_AST2500
26	bool "Support Aspeed AST2500 SoC"
27	select CPU_ARM1176
28	select SUPPORT_SPL
29	help
30	  The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU.
31	  It is used as Board Management Controller on many server boards,
32	  which is enabled by support of LPC and eSPI peripherals.
33
34config ASPEED_AST2600
35	bool "Support Aspeed AST2600 SoC"
36	select CPU_V7A
37	select CPU_V7_HAS_NONSEC
38	select ARCH_SUPPORT_PSCI
39	select SYS_ARCH_TIMER
40	select SUPPORT_SPL
41	select ENABLE_ARM_SOC_BOOT0_HOOK
42	help
43	  The Aspeed AST2600 is a ARM-based SoC with Cortex-A7 CPU.
44	  It is used as Board Management Controller on many server boards,
45	  which is enabled by support of LPC and eSPI peripherals.
46endchoice
47
48config ASPEED_PALLADIUM
49	bool "Aspeed palladium for simulation"
50	default n
51	help
52	  Say Y here to enable palladium build for simulation.
53
54	  This is mainly for internal verification and investigation
55	  on HW design. If not sure, say N.
56
57config ASPEED_SSP_RERV_MEM
58	hex "Reserve memory for SSP"
59	default 0x0
60	help
61	  The size in bytes of reserve memory for ASPEED SoC SSP run.
62
63config ASPEED_SECURE_BOOT
64	bool "Support Aspeed secure boot feature"
65	depends on SPL && ASPEED_AST2600
66	select ENABLE_ARM_SOC_BOOT0_HOOK
67	select CMD_BOOTS
68	help
69	  This option enables the support for secure boot.
70
71config ASPEED_SECURE_BOOT_DEBUG
72	bool "Enable debug support with secure boot"
73	default y
74	depends on ASPEED_SECURE_BOOT
75	help
76	  This option allows the bootm command use
77
78config ASPEED_LOADERS
79	bool "Aspeed custom loaders"
80	depends on SPL
81	default y
82	help
83	  Enable the custom payload loading methods used by ASPEED. This is requited to
84	  use ASPEED's proprietary secure boot feature.
85
86if ASPEED_LOADERS
87
88config ASPEED_UBOOT_MMC_PART
89	int "U-Boot eMMC partition"
90	default 0
91	help
92	  The partition number of the U-Boot
93	  image in the eMMC device. This is not
94	  the user data partition number.
95
96config ASPEED_UBOOT_SPI_BASE
97	hex "U-Boot SPI base address"
98	default 0x0
99	help
100	  The base address of the U-Boot image in
101	  the memory mapped SPI space
102
103config ASPEED_UBOOT_SPI_SIZE
104	hex "U-Boot SPI size in bytes"
105	default 0x0
106	help
107	  The size in bytes of the U-Boot image in
108	  the memory mapped SPI space
109
110config ASPEED_UBOOT_MMC_BASE
111	hex "U-Boot eMMC base block"
112	default 0x0
113	help
114	  The base block number of the U-Boot
115	  image in the eMMC device
116
117config ASPEED_UBOOT_MMC_SIZE
118	hex "U-Boot eMMC size in blocks"
119	default 0x0
120	help
121	  The size in block count of the U-Boot
122	  image in the eMMC device
123
124config ASPEED_UBOOT_UART_SIZE
125	hex "U-Boot UART size in bytes"
126	default 0x0
127	help
128	  The size of U-Boot image to be recevied
129	  from UART device
130
131config ASPEED_UBOOT_DRAM_BASE
132	hex "U-Boot DRAM base address"
133	default 0x0
134	help
135	  The DRAM address where the U-Boot image
136	  will be loaded if XIP is not supported
137
138config ASPEED_KERNEL_FIT_SPI_BASE
139	hex "Kernel FIT SPI base address"
140	default 0x0
141	help
142	  The base address of the kernel FIT image in
143	  the memory mapped SPI space
144
145config ASPEED_KERNEL_FIT_SPI_SIZE
146	hex "Kernel FIT SPI size in bytes"
147	default 0x0
148	help
149	  The size in bytes of the kernel FIT image in
150	  the memory mapped SPI space
151
152config ASPEED_KERNEL_FIT_MMC_BASE
153	hex "Kernel FIT eMMC base block #"
154	default 0x0
155	help
156	  The base block number of the kernel FIT
157	  image in the eMMC device
158
159config ASPEED_KERNEL_FIT_MMC_SIZE
160	hex "Kernel FIT eMMC size in blocks"
161	default 0x0
162	help
163	  The size in block count of the kernel FIT
164	  image in the eMMC device
165
166config ASPEED_KERNEL_FIT_DRAM_BASE
167	hex "Kernel FIT DRAM base address"
168	default 0x0
169	help
170	  The DRAM address where the Kernel FIT image
171	  will be loaded if XIP is not supported
172
173endif
174
175source "arch/arm/mach-aspeed/ast2400/Kconfig"
176source "arch/arm/mach-aspeed/ast2500/Kconfig"
177source "arch/arm/mach-aspeed/ast2600/Kconfig"
178
179endif
180