xref: /openbmc/u-boot/arch/arm/mach-aspeed/Kconfig (revision 43e9f5a67df026ac596a04e3326e66898d8fbee5)
14697abeaSmaxims@google.comif ARCH_ASPEED
24697abeaSmaxims@google.com
34697abeaSmaxims@google.comconfig SYS_ARCH
44697abeaSmaxims@google.com	default "arm"
54697abeaSmaxims@google.com
64697abeaSmaxims@google.comconfig SYS_SOC
74697abeaSmaxims@google.com	default "aspeed"
84697abeaSmaxims@google.com
94697abeaSmaxims@google.comconfig SYS_TEXT_BASE
104697abeaSmaxims@google.com	default 0x00000000
114697abeaSmaxims@google.com
123ceef17cSChia-Wei, Wangchoice
133ceef17cSChia-Wei, Wang	prompt "Aspeed SoC select"
143ceef17cSChia-Wei, Wang	depends on ARCH_ASPEED
153ceef17cSChia-Wei, Wang	default ASPEED_AST2500
163ceef17cSChia-Wei, Wang
17fd0bc623Sryan_chenconfig ASPEED_AST2400
18fd0bc623Sryan_chen        bool "Support Aspeed AST2400 SoC"
19fd0bc623Sryan_chen        select CPU_ARM926EJS
20fd0bc623Sryan_chen        help
21fd0bc623Sryan_chen          The Aspeed AST2400 is a ARM-based SoC with arm926ejs CPU.
22fd0bc623Sryan_chen          It is used as Board Management Controller on many server boards,
23fd0bc623Sryan_chen          which is enabled by support of LPC and eSPI peripherals.
24fd0bc623Sryan_chen
254697abeaSmaxims@google.comconfig ASPEED_AST2500
264697abeaSmaxims@google.com	bool "Support Aspeed AST2500 SoC"
274697abeaSmaxims@google.com	select CPU_ARM1176
282fba6ba0SChia-Wei, Wang	select SUPPORT_SPL
294697abeaSmaxims@google.com	help
304697abeaSmaxims@google.com	  The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU.
314697abeaSmaxims@google.com	  It is used as Board Management Controller on many server boards,
324697abeaSmaxims@google.com	  which is enabled by support of LPC and eSPI peripherals.
334697abeaSmaxims@google.com
34b9553986Sryan_chenconfig ASPEED_AST2600
35b9553986Sryan_chen	bool "Support Aspeed AST2600 SoC"
36b9553986Sryan_chen	select CPU_V7A
37b9553986Sryan_chen	select CPU_V7_HAS_NONSEC
38b9553986Sryan_chen	select ARCH_SUPPORT_PSCI
393ceef17cSChia-Wei, Wang	select SYS_ARCH_TIMER
40b0a2e3f1SChia-Wei, Wang	select SUPPORT_SPL
4181471603SJohnny Huang	select ENABLE_ARM_SOC_BOOT0_HOOK
42b9553986Sryan_chen	help
43b9553986Sryan_chen	  The Aspeed AST2600 is a ARM-based SoC with Cortex-A7 CPU.
44b9553986Sryan_chen	  It is used as Board Management Controller on many server boards,
45b9553986Sryan_chen	  which is enabled by support of LPC and eSPI peripherals.
463ceef17cSChia-Wei, Wangendchoice
47b9553986Sryan_chen
48*43e9f5a6SZev Weissconfig ASPEED_ALLOW_DANGEROUS_BACKDOORS
49*43e9f5a6SZev Weiss	bool "Expose options enabling dangerous Aspeed hardware backdoors"
50*43e9f5a6SZev Weiss	help
51*43e9f5a6SZev Weiss	  This option exposes configuration settings that create
52*43e9f5a6SZev Weiss	  critical security vulnerabilities by enabling dangerous
53*43e9f5a6SZev Weiss	  hardware backdoors in Aspeed BMCs.  Enable it only if
54*43e9f5a6SZev Weiss	  absolutely required for a specific system or for debugging
55*43e9f5a6SZev Weiss	  during development.
56*43e9f5a6SZev Weiss
57*43e9f5a6SZev Weissif ASPEED_ALLOW_DANGEROUS_BACKDOORS
58*43e9f5a6SZev Weiss
59*43e9f5a6SZev Weissconfig ASPEED_ENABLE_SUPERIO
60*43e9f5a6SZev Weiss	bool "Enable built-in AST2x00 Super I/O hardware"
61*43e9f5a6SZev Weiss	depends on ASPEED_AST2400 || ASPEED_AST2500
62*43e9f5a6SZev Weiss	help
63*43e9f5a6SZev Weiss	  The Aspeed AST2400 and AST2500 include a built-in Super I/O
64*43e9f5a6SZev Weiss	  device that is normally disabled; say Y here to enable it.
65*43e9f5a6SZev Weiss
66*43e9f5a6SZev Weiss	  WARNING: this has serious security implications: it grants
67*43e9f5a6SZev Weiss	  the host read access to the BMC's entire address space.
68*43e9f5a6SZev Weiss	  This should thus be left disabled unless required by a
69*43e9f5a6SZev Weiss	  specific system.
70*43e9f5a6SZev Weiss
71*43e9f5a6SZev Weissconfig ASPEED_ENABLE_DEBUG_UART
72*43e9f5a6SZev Weiss	bool "Enable AST2500 hardware debug UART"
73*43e9f5a6SZev Weiss	depends on ASPEED_AST2500
74*43e9f5a6SZev Weiss	help
75*43e9f5a6SZev Weiss	  The Aspeed AST2500 include a hardware-supported, UART-based
76*43e9f5a6SZev Weiss	  debug interface that is normally disabled; say Y here to
77*43e9f5a6SZev Weiss	  enable it.
78*43e9f5a6SZev Weiss
79*43e9f5a6SZev Weiss	  Note that this has security implications: the debug UART
80*43e9f5a6SZev Weiss	  provides read/write access to the BMC's entire address
81*43e9f5a6SZev Weiss	  space.  This should thus be left disabled on production
82*43e9f5a6SZev Weiss	  systems, but may be useful to enable for debugging during
83*43e9f5a6SZev Weiss	  development.
84*43e9f5a6SZev Weiss
85*43e9f5a6SZev Weissendif
86*43e9f5a6SZev Weiss
87cff1d497SChia-Wei, Wangconfig ASPEED_PALLADIUM
88cff1d497SChia-Wei, Wang	bool "Aspeed palladium for simulation"
89cff1d497SChia-Wei, Wang	default n
90cff1d497SChia-Wei, Wang	help
91cff1d497SChia-Wei, Wang	  Say Y here to enable palladium build for simulation.
92cff1d497SChia-Wei, Wang
93cff1d497SChia-Wei, Wang	  This is mainly for internal verification and investigation
94cff1d497SChia-Wei, Wang	  on HW design. If not sure, say N.
95cff1d497SChia-Wei, Wang
9615461080SRyan Chenconfig ASPEED_SSP_RERV_MEM
9715461080SRyan Chen	hex "Reserve memory for SSP"
9815461080SRyan Chen	default 0x0
9915461080SRyan Chen	help
10015461080SRyan Chen	  The size in bytes of reserve memory for ASPEED SoC SSP run.
10115461080SRyan Chen
10251b227c8SChin-Ting Kuoconfig ASPEED_DEFAULT_SPI_FREQUENCY
10351b227c8SChin-Ting Kuo	bool "Using default SPI clock frequency"
10451b227c8SChin-Ting Kuo	default n
10551b227c8SChin-Ting Kuo	help
10651b227c8SChin-Ting Kuo	  Using default SPI clock frequency during
10751b227c8SChin-Ting Kuo	  early booting up progress.
10851b227c8SChin-Ting Kuo
109fd0bc623Sryan_chensource "arch/arm/mach-aspeed/ast2400/Kconfig"
11014e4b149Smaxims@google.comsource "arch/arm/mach-aspeed/ast2500/Kconfig"
111b9553986Sryan_chensource "arch/arm/mach-aspeed/ast2600/Kconfig"
112b9553986Sryan_chen
1134697abeaSmaxims@google.comendif
114