xref: /openbmc/u-boot/arch/arm/mach-rockchip/Kconfig (revision 2c1e11dd52e7d1db79b33e3e4c2fded573b70a9d)
12444dae5SSimon Glassif ARCH_ROCKCHIP
22444dae5SSimon Glass
3041cdb5fSHeiko Stübnerconfig ROCKCHIP_RK3036
4041cdb5fSHeiko Stübner	bool "Support Rockchip RK3036"
5041cdb5fSHeiko Stübner	select CPU_V7
6a381bcf5SKever Yang	select SUPPORT_SPL
7a381bcf5SKever Yang	select SPL
8041cdb5fSHeiko Stübner	help
9041cdb5fSHeiko Stübner	  The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
10041cdb5fSHeiko Stübner	  including NEON and GPU, Mali-400 graphics, several DDR3 options
11041cdb5fSHeiko Stübner	  and video codec support. Peripherals include Gigabit Ethernet,
12041cdb5fSHeiko Stübner	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
13041cdb5fSHeiko Stübner
140a2be69fSHeiko Stübnerconfig ROCKCHIP_RK3188
150a2be69fSHeiko Stübner	bool "Support Rockchip RK3188"
160a2be69fSHeiko Stübner	select CPU_V7
170680f1b1SLey Foon Tan	select SPL_BOARD_INIT if SPL
180a2be69fSHeiko Stübner	select SUPPORT_SPL
190a2be69fSHeiko Stübner	select SUPPORT_TPL
200a2be69fSHeiko Stübner	select SPL
210a2be69fSHeiko Stübner	select TPL
22008a610bSHeiko Stübner	select BOARD_LATE_INIT
230a2be69fSHeiko Stübner	select ROCKCHIP_BROM_HELPER
240a2be69fSHeiko Stübner	help
250a2be69fSHeiko Stübner	  The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9
260a2be69fSHeiko Stübner	  including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two
270a2be69fSHeiko Stübner	  video interfaces, several memory options and video codec support.
280a2be69fSHeiko Stübner	  Peripherals include Fast Ethernet, USB2 host and OTG, SDIO, I2S,
290a2be69fSHeiko Stübner	  UART, SPI, I2C and PWMs.
300a2be69fSHeiko Stübner
312444dae5SSimon Glassconfig ROCKCHIP_RK3288
322444dae5SSimon Glass	bool "Support Rockchip RK3288"
33e0f5dbcbSAndreas Färber	select CPU_V7
340680f1b1SLey Foon Tan	select SPL_BOARD_INIT if SPL
35a381bcf5SKever Yang	select SUPPORT_SPL
36a381bcf5SKever Yang	select SPL
372444dae5SSimon Glass	help
382444dae5SSimon Glass	  The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
392444dae5SSimon Glass	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
402444dae5SSimon Glass	  video interfaces supporting HDMI and eDP, several DDR3 options
412444dae5SSimon Glass	  and video codec support. Peripherals include Gigabit Ethernet,
42ef904bf2SAndreas Färber	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
432444dae5SSimon Glass
4485a3cfb8SKever Yangconfig ROCKCHIP_RK3328
4585a3cfb8SKever Yang	bool "Support Rockchip RK3328"
4685a3cfb8SKever Yang	select ARM64
4785a3cfb8SKever Yang	help
4885a3cfb8SKever Yang	  The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
4985a3cfb8SKever Yang	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
5085a3cfb8SKever Yang	  video interfaces supporting HDMI and eDP, several DDR3 options
5185a3cfb8SKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
5285a3cfb8SKever Yang	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
5385a3cfb8SKever Yang
5437a0c600SAndreas Färberconfig ROCKCHIP_RK3368
5537a0c600SAndreas Färber	bool "Support Rockchip RK3368"
5637a0c600SAndreas Färber	select ARM64
5737a0c600SAndreas Färber	select SYS_NS16550
5837a0c600SAndreas Färber	help
5937a0c600SAndreas Färber	  The Rockchip RK3328 is a ARM-based SoC with a octa-core Cortex-A53.
6037a0c600SAndreas Färber	  including NEON and GPU, 512KB L2 cache for big cluster and 256 KB
6137a0c600SAndreas Färber	  L2 cache for little cluser, PowerVR G6110 based graphics, one video
6237a0c600SAndreas Färber	  output processor supporting LVDS、HDMI、eDP, several DDR3 options
6337a0c600SAndreas Färber	  and video codec support. Peripherals include Gigabit Ethernet,
6437a0c600SAndreas Färber	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
6537a0c600SAndreas Färber
66a381bcf5SKever Yangconfig ROCKCHIP_RK3399
67a381bcf5SKever Yang	bool "Support Rockchip RK3399"
68a381bcf5SKever Yang	select ARM64
6966e87cc8SKever Yang	select SUPPORT_SPL
7066e87cc8SKever Yang	select SPL
7166e87cc8SKever Yang	select SPL_SEPARATE_BSS
723d54eabcSPhilipp Tomsich	select ENABLE_ARM_SOC_BOOT0_HOOK
737ee16de5SPhilipp Tomsich	select DEBUG_UART_BOARD_INIT
74a381bcf5SKever Yang	help
75a381bcf5SKever Yang	  The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
76a381bcf5SKever Yang	  and quad-core Cortex-A53.
77a381bcf5SKever Yang	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
78a381bcf5SKever Yang	  video interfaces supporting HDMI and eDP, several DDR3 options
79a381bcf5SKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
80a381bcf5SKever Yang	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
81a381bcf5SKever Yang
82*2c1e11ddSAndy Yanconfig ROCKCHIP_RV1108
83*2c1e11ddSAndy Yan	bool "Support Rockchip RV1108"
84*2c1e11ddSAndy Yan	select CPU_V7
85*2c1e11ddSAndy Yan	help
86*2c1e11ddSAndy Yan	  The Rockchip RV1108 is a ARM-based SoC with a single-core Cortex-A7
87*2c1e11ddSAndy Yan	  and a DSP.
88*2c1e11ddSAndy Yan
89b47ea792SXu Ziyuanconfig ROCKCHIP_SPL_BACK_TO_BROM
90b47ea792SXu Ziyuan	bool "SPL returns to bootrom"
91b47ea792SXu Ziyuan	default y if ROCKCHIP_RK3036
921d845947SHeiko Stübner	select ROCKCHIP_BROM_HELPER
93b47ea792SXu Ziyuan	help
94b47ea792SXu Ziyuan	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
95b47ea792SXu Ziyuan          SPL will return to the boot rom, which will then load the U-Boot
96b47ea792SXu Ziyuan          binary to keep going on.
97b47ea792SXu Ziyuan
98fa1392a2SKever Yangconfig ROCKCHIP_SPL_RESERVE_IRAM
99fa1392a2SKever Yang	hex "Size of IRAM reserved in SPL"
100fa1392a2SKever Yang	default 0x4000
101fa1392a2SKever Yang	help
102fa1392a2SKever Yang	  SPL may need reserve memory for firmware loaded by SPL, whose load
103fa1392a2SKever Yang	  address is in IRAM and may overlay with SPL text area if not
104fa1392a2SKever Yang	  reserved.
105fa1392a2SKever Yang
1061d845947SHeiko Stübnerconfig ROCKCHIP_BROM_HELPER
1071d845947SHeiko Stübner	bool
1081d845947SHeiko Stübner
109230e0e09SSandy Pattersonconfig SPL_MMC_SUPPORT
110230e0e09SSandy Patterson	default y if !ROCKCHIP_SPL_BACK_TO_BROM
111230e0e09SSandy Patterson
112be1d5e03Shuang linsource "arch/arm/mach-rockchip/rk3036/Kconfig"
1130a2be69fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3188/Kconfig"
114041cdb5fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3288/Kconfig"
11585a3cfb8SKever Yangsource "arch/arm/mach-rockchip/rk3328/Kconfig"
11637a0c600SAndreas Färbersource "arch/arm/mach-rockchip/rk3368/Kconfig"
117a381bcf5SKever Yangsource "arch/arm/mach-rockchip/rk3399/Kconfig"
118*2c1e11ddSAndy Yansource "arch/arm/mach-rockchip/rv1108/Kconfig"
1192444dae5SSimon Glassendif
120