summaryrefslogtreecommitdiff
path: root/common/board_f.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-17 09:28:44 -0600
committerTom Rini <trini@konsulko.com>2015-08-17 17:19:18 -0400
commit2212e69bc09ac42593794b030d64415293e141ec (patch)
treed7c1dee76f9d46f3e0e3a4cc80dee21531d2f101 /common/board_f.c
parent58243001a9419d9d1671e32611b7d15f6ed64b3a (diff)
Revert "Align global_data to a 16-byte boundary"
This causes widespread breakage due to the operation of the low-level code in crt0.S and cro0_64.S for ARM at least. The fix is not complicated but it seems safer to revert this for now. This reverts commit 2afddae07523f23f77acd066ad1719f53d289f98. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common/board_f.c')
-rw-r--r--common/board_f.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/common/board_f.c b/common/board_f.c
index c959774adff..a2be57756a1 100644
--- a/common/board_f.c
+++ b/common/board_f.c
@@ -499,7 +499,6 @@ static int setup_machine(void)
static int reserve_global_data(void)
{
gd->start_addr_sp -= sizeof(gd_t);
- gd->start_addr_sp &= ~0xf;
gd->new_gd = (gd_t *)map_sysmem(gd->start_addr_sp, sizeof(gd_t));
debug("Reserving %zu Bytes for Global Data at: %08lx\n",
sizeof(gd_t), gd->start_addr_sp);