mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
rockchip: rk3188: rock: adjust for SPL/TPL split
With the changes to split SPL/TPL for the RK3368, I apparently missed some needed adjustments to the RK3188 Kconfig and rock_defconfig. This fixes build-issues for the rock board after applying the RK3368 enablement (and SPL/TPL) set that resulted from TPL_SERIAL_SUPPORT, TPL_ROCKCHIP_BACK_TO_BROM and TPL_TINY_MEMSET being separate symbols now. Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c72c161bc0
commit
96b9082c64
4 changed files with 14 additions and 4 deletions
|
@ -35,7 +35,9 @@ obj-y += rk_timer.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
|
obj-$(CONFIG_ROCKCHIP_RK3036) += rk3036/
|
||||||
obj-tpl-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
|
ifndef CONFIG_TPL_BUILD
|
||||||
|
obj-$(CONFIG_ROCKCHIP_RK3188) += rk3188/
|
||||||
|
endif
|
||||||
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
|
obj-$(CONFIG_ROCKCHIP_RK322X) += rk322x/
|
||||||
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
obj-$(CONFIG_ROCKCHIP_RK3288) += rk3288/
|
||||||
obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
|
obj-$(CONFIG_ROCKCHIP_RK3328) += rk3328/
|
||||||
|
|
|
@ -30,9 +30,6 @@ config TPL_LIBCOMMON_SUPPORT
|
||||||
config TPL_LIBGENERIC_SUPPORT
|
config TPL_LIBGENERIC_SUPPORT
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config TPL_SERIAL_SUPPORT
|
|
||||||
default y
|
|
||||||
|
|
||||||
source "board/radxa/rock/Kconfig"
|
source "board/radxa/rock/Kconfig"
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -5,6 +5,7 @@ CONFIG_ARCH_ROCKCHIP=y
|
||||||
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
||||||
CONFIG_ROCKCHIP_RK3188=y
|
CONFIG_ROCKCHIP_RK3188=y
|
||||||
CONFIG_SPL_ROCKCHIP_BACK_TO_BROM=y
|
CONFIG_SPL_ROCKCHIP_BACK_TO_BROM=y
|
||||||
|
CONFIG_TPL_ROCKCHIP_BACK_TO_BROM=y
|
||||||
CONFIG_TARGET_ROCK=y
|
CONFIG_TARGET_ROCK=y
|
||||||
CONFIG_SPL_STACK_R_ADDR=0x60080000
|
CONFIG_SPL_STACK_R_ADDR=0x60080000
|
||||||
CONFIG_DEFAULT_DEVICE_TREE="rk3188-radxarock"
|
CONFIG_DEFAULT_DEVICE_TREE="rk3188-radxarock"
|
||||||
|
@ -49,5 +50,6 @@ CONFIG_DEBUG_UART_SHIFT=2
|
||||||
CONFIG_SYS_NS16550=y
|
CONFIG_SYS_NS16550=y
|
||||||
CONFIG_SYSRESET=y
|
CONFIG_SYSRESET=y
|
||||||
CONFIG_SPL_TINY_MEMSET=y
|
CONFIG_SPL_TINY_MEMSET=y
|
||||||
|
CONFIG_TPL_TINY_MEMSET=y
|
||||||
CONFIG_CMD_DHRYSTONE=y
|
CONFIG_CMD_DHRYSTONE=y
|
||||||
CONFIG_ERRNO_STR=y
|
CONFIG_ERRNO_STR=y
|
||||||
|
|
|
@ -61,6 +61,15 @@ config SPL_TINY_MEMSET
|
||||||
size-constrained envrionments even this may be too big. Enable this
|
size-constrained envrionments even this may be too big. Enable this
|
||||||
option to reduce code size slightly at the cost of some speed.
|
option to reduce code size slightly at the cost of some speed.
|
||||||
|
|
||||||
|
config TPL_TINY_MEMSET
|
||||||
|
bool "Use a very small memset() in TPL"
|
||||||
|
help
|
||||||
|
The faster memset() is the arch-specific one (if available) enabled
|
||||||
|
by CONFIG_USE_ARCH_MEMSET. If that is not enabled, we can still get
|
||||||
|
better performance by writing a word at a time. But in very
|
||||||
|
size-constrained envrionments even this may be too big. Enable this
|
||||||
|
option to reduce code size slightly at the cost of some speed.
|
||||||
|
|
||||||
config RBTREE
|
config RBTREE
|
||||||
bool
|
bool
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue