-
- Downloads
lib_arch/board.c: Move malloc initialization before flash_init()
This patch moves the malloc initialization before calling flash_init().
Upcoming changes to the NOR FLASH common CFI driver with optional
MTD infrastructure and MTD concatenation support will call malloc().
And nothing really speaks against enabling malloc just a little earlier
in the boot stage. Some architectures already enable malloc before
calling flash_init() so they don't need any changes here.
Signed-off-by:
Stefan Roese <sr@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Cc: Scott McNutt <smcnutt@psyent.com>
Cc: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Daniel Hellstrom <daniel@gaisler.com>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: John Rigby <jcrigby@gmail.com>
Showing
- lib_arm/board.c 3 additions, 3 deletionslib_arm/board.c
- lib_blackfin/board.c 4 additions, 3 deletionslib_blackfin/board.c
- lib_m68k/board.c 4 additions, 4 deletionslib_m68k/board.c
- lib_mips/board.c 4 additions, 4 deletionslib_mips/board.c
- lib_nios/board.c 4 additions, 2 deletionslib_nios/board.c
- lib_nios2/board.c 4 additions, 2 deletionslib_nios2/board.c
- lib_ppc/board.c 4 additions, 4 deletionslib_ppc/board.c
- lib_sh/board.c 1 addition, 1 deletionlib_sh/board.c
- lib_sparc/board.c 4 additions, 5 deletionslib_sparc/board.c
Loading
Please register or sign in to comment