Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 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 | |
huang lin | 1115b64 | 2015-11-17 14:20:27 +0800 | [diff] [blame] | 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 | |
Jeffy Chen | 3547118 | 2015-11-17 14:20:29 +0800 | [diff] [blame] | 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 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 35 | config SYS_MALLOC_F |
| 36 | default y |
| 37 | |
Ariel D'Alessandro | 7fd4780 | 2015-11-16 08:15:51 -0300 | [diff] [blame] | 38 | config SPL_SYS_MALLOC_SIMPLE |
| 39 | default y |
| 40 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 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 | |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 59 | source "arch/arm/mach-rockchip/rk3288/Kconfig" |
huang lin | 1115b64 | 2015-11-17 14:20:27 +0800 | [diff] [blame] | 60 | source "arch/arm/mach-rockchip/rk3036/Kconfig" |
Simon Glass | 2cffe66 | 2015-08-30 16:55:38 -0600 | [diff] [blame] | 61 | endif |