
17 Jan
2017
17 Jan
'17
4:24 a.m.
On Mon, Jan 16, 2017 at 10:03 PM, Simon Glass sjg@chromium.org wrote:
SPL needs to set up the machine ready for loading 64-bit U-Boot and jumping to it. Call the existing init routines in order to accomplish this.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Update copyright year
- Drop duplicate line in header commment
- Add a comment about stack position to x86_spl_init()
- Add a parameter to the use of the SPL_LOAD_IMAGE_METHOD() macro
- Fix printf() warning in spl_board_load_image()
Changes in v2: None
arch/x86/include/asm/spl.h | 8 +++ arch/x86/lib/Makefile | 1 + arch/x86/lib/spl.c | 153 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 arch/x86/include/asm/spl.h create mode 100644 arch/x86/lib/spl.c
Reviewed-by: Bin Meng bmeng.cn@gmail.com