2015-08-30 22:55:38 +00:00
|
|
|
if ARCH_ROCKCHIP
|
|
|
|
|
|
2018-01-22 07:11:11 +00:00
|
|
|
config ROCKCHIP_PX30
|
|
|
|
|
bool "Support Rockchip PX30"
|
2019-05-22 02:41:36 +00:00
|
|
|
select ARM64 if !ARM64_BOOT_AARCH32
|
2018-02-06 07:21:07 +00:00
|
|
|
select GICV2
|
2018-02-08 03:36:21 +00:00
|
|
|
select ARM_SMCCC
|
2018-06-28 02:18:51 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
|
select SUPPORT_TPL
|
2019-05-22 02:41:36 +00:00
|
|
|
select SPL if !ARM64_BOOT_AARCH32
|
|
|
|
|
select TPL if !ARM64_BOOT_AARCH32
|
2018-06-28 02:18:51 +00:00
|
|
|
select TPL_TINY_FRAMEWORK if TPL
|
|
|
|
|
|
2019-09-16 06:31:48 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
2018-06-28 02:18:51 +00:00
|
|
|
imply SPL_SERIAL_SUPPORT
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
2018-01-22 07:11:11 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip PX30 is a ARM-based SoC with a quad-core Cortex-A35
|
|
|
|
|
including NEON and GPU, Mali-400 graphics, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
|
|
|
|
|
|
2018-02-24 09:12:00 +00:00
|
|
|
if ROCKCHIP_PX30
|
|
|
|
|
|
2018-06-28 02:18:51 +00:00
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff0e1000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 10240
|
|
|
|
|
|
2018-02-24 09:12:00 +00:00
|
|
|
config ROCKCHIP_RK3326
|
|
|
|
|
bool "Support Rockchip RK3326 "
|
|
|
|
|
help
|
|
|
|
|
RK3326 can use most code from PX30, but at some situations we have
|
|
|
|
|
to distinguish between RK3326 and PX30, so this macro gives help.
|
|
|
|
|
It is usually selected in rk3326 board defconfig.
|
|
|
|
|
endif
|
|
|
|
|
|
2016-07-15 22:17:15 +00:00
|
|
|
config ROCKCHIP_RK3036
|
|
|
|
|
bool "Support Rockchip RK3036"
|
|
|
|
|
select CPU_V7
|
2016-07-19 13:16:59 +00:00
|
|
|
select SUPPORT_SPL
|
2017-12-19 12:54:15 +00:00
|
|
|
select SUPPORT_TPL
|
2016-07-19 13:16:59 +00:00
|
|
|
select SPL
|
2017-12-19 12:54:15 +00:00
|
|
|
select TPL
|
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
|
select ROCKCHIP_BROM_HELPER
|
|
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2016-07-15 22:17:15 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
|
|
|
|
|
including NEON and GPU, Mali-400 graphics, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
|
|
|
|
|
|
2017-03-10 03:01:51 +00:00
|
|
|
config ROCKCHIP_RK3128
|
|
|
|
|
bool "Support Rockchip RK3128"
|
|
|
|
|
select CPU_V7
|
2017-10-16 11:48:29 +00:00
|
|
|
select GICV2
|
2017-11-27 08:57:21 +00:00
|
|
|
select ARM_SMCCC
|
2017-03-10 03:01:51 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7
|
|
|
|
|
including NEON and GPU, Mali-400 graphics, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
|
|
|
|
|
|
2017-11-29 09:39:34 +00:00
|
|
|
if ROCKCHIP_RK3128
|
|
|
|
|
|
|
|
|
|
config ROCKCHIP_RK3126
|
|
|
|
|
bool "Support Rockchip RK3126 "
|
|
|
|
|
help
|
|
|
|
|
RK3126 can use most code from RK3128, but at some situations we have
|
|
|
|
|
to distinguish between RK3126 and RK3128, so this macro gives help.
|
|
|
|
|
It is usually selected in rk3126 board defconfig.
|
2018-07-26 07:22:20 +00:00
|
|
|
|
|
|
|
|
config ROCKCHIP_PX3SE
|
|
|
|
|
bool "Support Rockchip PX3SE"
|
|
|
|
|
help
|
|
|
|
|
PX3SE is a variant of RK3128, it shares codes with RK3128, but we still
|
|
|
|
|
need this macro to distinguish PX3SE and RK3128.
|
2017-11-29 09:39:34 +00:00
|
|
|
endif
|
|
|
|
|
|
2017-08-17 13:13:11 +00:00
|
|
|
config ROCKCHIP_RK3066
|
|
|
|
|
bool "Support Rockchip RK3066"
|
|
|
|
|
select CPU_V7
|
|
|
|
|
select SUPPORT_SPL
|
|
|
|
|
select SUPPORT_TPL
|
|
|
|
|
select SPL
|
|
|
|
|
select TPL
|
|
|
|
|
select BOARD_LATE_INIT
|
|
|
|
|
select ROCKCHIP_BROM_HELPER
|
2018-01-20 13:51:51 +00:00
|
|
|
select SPL_ROCKCHIP_EARLYRETURN_TO_BROM
|
2017-08-17 13:13:11 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3066 is a ARM-based SoC with a dual-core Cortex-A9
|
|
|
|
|
including NEON and GPU, Mali-400 graphics, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include ethernet, USB2 host
|
|
|
|
|
and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
|
|
|
|
|
|
2017-02-18 18:46:36 +00:00
|
|
|
config ROCKCHIP_RK3188
|
|
|
|
|
bool "Support Rockchip RK3188"
|
|
|
|
|
select CPU_V7
|
2017-05-03 09:13:32 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2017-02-18 18:46:36 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
|
select SPL
|
2017-10-10 14:21:17 +00:00
|
|
|
select SPL_CLK
|
|
|
|
|
select SPL_REGMAP
|
|
|
|
|
select SPL_SYSCON
|
|
|
|
|
select SPL_RAM
|
|
|
|
|
select SPL_DRIVERS_MISC_SUPPORT
|
2017-10-10 14:21:15 +00:00
|
|
|
select SPL_ROCKCHIP_EARLYRETURN_TO_BROM
|
2017-04-05 22:19:36 +00:00
|
|
|
select BOARD_LATE_INIT
|
2017-02-18 18:46:36 +00:00
|
|
|
select ROCKCHIP_BROM_HELPER
|
|
|
|
|
help
|
|
|
|
|
The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9
|
|
|
|
|
including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two
|
|
|
|
|
video interfaces, several memory options and video codec support.
|
|
|
|
|
Peripherals include Fast Ethernet, USB2 host and OTG, SDIO, I2S,
|
|
|
|
|
UART, SPI, I2C and PWMs.
|
2017-06-23 09:17:52 +00:00
|
|
|
|
|
|
|
|
config ROCKCHIP_RK322X
|
|
|
|
|
bool "Support Rockchip RK3228/RK3229"
|
|
|
|
|
select CPU_V7
|
|
|
|
|
select SUPPORT_SPL
|
2017-09-06 01:10:33 +00:00
|
|
|
select SUPPORT_TPL
|
2017-06-23 09:17:52 +00:00
|
|
|
select SPL
|
2017-09-06 01:10:33 +00:00
|
|
|
select TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
|
|
|
|
select SPL_DRIVERS_MISC_SUPPORT
|
|
|
|
|
imply SPL_SERIAL_SUPPORT
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
2017-06-23 09:17:52 +00:00
|
|
|
select ROCKCHIP_BROM_HELPER
|
2017-09-06 01:10:33 +00:00
|
|
|
select TPL_LIBCOMMON_SUPPORT
|
|
|
|
|
select TPL_LIBGENERIC_SUPPORT
|
2017-09-07 11:07:30 +00:00
|
|
|
select GICV2
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2017-06-23 09:17:52 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3229 is a ARM-based SoC with a dual-core Cortex-A7
|
|
|
|
|
including NEON and GPU, Mali-400 graphics, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
|
2017-02-18 18:46:36 +00:00
|
|
|
|
2018-07-24 08:37:58 +00:00
|
|
|
if ROCKCHIP_RK322X
|
|
|
|
|
|
|
|
|
|
config ROCKCHIP_RK3128X
|
|
|
|
|
bool "Support Rockchip RK3128X "
|
|
|
|
|
help
|
|
|
|
|
RK3128X can use most code from RK322X, but at some situations we have
|
|
|
|
|
to distinguish between RK3128X and RK322X, so this macro gives help.
|
|
|
|
|
It is usually selected in RK3128X board defconfig.
|
|
|
|
|
endif
|
|
|
|
|
|
2015-08-30 22:55:38 +00:00
|
|
|
config ROCKCHIP_RK3288
|
|
|
|
|
bool "Support Rockchip RK3288"
|
2016-07-14 03:09:26 +00:00
|
|
|
select CPU_V7
|
2017-05-03 09:13:32 +00:00
|
|
|
select SPL_BOARD_INIT if SPL
|
2016-07-19 13:16:59 +00:00
|
|
|
select SUPPORT_SPL
|
2018-11-16 10:16:38 +00:00
|
|
|
select SUPPORT_TPL
|
2016-07-19 13:16:59 +00:00
|
|
|
select SPL
|
2018-11-16 10:16:38 +00:00
|
|
|
select TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
2017-09-13 08:47:08 +00:00
|
|
|
select GICV2
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2018-11-16 10:26:05 +00:00
|
|
|
select SPL_OPTEE
|
|
|
|
|
select FIT
|
|
|
|
|
select SPL_LOAD_FIT
|
2018-11-16 10:16:38 +00:00
|
|
|
select TPL_LIBCOMMON_SUPPORT
|
|
|
|
|
select TPL_LIBGENERIC_SUPPORT
|
|
|
|
|
select TPL_SYS_MALLOC_SIMPLE
|
|
|
|
|
select TPL_BOOTROM_SUPPORT
|
|
|
|
|
select TPL_DRIVERS_MISC_SUPPORT
|
|
|
|
|
select TPL_OF_CONTROL
|
|
|
|
|
select TPL_DM
|
|
|
|
|
select TPL_REGMAP
|
|
|
|
|
select TPL_SYSCON
|
|
|
|
|
select TPL_RAM
|
|
|
|
|
select TPL_CLK
|
|
|
|
|
select TPL_TINY_MEMSET
|
2015-08-30 22:55:38 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
|
|
|
|
|
including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
|
|
|
|
|
video interfaces supporting HDMI and eDP, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
2016-11-02 17:03:01 +00:00
|
|
|
USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
|
2015-08-30 22:55:38 +00:00
|
|
|
|
2018-11-16 10:16:38 +00:00
|
|
|
if ROCKCHIP_RK3288
|
2018-11-16 10:26:05 +00:00
|
|
|
config SPL_FIT_GENERATOR
|
|
|
|
|
default "arch/arm/mach-rockchip/make_fit_optee.sh"
|
2018-11-16 10:16:38 +00:00
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff704000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
2019-01-21 09:59:06 +00:00
|
|
|
default 32768
|
2018-11-16 10:16:38 +00:00
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0xff718000
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2018-02-25 09:44:28 +00:00
|
|
|
config ROCKCHIP_RK3308
|
|
|
|
|
bool "Support Rockchip RK3308"
|
2018-05-22 12:19:23 +00:00
|
|
|
select ARM64 if !ARM64_BOOT_AARCH32
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2018-08-14 12:05:16 +00:00
|
|
|
select GICV2
|
2019-03-01 03:13:48 +00:00
|
|
|
select SUPPORT_SPL if !ARM64_BOOT_AARCH32
|
|
|
|
|
select SUPPORT_TPL if !ARM64_BOOT_AARCH32
|
|
|
|
|
select SPL if !ARM64_BOOT_AARCH32
|
|
|
|
|
select TPL if !ARM64_BOOT_AARCH32
|
|
|
|
|
imply SPL_CLK
|
|
|
|
|
imply SPL_REGMAP
|
|
|
|
|
imply SPL_SYSCON
|
|
|
|
|
imply SPL_RAM
|
|
|
|
|
imply SPL_SERIAL_SUPPORT
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
|
|
|
|
imply SPL_SEPARATE_BSS
|
2018-02-25 09:44:28 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3308 is a ARM-based Soc which embeded with quad
|
|
|
|
|
Cortex-A35 and highly integrated audio interfaces.
|
|
|
|
|
|
2020-11-17 07:55:45 +00:00
|
|
|
if ROCKCHIP_RK3308
|
|
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xfff81000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
2020-12-23 07:36:21 +00:00
|
|
|
default 10240
|
2020-11-17 07:55:45 +00:00
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0xfff84000
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2017-02-23 07:37:51 +00:00
|
|
|
config ROCKCHIP_RK3328
|
|
|
|
|
bool "Support Rockchip RK3328"
|
|
|
|
|
select ARM64
|
2017-09-07 11:08:29 +00:00
|
|
|
select GICV2
|
2017-10-26 06:33:14 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
|
select SUPPORT_TPL
|
|
|
|
|
select SPL
|
|
|
|
|
select TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
|
|
|
|
imply SPL_SERIAL_SUPPORT
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
|
|
|
|
imply SPL_SEPARATE_BSS
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2017-02-23 07:37:51 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
|
|
|
|
|
including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
|
|
|
|
|
video interfaces supporting HDMI and eDP, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
|
|
|
|
|
|
2017-10-26 06:33:14 +00:00
|
|
|
if ROCKCHIP_RK3328
|
|
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff091000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 28672
|
|
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0xff098000
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2017-05-15 09:51:18 +00:00
|
|
|
config ROCKCHIP_RK3368
|
|
|
|
|
bool "Support Rockchip RK3368"
|
|
|
|
|
select ARM64
|
2017-06-11 21:46:25 +00:00
|
|
|
select SUPPORT_SPL
|
|
|
|
|
select SUPPORT_TPL
|
2017-07-28 18:03:07 +00:00
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
2017-06-11 21:46:25 +00:00
|
|
|
imply SPL_SEPARATE_BSS
|
|
|
|
|
imply SPL_SERIAL_SUPPORT
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
2017-09-13 08:34:43 +00:00
|
|
|
select GICV2
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2017-05-15 09:51:18 +00:00
|
|
|
help
|
2017-06-09 22:47:53 +00:00
|
|
|
The Rockchip RK3368 is a ARM-based SoC with a octa-core (organised
|
|
|
|
|
into a big and little cluster with 4 cores each) Cortex-A53 including
|
|
|
|
|
AdvSIMD, 512KB L2 cache (for the big cluster) and 256 KB L2 cache
|
|
|
|
|
(for the little cluster), PowerVR G6110 based graphics, one video
|
|
|
|
|
output processor supporting LVDS/HDMI/eDP, several DDR3 options and
|
|
|
|
|
video codec support.
|
|
|
|
|
|
|
|
|
|
On-chip peripherals include Gigabit Ethernet, USB2 host and OTG, SDIO,
|
|
|
|
|
I2S, UARTs, SPI, I2C and PWMs.
|
2017-05-15 09:51:18 +00:00
|
|
|
|
2017-08-02 19:26:18 +00:00
|
|
|
if ROCKCHIP_RK3368
|
|
|
|
|
|
2019-01-29 03:53:09 +00:00
|
|
|
config ROCKCHIP_PX5
|
|
|
|
|
bool "Support Rockchip PX5"
|
|
|
|
|
help
|
|
|
|
|
PX5 is a variant of RK3368, it shares codes with RK3368, but we still
|
|
|
|
|
need this macro to distinguish PX5 and RK3368.
|
|
|
|
|
|
2017-08-02 19:26:18 +00:00
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds"
|
|
|
|
|
|
2017-07-28 18:20:41 +00:00
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff8c1000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 28672
|
|
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0xff8cffff
|
|
|
|
|
|
2017-08-02 19:26:18 +00:00
|
|
|
endif
|
|
|
|
|
|
2016-07-19 13:16:59 +00:00
|
|
|
config ROCKCHIP_RK3399
|
|
|
|
|
bool "Support Rockchip RK3399"
|
|
|
|
|
select ARM64
|
2017-02-22 08:56:38 +00:00
|
|
|
select SUPPORT_SPL
|
2018-11-09 03:18:15 +00:00
|
|
|
select SUPPORT_TPL
|
2017-02-22 08:56:38 +00:00
|
|
|
select SPL
|
2018-11-09 03:18:15 +00:00
|
|
|
select TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
|
|
|
|
|
select TPL_NEEDS_SEPARATE_STACK if TPL
|
|
|
|
|
imply TPL_SERIAL_SUPPORT
|
2017-02-22 08:56:38 +00:00
|
|
|
select SPL_SEPARATE_BSS
|
2017-07-26 10:29:01 +00:00
|
|
|
select SPL_SERIAL_SUPPORT
|
|
|
|
|
select SPL_DRIVERS_MISC_SUPPORT
|
2017-09-07 12:33:12 +00:00
|
|
|
select GICV3
|
2017-10-11 07:00:16 +00:00
|
|
|
select BOARD_LATE_INIT
|
2017-10-11 07:00:49 +00:00
|
|
|
select ROCKCHIP_BROM_HELPER
|
2018-04-16 11:11:52 +00:00
|
|
|
select ARM_SMCCC
|
2018-11-09 03:18:15 +00:00
|
|
|
select TPL_LIBCOMMON_SUPPORT
|
|
|
|
|
select TPL_LIBGENERIC_SUPPORT
|
|
|
|
|
select TPL_SYS_MALLOC_SIMPLE
|
|
|
|
|
select TPL_BOOTROM_SUPPORT
|
|
|
|
|
select TPL_DRIVERS_MISC_SUPPORT
|
|
|
|
|
select TPL_OF_CONTROL
|
|
|
|
|
select TPL_DM
|
|
|
|
|
select TPL_REGMAP
|
|
|
|
|
select TPL_SYSCON
|
|
|
|
|
select TPL_RAM
|
|
|
|
|
select TPL_CLK
|
|
|
|
|
select TPL_TINY_MEMSET
|
2016-07-19 13:16:59 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
|
|
|
|
|
and quad-core Cortex-A53.
|
|
|
|
|
including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
|
|
|
|
|
video interfaces supporting HDMI and eDP, several DDR3 options
|
|
|
|
|
and video codec support. Peripherals include Gigabit Ethernet,
|
|
|
|
|
USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
|
|
|
|
|
|
2018-11-09 03:18:15 +00:00
|
|
|
if ROCKCHIP_RK3399
|
|
|
|
|
|
2018-12-11 01:31:27 +00:00
|
|
|
config ROCKCHIP_RK3399PRO
|
|
|
|
|
bool "Support Rockchip RK3399Pro"
|
|
|
|
|
|
2018-11-09 03:18:15 +00:00
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff8c2000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 188416
|
|
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0xff8effff
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2020-10-22 07:53:14 +00:00
|
|
|
config ROCKCHIP_RK3568
|
|
|
|
|
bool "Support Rockchip RK3568"
|
|
|
|
|
select ARM64
|
2021-01-16 04:07:19 +00:00
|
|
|
select ARM_SMCCC
|
2020-11-11 08:31:30 +00:00
|
|
|
select GICV3
|
2020-10-22 07:53:14 +00:00
|
|
|
select SPL
|
2020-12-19 09:09:13 +00:00
|
|
|
select SUPPORT_TPL
|
2020-10-22 07:53:14 +00:00
|
|
|
select SUPPORT_SPL
|
2020-12-19 09:09:13 +00:00
|
|
|
select TPL_TINY_FRAMEWORK if TPL
|
2020-09-28 08:07:25 +00:00
|
|
|
select DEBUG_UART_BOARD_INIT
|
2020-12-19 09:09:13 +00:00
|
|
|
imply TPL
|
2020-09-28 08:07:25 +00:00
|
|
|
imply SPL
|
2020-12-19 09:09:13 +00:00
|
|
|
imply TPL_SERIAL_SUPPORT
|
2020-10-22 07:53:14 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK3568 is a ARM-based SoC with a quad-core Cortex-A55.
|
|
|
|
|
|
2020-12-19 09:09:13 +00:00
|
|
|
if ROCKCHIP_RK3568
|
|
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xfdcc1000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 61440
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2018-08-07 01:19:08 +00:00
|
|
|
config ROCKCHIP_RK1808
|
|
|
|
|
bool "Support Rockchip RK1808"
|
|
|
|
|
select ARM64
|
|
|
|
|
select ARM_SMCCC
|
2019-02-22 02:53:17 +00:00
|
|
|
select GICV3 if !COPROCESSOR_RK1808
|
2019-09-16 06:25:47 +00:00
|
|
|
select SUPPORT_SPL if !COPROCESSOR_RK1808
|
|
|
|
|
select SUPPORT_TPL if !COPROCESSOR_RK1808
|
2018-08-07 01:19:08 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RK1808 is a ARM-based Soc which embedded with dual
|
|
|
|
|
Cortex-A35.
|
|
|
|
|
|
2018-09-13 01:44:08 +00:00
|
|
|
if ROCKCHIP_RK1808
|
|
|
|
|
|
2019-11-22 07:53:28 +00:00
|
|
|
config ROCKCHIP_RK1806
|
|
|
|
|
bool "Support Rockchip RK1806"
|
|
|
|
|
help
|
|
|
|
|
The Rockchip RK1806 is a ARM-based Soc which embedded with dual
|
|
|
|
|
Cortex-A35.
|
|
|
|
|
|
2018-09-13 01:44:08 +00:00
|
|
|
config COPROCESSOR_RK1808
|
|
|
|
|
bool "RK1808 coprocessor"
|
|
|
|
|
help
|
|
|
|
|
This indicates the RK1808 is working as a coprocessor for another
|
|
|
|
|
more powerful SoC.
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2017-06-01 10:00:55 +00:00
|
|
|
config ROCKCHIP_RV1108
|
|
|
|
|
bool "Support Rockchip RV1108"
|
|
|
|
|
select CPU_V7
|
2018-02-01 07:40:55 +00:00
|
|
|
select SUPPORT_SPL
|
2018-08-28 09:41:40 +00:00
|
|
|
select SUPPORT_TPL
|
2018-02-01 07:40:55 +00:00
|
|
|
select SPL
|
2018-08-28 09:41:40 +00:00
|
|
|
select TPL
|
2018-06-01 09:37:24 +00:00
|
|
|
select BOARD_LATE_INIT
|
2017-06-01 10:00:55 +00:00
|
|
|
help
|
|
|
|
|
The Rockchip RV1108 is a ARM-based SoC with a single-core Cortex-A7
|
|
|
|
|
and a DSP.
|
|
|
|
|
|
2018-08-28 09:41:40 +00:00
|
|
|
if ROCKCHIP_RV1108
|
|
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0x10080800
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 6144
|
|
|
|
|
|
|
|
|
|
config TPL_STACK
|
|
|
|
|
default 0x10082000
|
|
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
2020-02-21 02:30:24 +00:00
|
|
|
config ROCKCHIP_RV1126
|
|
|
|
|
bool "Support Rockchip RV1126"
|
2019-11-19 07:28:24 +00:00
|
|
|
select CPU_V7
|
2020-04-07 10:17:02 +00:00
|
|
|
select SUPPORT_TPL
|
2020-05-19 08:48:22 +00:00
|
|
|
select SUPPORT_SPL
|
2020-06-05 10:55:36 +00:00
|
|
|
select TPL_TINY_FRAMEWORK if TPL
|
|
|
|
|
select DEBUG_UART_BOARD_INIT
|
2020-06-04 12:26:39 +00:00
|
|
|
imply TPL
|
|
|
|
|
imply SPL
|
|
|
|
|
imply GICV2
|
|
|
|
|
imply ARM_SMCCC
|
|
|
|
|
imply BOARD_LATE_INIT
|
2020-05-29 01:23:36 +00:00
|
|
|
imply ROCKCHIP_GPIO_V2
|
2020-06-05 10:55:36 +00:00
|
|
|
imply TPL_SERIAL_SUPPORT
|
2019-11-19 07:28:24 +00:00
|
|
|
help
|
2020-02-21 02:30:24 +00:00
|
|
|
The Rockchip RV1126 is a ARM-based SoC with a quad-core Cortex-A7
|
2019-11-19 07:28:24 +00:00
|
|
|
and a risc-v core.
|
|
|
|
|
|
2020-06-05 10:55:36 +00:00
|
|
|
if ROCKCHIP_RV1126
|
|
|
|
|
|
|
|
|
|
config TPL_LDSCRIPT
|
|
|
|
|
default "arch/arm/mach-rockchip/u-boot-tpl.lds"
|
|
|
|
|
|
|
|
|
|
config TPL_TEXT_BASE
|
|
|
|
|
default 0xff701000
|
|
|
|
|
|
|
|
|
|
config TPL_MAX_SIZE
|
|
|
|
|
default 32768
|
|
|
|
|
endif
|
|
|
|
|
|
2017-06-29 09:21:15 +00:00
|
|
|
config SPL_ROCKCHIP_BACK_TO_BROM
|
2016-07-12 11:09:49 +00:00
|
|
|
bool "SPL returns to bootrom"
|
|
|
|
|
default y if ROCKCHIP_RK3036
|
2017-02-18 18:46:25 +00:00
|
|
|
select ROCKCHIP_BROM_HELPER
|
2017-06-29 09:21:15 +00:00
|
|
|
depends on SPL
|
|
|
|
|
help
|
|
|
|
|
Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
|
|
|
|
|
SPL will return to the boot rom, which will then load the U-Boot
|
|
|
|
|
binary to keep going on.
|
|
|
|
|
|
|
|
|
|
config TPL_ROCKCHIP_BACK_TO_BROM
|
|
|
|
|
bool "TPL returns to bootrom"
|
2018-11-09 03:18:15 +00:00
|
|
|
default y
|
2017-06-29 09:21:15 +00:00
|
|
|
select ROCKCHIP_BROM_HELPER
|
|
|
|
|
depends on TPL
|
2016-07-12 11:09:49 +00:00
|
|
|
help
|
|
|
|
|
Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
|
|
|
|
|
SPL will return to the boot rom, which will then load the U-Boot
|
|
|
|
|
binary to keep going on.
|
|
|
|
|
|
2018-05-22 12:19:23 +00:00
|
|
|
config ARM64_BOOT_AARCH32
|
|
|
|
|
bool "Support Boot an ARM64 on AArch32 execution state"
|
|
|
|
|
select CPU_V7
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
If you want to boot an ARM64 processor on 32-bit mode, say y here.
|
|
|
|
|
|
2017-10-11 07:00:16 +00:00
|
|
|
config ROCKCHIP_BOOT_MODE_REG
|
|
|
|
|
hex "Rockchip boot mode flag register address"
|
2018-01-22 07:11:11 +00:00
|
|
|
default 0xff010200 if ROCKCHIP_PX30
|
2017-10-11 07:00:16 +00:00
|
|
|
default 0x200081c8 if ROCKCHIP_RK3036
|
2017-11-10 03:23:37 +00:00
|
|
|
default 0x100a0038 if ROCKCHIP_RK3128
|
2017-10-11 07:00:16 +00:00
|
|
|
default 0x20004040 if ROCKCHIP_RK3188
|
|
|
|
|
default 0x110005c8 if ROCKCHIP_RK322X
|
|
|
|
|
default 0xff730094 if ROCKCHIP_RK3288
|
2018-02-25 09:44:28 +00:00
|
|
|
default 0xff000500 if ROCKCHIP_RK3308
|
2018-01-20 13:54:58 +00:00
|
|
|
default 0xff1005c8 if ROCKCHIP_RK3328
|
2017-10-11 07:00:16 +00:00
|
|
|
default 0xff738200 if ROCKCHIP_RK3368
|
|
|
|
|
default 0xff320300 if ROCKCHIP_RK3399
|
2020-10-22 07:53:14 +00:00
|
|
|
default 0xfdc20200 if ROCKCHIP_RK3568
|
2018-08-07 01:19:08 +00:00
|
|
|
default 0xfe020200 if ROCKCHIP_RK1808
|
2017-10-11 07:00:16 +00:00
|
|
|
default 0x10300580 if ROCKCHIP_RV1108
|
2020-02-21 02:30:24 +00:00
|
|
|
default 0xfe020200 if ROCKCHIP_RV1126
|
2017-10-11 07:00:16 +00:00
|
|
|
default 0
|
|
|
|
|
help
|
|
|
|
|
The Soc will enter to different boot mode(defined in asm/arch/boot_mode.h)
|
|
|
|
|
according to the value from this register.
|
|
|
|
|
|
2018-01-20 13:46:44 +00:00
|
|
|
config ROCKCHIP_STIMER_BASE
|
|
|
|
|
hex "Rockchip Secure timer base address"
|
|
|
|
|
default 0xff220020 if ROCKCHIP_PX30
|
|
|
|
|
default 0x200440a0 if ROCKCHIP_RK3036
|
|
|
|
|
default 0x2000e000 if ROCKCHIP_RK3066
|
|
|
|
|
default 0x20018020 if ROCKCHIP_RK3126
|
|
|
|
|
default 0x200440a0 if ROCKCHIP_RK3128
|
|
|
|
|
default 0x2000e000 if ROCKCHIP_RK3188
|
|
|
|
|
default 0x110d0020 if ROCKCHIP_RK322X
|
|
|
|
|
default 0xff810020 if ROCKCHIP_RK3288
|
2020-11-17 07:55:45 +00:00
|
|
|
default 0xff1b00a0 if ROCKCHIP_RK3308
|
2018-01-20 13:46:44 +00:00
|
|
|
default 0xff1d0020 if ROCKCHIP_RK3328
|
|
|
|
|
default 0xff830020 if ROCKCHIP_RK3368
|
|
|
|
|
default 0xff8680a0 if ROCKCHIP_RK3399
|
2020-10-22 07:53:14 +00:00
|
|
|
default 0xfdd1c020 if ROCKCHIP_RK3568
|
2018-01-20 13:46:44 +00:00
|
|
|
default 0x10350020 if ROCKCHIP_RV1108
|
2020-02-21 02:30:24 +00:00
|
|
|
default 0xff670020 if ROCKCHIP_RV1126
|
2018-01-20 13:46:44 +00:00
|
|
|
default 0
|
|
|
|
|
help
|
|
|
|
|
The secure timer inited in SPL/TPL in secure word, ARM generic timer
|
|
|
|
|
works after this timer work.
|
|
|
|
|
|
2018-01-20 13:50:15 +00:00
|
|
|
config ROCKCHIP_IRAM_START_ADDR
|
|
|
|
|
hex "Rockchip Secure timer base address"
|
|
|
|
|
default 0xff0e0000 if ROCKCHIP_PX30
|
|
|
|
|
default 0x10080000 if ROCKCHIP_RK3036
|
|
|
|
|
default 0x10080000 if ROCKCHIP_RK3128
|
|
|
|
|
default 0x10080000 if ROCKCHIP_RK3188
|
|
|
|
|
default 0x10080000 if ROCKCHIP_RK322X
|
|
|
|
|
default 0xff700000 if ROCKCHIP_RK3288
|
2018-07-20 07:46:33 +00:00
|
|
|
default 0xfff80000 if ROCKCHIP_RK3308
|
2018-01-20 13:50:15 +00:00
|
|
|
default 0xff091000 if ROCKCHIP_RK3328
|
|
|
|
|
default 0xff8c0000 if ROCKCHIP_RK3368
|
|
|
|
|
default 0xff8c0000 if ROCKCHIP_RK3399
|
2020-10-22 07:53:14 +00:00
|
|
|
default 0xfdcc0000 if ROCKCHIP_RK3568
|
2018-01-20 13:50:15 +00:00
|
|
|
default 0x10080000 if ROCKCHIP_RV1108
|
2020-02-21 02:30:24 +00:00
|
|
|
default 0xff700000 if ROCKCHIP_RV1126
|
2018-01-20 13:50:15 +00:00
|
|
|
default 0
|
|
|
|
|
help
|
|
|
|
|
The IRAM start addr is to locate variant of the boot device from
|
|
|
|
|
bootrom.
|
|
|
|
|
|
2017-04-20 09:03:46 +00:00
|
|
|
config ROCKCHIP_SPL_RESERVE_IRAM
|
|
|
|
|
hex "Size of IRAM reserved in SPL"
|
2017-12-18 07:13:19 +00:00
|
|
|
default 0
|
2017-04-20 09:03:46 +00:00
|
|
|
help
|
|
|
|
|
SPL may need reserve memory for firmware loaded by SPL, whose load
|
|
|
|
|
address is in IRAM and may overlay with SPL text area if not
|
|
|
|
|
reserved.
|
|
|
|
|
|
2017-02-18 18:46:25 +00:00
|
|
|
config ROCKCHIP_BROM_HELPER
|
|
|
|
|
bool
|
|
|
|
|
|
2017-10-10 14:21:10 +00:00
|
|
|
config SPL_ROCKCHIP_EARLYRETURN_TO_BROM
|
|
|
|
|
bool "SPL requires early-return (for RK3188-style BROM) to BROM"
|
|
|
|
|
depends on SPL && ENABLE_ARM_SOC_BOOT0_HOOK
|
|
|
|
|
help
|
|
|
|
|
Some Rockchip BROM variants (e.g. on the RK3188) load the
|
|
|
|
|
first stage in segments and enter multiple times. E.g. on
|
|
|
|
|
the RK3188, the first 1KB of the first stage are loaded
|
|
|
|
|
first and entered; after returning to the BROM, the
|
|
|
|
|
remainder of the first stage is loaded, but the BROM
|
|
|
|
|
re-enters at the same address/to the same code as previously.
|
|
|
|
|
|
|
|
|
|
This enables support code in the BOOT0 hook for the SPL stage
|
|
|
|
|
to allow multiple entries.
|
|
|
|
|
|
|
|
|
|
config TPL_ROCKCHIP_EARLYRETURN_TO_BROM
|
|
|
|
|
bool "TPL requires early-return (for RK3188-style BROM) to BROM"
|
|
|
|
|
depends on TPL && ENABLE_ARM_SOC_BOOT0_HOOK
|
|
|
|
|
help
|
|
|
|
|
Some Rockchip BROM variants (e.g. on the RK3188) load the
|
|
|
|
|
first stage in segments and enter multiple times. E.g. on
|
|
|
|
|
the RK3188, the first 1KB of the first stage are loaded
|
|
|
|
|
first and entered; after returning to the BROM, the
|
|
|
|
|
remainder of the first stage is loaded, but the BROM
|
|
|
|
|
re-enters at the same address/to the same code as previously.
|
|
|
|
|
|
|
|
|
|
This enables support code in the BOOT0 hook for the TPL stage
|
|
|
|
|
to allow multiple entries.
|
|
|
|
|
|
2016-08-29 11:31:16 +00:00
|
|
|
config SPL_MMC_SUPPORT
|
2017-06-29 09:21:15 +00:00
|
|
|
default y if !SPL_ROCKCHIP_BACK_TO_BROM
|
2016-08-29 11:31:16 +00:00
|
|
|
|
2017-12-07 06:58:47 +00:00
|
|
|
config RKIMG_BOOTLOADER
|
2020-02-19 03:30:25 +00:00
|
|
|
bool "Support for Rockchip platform features"
|
|
|
|
|
default y
|
2017-12-07 06:58:47 +00:00
|
|
|
help
|
2020-02-19 03:30:25 +00:00
|
|
|
Actually this is a compatible configure for code compilation.
|
2017-12-07 06:58:47 +00:00
|
|
|
|
2018-09-06 09:35:16 +00:00
|
|
|
config RKIMG_ANDROID_BOOTMODE_LEGACY
|
|
|
|
|
bool "Support set androidboot.mode with legacy rule"
|
|
|
|
|
depends on RKIMG_BOOTLOADER
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
Rockchip set "androidboot.mode=" as "charger" or boot media for android,
|
|
|
|
|
which is a rockchip private solution(SDK < 8.1) and deprecated.
|
|
|
|
|
|
2017-09-04 08:44:32 +00:00
|
|
|
config ROCKCHIP_RESOURCE_IMAGE
|
|
|
|
|
bool "Enable support for rockchip resource image"
|
2017-11-27 06:51:09 +00:00
|
|
|
depends on RKIMG_BOOTLOADER
|
2018-01-23 13:01:05 +00:00
|
|
|
default y
|
2017-09-04 08:44:32 +00:00
|
|
|
help
|
|
|
|
|
This enables support to get dtb or logo files from
|
|
|
|
|
rockchip resource image format partition.
|
|
|
|
|
|
2019-11-04 12:28:11 +00:00
|
|
|
config ROCKCHIP_DTB_VERIFY
|
|
|
|
|
bool "Enable hash verify for DTB in the resource file"
|
|
|
|
|
depends on ROCKCHIP_RESOURCE_IMAGE
|
|
|
|
|
select SHA1 if !DM_CRYPTO
|
|
|
|
|
select SHA256 if !DM_CRYPTO
|
|
|
|
|
default y
|
|
|
|
|
help
|
|
|
|
|
This enables the hash verify for DTB in the resource file, it means we
|
|
|
|
|
always read DTB from second position even the DTB position is present.
|
|
|
|
|
|
2019-10-21 02:09:21 +00:00
|
|
|
config ROCKCHIP_USB_BOOT
|
|
|
|
|
bool "Enable support for rockchip U-disk boot"
|
|
|
|
|
depends on USB
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enables support for rockchip U-disk boot.
|
|
|
|
|
|
2020-01-15 07:41:56 +00:00
|
|
|
config ROCKCHIP_FIT_IMAGE
|
|
|
|
|
bool "Enable support for FIT image"
|
|
|
|
|
depends on FIT && USING_KERNEL_DTB
|
|
|
|
|
select CMD_BOOT_FIT
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enables loading dtb from fit image.
|
|
|
|
|
|
2020-02-07 04:03:32 +00:00
|
|
|
config ROCKCHIP_UIMAGE
|
|
|
|
|
bool "Enable support for legacy uImage"
|
|
|
|
|
depends on !FIT_SIGNATURE && USING_KERNEL_DTB
|
|
|
|
|
select CMD_BOOT_UIMAGE
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enables loading dtb from uImage image.
|
|
|
|
|
|
2019-04-02 05:13:31 +00:00
|
|
|
config ROCKCHIP_EARLY_DISTRO_DTB
|
|
|
|
|
bool "Enable support for distro dtb early"
|
2020-01-14 01:15:21 +00:00
|
|
|
depends on DISTRO_DEFAULTS && USING_KERNEL_DTB && CMD_FS_GENERIC
|
2019-04-02 05:13:31 +00:00
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enables loading dtb from distro bootable partition when there
|
|
|
|
|
is no valid dtb in android boot.img and rockchip resource.img.
|
|
|
|
|
|
|
|
|
|
if ROCKCHIP_EARLY_DISTRO_DTB
|
|
|
|
|
|
|
|
|
|
config ROCKCHIP_EARLY_DISTRO_DTB_PATH
|
|
|
|
|
string "/rk-kernel.dtb"
|
|
|
|
|
help
|
|
|
|
|
"DTB file path in the bootable partition image"
|
|
|
|
|
endif
|
|
|
|
|
|
2019-11-05 10:50:57 +00:00
|
|
|
config ROCKCHIP_HWID_DTB
|
|
|
|
|
bool "Enable support for selecting DTB by hardware id"
|
|
|
|
|
depends on ROCKCHIP_RESOURCE_IMAGE
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enables select the expected DTB from sets by hardware id,
|
|
|
|
|
i.e. GPIO or ADC value.
|
|
|
|
|
|
2017-10-20 02:40:37 +00:00
|
|
|
config ROCKCHIP_VENDOR_PARTITION
|
2017-12-08 02:19:47 +00:00
|
|
|
bool "Rockchip vendor storage partition support"
|
|
|
|
|
depends on RKIMG_BOOTLOADER
|
|
|
|
|
help
|
|
|
|
|
This enable support to read/write vendor configuration data from/to
|
|
|
|
|
this partition.
|
2017-10-20 02:40:37 +00:00
|
|
|
|
2018-02-07 03:10:27 +00:00
|
|
|
config USING_KERNEL_DTB
|
|
|
|
|
bool "Using dtb from Kernel/resource for U-Boot"
|
|
|
|
|
depends on RKIMG_BOOTLOADER && OF_LIVE
|
|
|
|
|
default y
|
|
|
|
|
help
|
|
|
|
|
This enable support to read dtb from resource and use it for U-Boot,
|
|
|
|
|
the uart and emmc will still using U-Boot dtb, but other devices like
|
|
|
|
|
regulator/pmic, display, usb will use dts node from kernel.
|
|
|
|
|
|
2017-12-07 08:02:43 +00:00
|
|
|
config ROCKCHIP_CRC
|
|
|
|
|
bool "Rockchip CRC verify images"
|
|
|
|
|
help
|
|
|
|
|
This enable support Rockchip CRC verify images. It takes a lot of time,
|
|
|
|
|
so it is better only used for debug.
|
|
|
|
|
|
2017-11-27 08:56:36 +00:00
|
|
|
config ROCKCHIP_SMCCC
|
|
|
|
|
bool "Rockchip SMCCC"
|
|
|
|
|
default y if ARM_SMCCC
|
|
|
|
|
help
|
|
|
|
|
This enable support for Rockchip SMC calls
|
|
|
|
|
|
2018-06-07 04:01:09 +00:00
|
|
|
config ROCKCHIP_DEBUGGER
|
|
|
|
|
bool "Rockchip debugger"
|
|
|
|
|
depends on IRQ
|
|
|
|
|
help
|
|
|
|
|
This enable support for Rockchip debugger. Now we install a timer interrupt
|
|
|
|
|
and dump pt_regs when the timeout event trigger. This helps us to know cpu
|
|
|
|
|
state when system hang.
|
|
|
|
|
|
2018-07-13 07:25:59 +00:00
|
|
|
config ROCKCHIP_CRASH_DUMP
|
|
|
|
|
bool "Rockchip crash dump registers"
|
|
|
|
|
help
|
|
|
|
|
This enable dump registers when system crash, the registers you would like
|
|
|
|
|
to dump can be added in show_regs().
|
|
|
|
|
|
2018-08-23 09:43:13 +00:00
|
|
|
config ROCKCHIP_PRELOADER_ATAGS
|
|
|
|
|
bool "Rockchip pre-loader atags"
|
|
|
|
|
default y if ARCH_ROCKCHIP
|
|
|
|
|
help
|
|
|
|
|
This enable support Rockchip atags among pre-loaders, i.e. ddr, miniloader, ATF,
|
|
|
|
|
tos, U-Boot, etc. It delivers boot and configure information, shared with pre-loaders
|
|
|
|
|
and finally ends with U-Boot.
|
|
|
|
|
|
2018-10-09 11:45:00 +00:00
|
|
|
config ROCKCHIP_PRELOADER_SERIAL
|
|
|
|
|
bool "Rockchip pre-loader serial"
|
|
|
|
|
default y if ROCKCHIP_PRELOADER_ATAGS
|
|
|
|
|
help
|
|
|
|
|
This enable U-Boot using pre-loader atags serial configure to initialize console.
|
|
|
|
|
It denpends on serial aliases to find pre-loader serial number.
|
|
|
|
|
|
2020-04-08 11:41:35 +00:00
|
|
|
config ROCKCHIP_FIT_IMAGE_PACK
|
|
|
|
|
bool "Rockchip fit image pack of U-Boot and TEE"
|
2020-06-09 11:36:21 +00:00
|
|
|
depends on ROCKCHIP_FIT_IMAGE
|
2020-04-08 11:41:35 +00:00
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
This enable fit image pack of U-Boot and TEE, it's used for make.sh script.
|
|
|
|
|
|
2020-05-25 08:45:32 +00:00
|
|
|
config ROCKCHIP_UART_MUX_SEL_M
|
|
|
|
|
int "UART mux select"
|
|
|
|
|
default 0
|
|
|
|
|
depends on TPL
|
|
|
|
|
help
|
|
|
|
|
This select uart multiplexer for debug uart iomux in board_debug_uart_init.
|
|
|
|
|
|
2021-01-25 01:38:23 +00:00
|
|
|
config ROCKCHIP_REBOOT_TEST
|
|
|
|
|
bool "Rockchip reboot stress test before kernel"
|
|
|
|
|
default n
|
|
|
|
|
help
|
|
|
|
|
It's a reboot stress test before kernel stages.
|
|
|
|
|
|
2020-07-10 01:16:49 +00:00
|
|
|
config BASE_DEFCONFIG
|
|
|
|
|
string "Base defconfig of config fragment"
|
|
|
|
|
default ""
|
|
|
|
|
help
|
|
|
|
|
Indicate the base defconfig of config fragment.
|
|
|
|
|
|
2020-07-10 01:17:46 +00:00
|
|
|
config LOADER_INI
|
|
|
|
|
string "Name of Loader ini file in rkbin repository"
|
|
|
|
|
default ""
|
|
|
|
|
help
|
|
|
|
|
The ini file is used to pack loader image.
|
|
|
|
|
|
|
|
|
|
config TRUST_INI
|
|
|
|
|
string "Name of Trust ini file in rkbin repository"
|
|
|
|
|
default ""
|
|
|
|
|
help
|
|
|
|
|
The ini file is used to pack trust image.
|
|
|
|
|
|
2017-09-25 07:24:33 +00:00
|
|
|
config GICV2
|
|
|
|
|
bool "ARM GICv2"
|
|
|
|
|
|
|
|
|
|
config GICV3
|
|
|
|
|
bool "ARM GICv3"
|
|
|
|
|
|
2018-01-22 07:14:22 +00:00
|
|
|
source "arch/arm/mach-rockchip/px30/Kconfig"
|
2015-11-17 06:20:27 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3036/Kconfig"
|
2017-08-17 13:13:11 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3066/Kconfig"
|
2017-03-10 03:01:51 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3128/Kconfig"
|
2017-02-18 18:46:36 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3188/Kconfig"
|
2017-06-23 09:17:54 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk322x/Kconfig"
|
2016-07-15 22:17:15 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3288/Kconfig"
|
2018-02-28 06:08:23 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3308/Kconfig"
|
2017-02-23 07:37:51 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3328/Kconfig"
|
2017-05-15 09:51:18 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3368/Kconfig"
|
2016-07-19 13:16:59 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3399/Kconfig"
|
2020-10-22 07:53:14 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk3568/Kconfig"
|
2018-08-07 01:21:12 +00:00
|
|
|
source "arch/arm/mach-rockchip/rk1808/Kconfig"
|
2017-06-01 10:00:55 +00:00
|
|
|
source "arch/arm/mach-rockchip/rv1108/Kconfig"
|
2020-02-21 02:30:24 +00:00
|
|
|
source "arch/arm/mach-rockchip/rv1126/Kconfig"
|
2019-11-19 07:28:24 +00:00
|
|
|
|
2015-08-30 22:55:38 +00:00
|
|
|
endif
|