summaryrefslogtreecommitdiff
path: root/include/fsl_sec.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2016-05-30 17:10:53 +0200
committerMarek Vasut <marex@denx.de>2016-06-01 22:44:14 +0200
commit1254667689a5a4accc149fef6ff69da760001b2b (patch)
tree30571ee02beeabcbe418a06fd3d22028ccc792af /include/fsl_sec.h
parent569a191a864cee66e3d0763179e8688499de0377 (diff)
downloadu-boot-imx-1254667689a5a4accc149fef6ff69da760001b2b.zip
u-boot-imx-1254667689a5a4accc149fef6ff69da760001b2b.tar.gz
u-boot-imx-1254667689a5a4accc149fef6ff69da760001b2b.tar.bz2
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>
Diffstat (limited to 'include/fsl_sec.h')
0 files changed, 0 insertions, 0 deletions