]> git.baikalelectronics.ru Git - uboot.git/commit
rockchip: enable SPL_LIBGENERIC for rk3036 based boards
authorAndy Yan <andy.yan@rock-chips.com>
Mon, 24 Jul 2017 09:51:30 +0000 (17:51 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Thu, 27 Jul 2017 12:59:04 +0000 (14:59 +0200)
commitd0b95eb4c11f067e734025d4531a8bcac5d15bd5
tree4e69b16e1d90241a0dae60b53fde11a423373701
parent976302a06b384e52e1487200118eb4f691920c2c
rockchip: enable SPL_LIBGENERIC for rk3036 based boards

function board_init_f_init_reserve will call memset, which
is implemented in lib, and enabled by CONFIG_SPL_LIBGENERIC_SUPPORT
in spl stage.
To reduce the code size, also enable SPL_TINY_MEMSET.
As rk3036 will return to bootrom immediately after dram
initialization, there is no need to run DM, so disable
SPL_DM_SERIAL.

Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3036-board-spl.c
configs/evb-rk3036_defconfig
configs/kylin-rk3036_defconfig