xref: /openbmc/u-boot/arch/arm/mach-aspeed/Kconfig (revision fbcd0575)
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
86config ASPEED_DEFAULT_SPI_FREQUENCY
87	bool "Using default SPI clock frequency"
88	default n
89	help
90	  Using default SPI clock frequency during
91	  early booting up progress.
92
93if ASPEED_LOADERS
94
95config ASPEED_UBOOT_MMC_PART
96	int "U-Boot eMMC partition"
97	default 0
98	help
99	  The partition number of the U-Boot
100	  image in the eMMC device. This is not
101	  the user data partition number.
102
103config ASPEED_UBOOT_SPI_BASE
104	hex "U-Boot SPI base address"
105	default 0x0
106	help
107	  The base address of the U-Boot image in
108	  the memory mapped SPI space
109
110config ASPEED_UBOOT_SPI_SIZE
111	hex "U-Boot SPI size in bytes"
112	default 0x0
113	help
114	  The size in bytes of the U-Boot image in
115	  the memory mapped SPI space
116
117config ASPEED_UBOOT_MMC_BASE
118	hex "U-Boot eMMC base block"
119	default 0x0
120	help
121	  The base block number of the U-Boot
122	  image in the eMMC device
123
124config ASPEED_UBOOT_MMC_SIZE
125	hex "U-Boot eMMC size in blocks"
126	default 0x0
127	help
128	  The size in block count of the U-Boot
129	  image in the eMMC device
130
131config ASPEED_UBOOT_UART_SIZE
132	hex "U-Boot UART size in bytes"
133	default 0x0
134	help
135	  The size of U-Boot image to be recevied
136	  from UART device
137
138config ASPEED_UBOOT_DRAM_BASE
139	hex "U-Boot DRAM base address"
140	default 0x0
141	help
142	  The DRAM address where the U-Boot image
143	  will be loaded if XIP is not supported
144
145config ASPEED_KERNEL_FIT_SPI_BASE
146	hex "Kernel FIT SPI base address"
147	default 0x0
148	help
149	  The base address of the kernel FIT image in
150	  the memory mapped SPI space
151
152config ASPEED_KERNEL_FIT_SPI_SIZE
153	hex "Kernel FIT SPI size in bytes"
154	default 0x0
155	help
156	  The size in bytes of the kernel FIT image in
157	  the memory mapped SPI space
158
159config ASPEED_KERNEL_FIT_MMC_BASE
160	hex "Kernel FIT eMMC base block #"
161	default 0x0
162	help
163	  The base block number of the kernel FIT
164	  image in the eMMC device
165
166config ASPEED_KERNEL_FIT_MMC_SIZE
167	hex "Kernel FIT eMMC size in blocks"
168	default 0x0
169	help
170	  The size in block count of the kernel FIT
171	  image in the eMMC device
172
173config ASPEED_KERNEL_FIT_DRAM_BASE
174	hex "Kernel FIT DRAM base address"
175	default 0x0
176	help
177	  The DRAM address where the Kernel FIT image
178	  will be loaded if XIP is not supported
179
180endif
181
182source "arch/arm/mach-aspeed/ast2400/Kconfig"
183source "arch/arm/mach-aspeed/ast2500/Kconfig"
184source "arch/arm/mach-aspeed/ast2600/Kconfig"
185
186endif
187