arm: Add warnings about using gdata
authorSimon Glass <sjg@chromium.org>
Tue, 23 Dec 2014 19:04:51 +0000 (12:04 -0700)
committerTom Rini <trini@ti.com>
Fri, 16 Jan 2015 19:52:52 +0000 (14:52 -0500)
commit480ca13e74ddec62540079ddeb689cf275b3073f
treea46a1de02e33207faf28238c378523ba60507d2d
parenta6b541b09022acb6f7c2754100ae26bd44eed1d9
arm: Add warnings about using gdata

We need to get rid of this SPL-specific setting of the global_data pointer.
It is already set up in start.S immediately before board_init_f() is called,
and there may be information there that is needed (e.g. pre-reloc malloc
info).

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/lib/spl.c