u-boot-brain/common/spl
Marek Vasut 1254667689 spl: Remove bogus GD_FLG_SPL_INIT check
Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd().
The check will always fail. This is because spl_relocate_stack_gd()
is called from ARM's crt0.S and it is called before board_init_r().
The board_init_r() calls spl_init(), which sets the GD_FLG_SPL_INIT
flag.

Note that reserving the malloc area in RAM is not a problem even
if the GD_FLG_SPL_INIT flag is not set.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Stephen Warren <swarren@nvidia.com>
2016-06-01 22:44:14 +02:00
..
Makefile spl: Add an option to load a FIT containing U-Boot 2016-03-14 19:18:30 -04:00
spl_ext.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_fat.c spl: Support loading a FIT from FAT FS 2016-05-27 15:41:40 -04:00
spl_fit.c spl: fit: Fix load address of fit header 2016-06-01 07:12:38 -04:00
spl_mmc.c Merge git://git.denx.de/u-boot-dm 2016-05-27 20:34:12 -04:00
spl_nand.c spl: Support loading a FIT from NAND 2016-05-27 15:47:14 -04:00
spl_net.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_nor.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_onenand.c SPL: Let spl_parse_image_header() return value 2016-05-17 17:52:20 +02:00
spl_sata.c dm: scsi: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_usb.c dm: usb: Drop the get_dev() function 2016-05-17 09:54:43 -06:00
spl_ymodem.c spl: Add an option to load a FIT containing U-Boot from UART 2016-05-27 15:47:42 -04:00
spl.c spl: Remove bogus GD_FLG_SPL_INIT check 2016-06-01 22:44:14 +02:00