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)
commitd26bfa73ed7bebfab81d6b4160883f026db58c76
tree4e69b16e1d90241a0dae60b53fde11a423373701
parent8b154ed61c4fff2e286c1a658d948de816f8eb31
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