aef1a455ae0108b079cccd7d0aea2f659fddc012
[oweals/u-boot.git] / arch / arm / mach-rockchip / Kconfig
1 if ARCH_ROCKCHIP
2
3 config 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
12 config 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
20 config 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
26 config 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
35 config SYS_MALLOC_F
36         default y
37
38 config SPL_SYS_MALLOC_SIMPLE
39         default y
40
41 config SPL_DM
42         default y
43
44 config DM_SERIAL
45         default y
46
47 config DM_SPI
48         default y
49
50 config DM_SPI_FLASH
51         default y
52
53 config DM_I2C
54         default y
55
56 config DM_GPIO
57         default y
58
59 source "arch/arm/mach-rockchip/rk3288/Kconfig"
60 source "arch/arm/mach-rockchip/rk3036/Kconfig"
61 endif