]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
microblaze: Fix gd_t address which is placed at the end of BRAM
authorMichal Simek <michal.simek@xilinx.com>
Tue, 27 Jan 2015 13:06:14 +0000 (14:06 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 10:59:16 +0000 (12:59 +0200)
commite8afb60b9e0fc98247aa51caa32c515c38595865
tree4d0e4300162af3d28e01245c19b0c95b4b2c8f27
parentb8bec5c3f398c7019d6e43c71407aa093845ebb7
microblaze: Fix gd_t address which is placed at the end of BRAM

Setup gd from ASM to be availalbe for board_init_r.
Setting it up in spl_board_init is too late when
MALLOC is used.
Space for gd is located behind MALLOC area at the end of BRAM.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/cpu/spl.c
arch/microblaze/cpu/start.S