blob: aef1a455ae0108b079cccd7d0aea2f659fddc012 [file] [log] [blame]
Simon Glass2cffe662015-08-30 16:55:38 -06001if ARCH_ROCKCHIP
2
3config ROCKCHIP_RK3288
4 bool "Support Rockchip RK3288"
5 help
6 The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
7 including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
8 video interfaces supporting HDMI and eDP, several DDR3 options
9 and video codec support. Peripherals include Gigabit Ethernet,
10 USB2 host and OTG, SDIO, I2S, UART,s, SPI, I2C and PWMs.
11
huang lin1115b642015-11-17 14:20:27 +080012config ROCKCHIP_RK3036
13 bool "Support Rockchip RK3036"
14 help
15 The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
16 including NEON and GPU, Mali-400 graphics, several DDR3 options
17 and video codec support. Peripherals include Gigabit Ethernet,
18 USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
19
Jeffy Chen35471182015-11-17 14:20:29 +080020config ROCKCHIP_SPL_HDR
21 string "Header of rockchip's spl loader"
22 help
23 Rockchip's bootrom requires the spl loader to start with a 4-bytes
24 header. The content of this header depends on the chip type.
25
26config ROCKCHIP_MAX_SPL_SIZE
27 hex "Max size of rockchip's spl loader"
28 help
29 Different chip may have different sram size. And if we want to jump
30 back to the bootrom after spl, we may need to reserve some sram space
31 for the bootrom.
32 The max spl loader size should be sram size minus reserved
33 size(if needed)
34
Simon Glass2cffe662015-08-30 16:55:38 -060035config SYS_MALLOC_F
36 default y
37
Ariel D'Alessandro7fd47802015-11-16 08:15:51 -030038config SPL_SYS_MALLOC_SIMPLE
39 default y
40
Simon Glass2cffe662015-08-30 16:55:38 -060041config SPL_DM
42 default y
43
44config DM_SERIAL
45 default y
46
47config DM_SPI
48 default y
49
50config DM_SPI_FLASH
51 default y
52
53config DM_I2C
54 default y
55
56config DM_GPIO
57 default y
58
Simon Glass2cffe662015-08-30 16:55:38 -060059source "arch/arm/mach-rockchip/rk3288/Kconfig"
huang lin1115b642015-11-17 14:20:27 +080060source "arch/arm/mach-rockchip/rk3036/Kconfig"
Simon Glass2cffe662015-08-30 16:55:38 -060061endif