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