[U-Boot] [PATCH 1/2 v4] m68k: add malloc memory for early malloc

Simon Glass sjg at chromium.org
Fri Apr 29 18:21:21 CEST 2016


On 29 April 2016 at 08:02, Simon Glass <sjg at chromium.org> wrote:
> On 27 April 2016 at 13:50, Angelo Dureghello <angelo at sysam.it> wrote:
>> To use serial uclass and DM, CONFIG_SYS_MALLOC_F must be used.
>> So CONFIG_SYS_GENERIC_GLOBAL_DATA has been undefined and
>> call to board_init_f_mem() is added for all cpu's.
>>
>> Signed-off-by: Angelo Dureghello <angelo at sysam.it>
>> ---
>> Changes for v2:
>>    - none
>> Changes for v3:
>>    - fix start.S using new board_init_f_alloc_reserve
>> Changes for v4:
>>    - fix start.S for correct passage of boot_args to board_init_f
>> ---
>>  arch/m68k/cpu/mcf5227x/start.S   | 25 ++++++++++++++++++++-----
>>  arch/m68k/cpu/mcf523x/start.S    | 27 ++++++++++++++++++++++-----
>>  arch/m68k/cpu/mcf52x2/start.S    | 26 ++++++++++++++++++++++----
>>  arch/m68k/cpu/mcf530x/cpu_init.c |  2 +-
>>  arch/m68k/cpu/mcf530x/start.S    | 25 ++++++++++++++++++-------
>>  arch/m68k/cpu/mcf532x/start.S    | 27 ++++++++++++++++++++++-----
>>  arch/m68k/cpu/mcf5445x/start.S   | 27 ++++++++++++++++++++++-----
>>  arch/m68k/cpu/mcf547x_8x/start.S | 25 ++++++++++++++++++++-----
>>  arch/m68k/include/asm/config.h   |  2 --
>>  9 files changed, 147 insertions(+), 39 deletions(-)
>
> Acked-by: Simon Glass <sjg at chromium.org>

Applied to u-boot-dm, thanks!

(Note, this is now too late for the release)


More information about the U-Boot mailing list