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