From: Eddie Cai Date: Thu, 23 Feb 2017 09:59:44 +0800 Subject: [U-Boot] [U-Boot 0/2] add spl_early_init to fix rk3288 board broken issue Message-ID: <1487815186-24437-1-git-send-email-eddie.cai.linux@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Andrew F. Davis's below patch broke rk3288 based board. that is because we call spl_init in board_init_f which is at very early stage. What Andrew want to fix is calling spl_init very late. That patch will make malloc_base, limit, ptr not initualized in spl_init when we call spl_init in board_init_f. This patch set add spl_early_init. it can be called in board_init_f. So we can fix this issue by using spl_early_init. commit b3d2861eb20a795b99292b823c923935df26dfc6 Author: Andrew F. Davis Date: Fri Jan 27 10:39:19 2017 -0600 spl: Remove overwrite of relocated malloc limit Eddie Cai (2): spl: add spl_early_init rockchip: use spl_early_init instead of spl_init arch/arm/mach-rockchip/rk3288-board-spl.c | 2 +- common/spl/spl.c | 54 ++++++++++++++++++++++++++----- include/asm-generic/global_data.h | 1 + include/spl.h | 12 ++++++- 4 files changed, 59 insertions(+), 10 deletions(-) -- 2.7.4