xref: /openbmc/u-boot/arch/arm/mach-rockchip/Kconfig (revision b24a8ec1)
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
31168eef7aSKever Yangconfig ROCKCHIP_RK322X
32168eef7aSKever Yang	bool "Support Rockchip RK3228/RK3229"
33168eef7aSKever Yang	select CPU_V7
34168eef7aSKever Yang	select SUPPORT_SPL
35168eef7aSKever Yang	select SPL
36168eef7aSKever Yang	select ROCKCHIP_BROM_HELPER
37168eef7aSKever Yang	select DEBUG_UART_BOARD_INIT
38168eef7aSKever Yang	help
39168eef7aSKever Yang	  The Rockchip RK3229 is a ARM-based SoC with a dual-core Cortex-A7
40168eef7aSKever Yang	  including NEON and GPU, Mali-400 graphics, several DDR3 options
41168eef7aSKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
42168eef7aSKever Yang	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
43168eef7aSKever Yang
442444dae5SSimon Glassconfig ROCKCHIP_RK3288
452444dae5SSimon Glass	bool "Support Rockchip RK3288"
46e0f5dbcbSAndreas Färber	select CPU_V7
470680f1b1SLey Foon Tan	select SPL_BOARD_INIT if SPL
48a381bcf5SKever Yang	select SUPPORT_SPL
49a381bcf5SKever Yang	select SPL
502444dae5SSimon Glass	help
512444dae5SSimon Glass	  The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
522444dae5SSimon Glass	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
532444dae5SSimon Glass	  video interfaces supporting HDMI and eDP, several DDR3 options
542444dae5SSimon Glass	  and video codec support. Peripherals include Gigabit Ethernet,
55ef904bf2SAndreas Färber	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
562444dae5SSimon Glass
5785a3cfb8SKever Yangconfig ROCKCHIP_RK3328
5885a3cfb8SKever Yang	bool "Support Rockchip RK3328"
5985a3cfb8SKever Yang	select ARM64
6085a3cfb8SKever Yang	help
6185a3cfb8SKever Yang	  The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
6285a3cfb8SKever Yang	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
6385a3cfb8SKever Yang	  video interfaces supporting HDMI and eDP, several DDR3 options
6485a3cfb8SKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
6585a3cfb8SKever Yang	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
6685a3cfb8SKever Yang
6737a0c600SAndreas Färberconfig ROCKCHIP_RK3368
6837a0c600SAndreas Färber	bool "Support Rockchip RK3368"
6937a0c600SAndreas Färber	select ARM64
7037a0c600SAndreas Färber	select SYS_NS16550
7137a0c600SAndreas Färber	help
7237a0c600SAndreas Färber	  The Rockchip RK3328 is a ARM-based SoC with a octa-core Cortex-A53.
7337a0c600SAndreas Färber	  including NEON and GPU, 512KB L2 cache for big cluster and 256 KB
7437a0c600SAndreas Färber	  L2 cache for little cluser, PowerVR G6110 based graphics, one video
7537a0c600SAndreas Färber	  output processor supporting LVDS、HDMI、eDP, several DDR3 options
7637a0c600SAndreas Färber	  and video codec support. Peripherals include Gigabit Ethernet,
7737a0c600SAndreas Färber	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
7837a0c600SAndreas Färber
79a381bcf5SKever Yangconfig ROCKCHIP_RK3399
80a381bcf5SKever Yang	bool "Support Rockchip RK3399"
81a381bcf5SKever Yang	select ARM64
8266e87cc8SKever Yang	select SUPPORT_SPL
8366e87cc8SKever Yang	select SPL
8466e87cc8SKever Yang	select SPL_SEPARATE_BSS
853d54eabcSPhilipp Tomsich	select ENABLE_ARM_SOC_BOOT0_HOOK
867ee16de5SPhilipp Tomsich	select DEBUG_UART_BOARD_INIT
87a381bcf5SKever Yang	help
88a381bcf5SKever Yang	  The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
89a381bcf5SKever Yang	  and quad-core Cortex-A53.
90a381bcf5SKever Yang	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
91a381bcf5SKever Yang	  video interfaces supporting HDMI and eDP, several DDR3 options
92a381bcf5SKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
93a381bcf5SKever Yang	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
94a381bcf5SKever Yang
952c1e11ddSAndy Yanconfig ROCKCHIP_RV1108
962c1e11ddSAndy Yan	bool "Support Rockchip RV1108"
972c1e11ddSAndy Yan	select CPU_V7
982c1e11ddSAndy Yan	help
992c1e11ddSAndy Yan	  The Rockchip RV1108 is a ARM-based SoC with a single-core Cortex-A7
1002c1e11ddSAndy Yan	  and a DSP.
1012c1e11ddSAndy Yan
102b47ea792SXu Ziyuanconfig ROCKCHIP_SPL_BACK_TO_BROM
103b47ea792SXu Ziyuan	bool "SPL returns to bootrom"
104b47ea792SXu Ziyuan	default y if ROCKCHIP_RK3036
1051d845947SHeiko Stübner	select ROCKCHIP_BROM_HELPER
106b47ea792SXu Ziyuan	help
107b47ea792SXu Ziyuan	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
108b47ea792SXu Ziyuan          SPL will return to the boot rom, which will then load the U-Boot
109b47ea792SXu Ziyuan          binary to keep going on.
110b47ea792SXu Ziyuan
111fa1392a2SKever Yangconfig ROCKCHIP_SPL_RESERVE_IRAM
112fa1392a2SKever Yang	hex "Size of IRAM reserved in SPL"
113fa1392a2SKever Yang	default 0x4000
114fa1392a2SKever Yang	help
115fa1392a2SKever Yang	  SPL may need reserve memory for firmware loaded by SPL, whose load
116fa1392a2SKever Yang	  address is in IRAM and may overlay with SPL text area if not
117fa1392a2SKever Yang	  reserved.
118fa1392a2SKever Yang
1191d845947SHeiko Stübnerconfig ROCKCHIP_BROM_HELPER
1201d845947SHeiko Stübner	bool
1211d845947SHeiko Stübner
122230e0e09SSandy Pattersonconfig SPL_MMC_SUPPORT
123230e0e09SSandy Patterson	default y if !ROCKCHIP_SPL_BACK_TO_BROM
124230e0e09SSandy Patterson
125be1d5e03Shuang linsource "arch/arm/mach-rockchip/rk3036/Kconfig"
1260a2be69fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3188/Kconfig"
127*b24a8ec1SKever Yangsource "arch/arm/mach-rockchip/rk322x/Kconfig"
128041cdb5fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3288/Kconfig"
12985a3cfb8SKever Yangsource "arch/arm/mach-rockchip/rk3328/Kconfig"
13037a0c600SAndreas Färbersource "arch/arm/mach-rockchip/rk3368/Kconfig"
131a381bcf5SKever Yangsource "arch/arm/mach-rockchip/rk3399/Kconfig"
1322c1e11ddSAndy Yansource "arch/arm/mach-rockchip/rv1108/Kconfig"
1332444dae5SSimon Glassendif
134