
On Tue, Jan 17, 2017 at 11:24 AM, Bin Meng bmeng.cn@gmail.com wrote:
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
Fixed the style error reported by checkpatch,
ERROR: trailing statements should be on next line #219: FILE: arch/x86/lib/spl.c:152: + while (1);
and applied to u-boot-x86, thanks!