xref: /openbmc/u-boot/arch/arm/mach-aspeed/Kconfig (revision 936f575e)
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_AST2500
18	bool "Support Aspeed AST2500 SoC"
19	select CPU_ARM1176
20	select SUPPORT_SPL
21	help
22	  The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU.
23	  It is used as Board Management Controller on many server boards,
24	  which is enabled by support of LPC and eSPI peripherals.
25
26config ASPEED_AST2600
27	bool "Support Aspeed AST2600 SoC"
28	select CPU_V7A
29	select CPU_V7_HAS_NONSEC
30	select ARCH_SUPPORT_PSCI
31	select SYS_ARCH_TIMER
32	select SUPPORT_SPL
33	help
34	  The Aspeed AST2600 is a ARM-based SoC with Cortex-A7 CPU.
35	  It is used as Board Management Controller on many server boards,
36	  which is enabled by support of LPC and eSPI peripherals.
37endchoice
38
39config ASPEED_PALLADIUM
40	bool "Aspeed palladium for simulation"
41	default n
42	help
43	  Say Y here to enable palladium build for simulation.
44
45	  This is mainly for internal verification and investigation
46	  on HW design. If not sure, say N.
47
48config ASPEED_SECURE_BOOT
49	bool "Support Aspeed secure boot feature"
50	depends on SPL && ASPEED_AST2600
51	select ENABLE_ARM_SOC_BOOT0_HOOK
52	select CMD_BOOTS
53	help
54	  This option enables the support for secure boot.
55
56config ASPEED_SECURE_BOOT_DEBUG
57	bool "Enable debug support with secure boot"
58	default y
59	depends on ASPEED_SECURE_BOOT
60	help
61	  This option allows the bootm command use
62
63config ASPEED_UBOOT_SPI_BASE
64	hex "U-Boot SPI base address"
65	default 0x0
66	help
67	  The base address of the U-Boot image in
68	  the memory mapped SPI space
69
70config ASPEED_UBOOT_SPI_SIZE
71	hex "U-Boot SPI size in bytes"
72	default 0x0
73	help
74	  The size in bytes of the U-Boot image in
75	  the memory mapped SPI space
76
77config ASPEED_UBOOT_MMC_BASE
78	hex "U-Boot eMMC base block"
79	default 0x0
80	help
81	  The base block number of the U-Boot
82	  image in the eMMC device
83
84config ASPEED_UBOOT_MMC_SIZE
85	hex "U-Boot eMMC size in blocks"
86	default 0x0
87	help
88	  The size in block count of the U-Boot
89	  image in the eMMC device
90
91config ASPEED_UBOOT_UART_SIZE
92	hex "U-Boot UART size in bytes"
93	default 0x0
94	help
95	  The size of U-Boot image to be recevied
96	  from UART device
97
98config ASPEED_UBOOT_DRAM_BASE
99	hex "U-Boot DRAM base address"
100	default 0x0
101	help
102	  The DRAM address where the U-Boot image
103	  will be loaded if XIP is not supported
104
105config ASPEED_KERNEL_FIT_SPI_BASE
106	hex "Kernel FIT SPI base address"
107	default 0x0
108	help
109	  The base address of the kernel FIT image in
110	  the memory mapped SPI space
111
112config ASPEED_KERNEL_FIT_SPI_SIZE
113	hex "Kernel FIT SPI size in bytes"
114	default 0x0
115	help
116	  The size in bytes of the kernel FIT image in
117	  the memory mapped SPI space
118
119config ASPEED_KERNEL_FIT_MMC_BASE
120	hex "Kernel FIT eMMC base block #"
121	default 0x0
122	help
123	  The base block number of the kernel FIT
124	  image in the eMMC device
125
126config ASPEED_KERNEL_FIT_MMC_SIZE
127	hex "Kernel FIT eMMC size in blocks"
128	default 0x0
129	help
130	  The size in block count of the kernel FIT
131	  image in the eMMC device
132
133config ASPEED_KERNEL_FIT_DRAM_BASE
134	hex "Kernel FIT DRAM base address"
135	default 0x0
136	help
137	  The DRAM address where the Kernel FIT image
138	  will be loaded if XIP is not supported
139
140source "arch/arm/mach-aspeed/ast2500/Kconfig"
141source "arch/arm/mach-aspeed/ast2600/Kconfig"
142
143endif
144