xref: /openbmc/u-boot/arch/arm/mach-rockchip/Kconfig (revision 0a2be69f)
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
14*0a2be69fSHeiko Stübnerconfig ROCKCHIP_RK3188
15*0a2be69fSHeiko Stübner	bool "Support Rockchip RK3188"
16*0a2be69fSHeiko Stübner	select CPU_V7
17*0a2be69fSHeiko Stübner	select SUPPORT_SPL
18*0a2be69fSHeiko Stübner	select SUPPORT_TPL
19*0a2be69fSHeiko Stübner	select SPL
20*0a2be69fSHeiko Stübner	select TPL
21*0a2be69fSHeiko Stübner	select ROCKCHIP_BROM_HELPER
22*0a2be69fSHeiko Stübner	help
23*0a2be69fSHeiko Stübner	  The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9
24*0a2be69fSHeiko Stübner	  including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two
25*0a2be69fSHeiko Stübner	  video interfaces, several memory options and video codec support.
26*0a2be69fSHeiko Stübner	  Peripherals include Fast Ethernet, USB2 host and OTG, SDIO, I2S,
27*0a2be69fSHeiko Stübner	  UART, SPI, I2C and PWMs.
28*0a2be69fSHeiko Stübner
292444dae5SSimon Glassconfig ROCKCHIP_RK3288
302444dae5SSimon Glass	bool "Support Rockchip RK3288"
31e0f5dbcbSAndreas Färber	select CPU_V7
32a381bcf5SKever Yang	select SUPPORT_SPL
33a381bcf5SKever Yang	select SPL
342444dae5SSimon Glass	help
352444dae5SSimon Glass	  The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
362444dae5SSimon Glass	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
372444dae5SSimon Glass	  video interfaces supporting HDMI and eDP, several DDR3 options
382444dae5SSimon Glass	  and video codec support. Peripherals include Gigabit Ethernet,
39ef904bf2SAndreas Färber	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
402444dae5SSimon Glass
41a381bcf5SKever Yangconfig ROCKCHIP_RK3399
42a381bcf5SKever Yang	bool "Support Rockchip RK3399"
43a381bcf5SKever Yang	select ARM64
44a381bcf5SKever Yang	help
45a381bcf5SKever Yang	  The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
46a381bcf5SKever Yang	  and quad-core Cortex-A53.
47a381bcf5SKever Yang	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
48a381bcf5SKever Yang	  video interfaces supporting HDMI and eDP, several DDR3 options
49a381bcf5SKever Yang	  and video codec support. Peripherals include Gigabit Ethernet,
50a381bcf5SKever Yang	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
51a381bcf5SKever Yang
52b47ea792SXu Ziyuanconfig ROCKCHIP_SPL_BACK_TO_BROM
53b47ea792SXu Ziyuan	bool "SPL returns to bootrom"
54b47ea792SXu Ziyuan	default y if ROCKCHIP_RK3036
551d845947SHeiko Stübner	select ROCKCHIP_BROM_HELPER
56b47ea792SXu Ziyuan	help
57b47ea792SXu Ziyuan	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
58b47ea792SXu Ziyuan          SPL will return to the boot rom, which will then load the U-Boot
59b47ea792SXu Ziyuan          binary to keep going on.
60b47ea792SXu Ziyuan
611d845947SHeiko Stübnerconfig ROCKCHIP_BROM_HELPER
621d845947SHeiko Stübner	bool
631d845947SHeiko Stübner
64230e0e09SSandy Pattersonconfig SPL_MMC_SUPPORT
65230e0e09SSandy Patterson	default y if !ROCKCHIP_SPL_BACK_TO_BROM
66230e0e09SSandy Patterson
67be1d5e03Shuang linsource "arch/arm/mach-rockchip/rk3036/Kconfig"
68*0a2be69fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3188/Kconfig"
69041cdb5fSHeiko Stübnersource "arch/arm/mach-rockchip/rk3288/Kconfig"
70a381bcf5SKever Yangsource "arch/arm/mach-rockchip/rk3399/Kconfig"
712444dae5SSimon Glassendif
72