[U-Boot] [PATCH v3 31/62] x86: Add an SPL implementation
Bin Meng
bmeng.cn at gmail.com
Tue Jan 17 04:50:57 CET 2017
On Tue, Jan 17, 2017 at 11:24 AM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Mon, Jan 16, 2017 at 10:03 PM, Simon Glass <sjg at 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 at 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 at 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!
More information about the U-Boot
mailing list