diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-09-24 11:54:37 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-10-27 08:01:36 +0100 |
commit | f5d8b1a1f9f08911636dc095c7f4f281a0dfc59d (patch) | |
tree | 6edf2b441599710a6880422309a30076217d095d /include | |
parent | 627085eacf4a64824fd0bfa2f6f9c1a72d48d21f (diff) | |
download | u-boot-f5d8b1a1f9f08911636dc095c7f4f281a0dfc59d.zip u-boot-f5d8b1a1f9f08911636dc095c7f4f281a0dfc59d.tar.gz u-boot-f5d8b1a1f9f08911636dc095c7f4f281a0dfc59d.tar.bz2 |
microblaze: start.S: Use board_init_f_alloc/init in early init
Implement early init by calling generic board_init_f_alloc_reserve and
board_init_f_init_reserve functions:
* drop SYS_MALLOC_F_LEN related code, as allocation and gd->malloc_base
assignment are taken care of by the generic functions
* drop _gd logic
Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/microblaze-generic.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index 8ca0e83..dfc2cd9 100644 --- a/include/configs/microblaze-generic.h +++ b/include/configs/microblaze-generic.h @@ -167,8 +167,7 @@ #define CONFIG_SYS_INIT_RAM_SIZE 0x100000 # define CONFIG_SPL_STACK_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ - CONFIG_SYS_INIT_RAM_SIZE - \ - CONFIG_SYS_MALLOC_F_LEN) + CONFIG_SYS_INIT_RAM_SIZE) /* Just for sure that there is a space for stack */ #define CONFIG_SPL_STACK_SIZE 0x100 |