summaryrefslogtreecommitdiff
path: root/arch/x86/lib/relocate.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2013-05-13 18:17:39 -0400
committerTom Rini <trini@ti.com>2013-05-13 18:17:39 -0400
commita661b99dbc35e725f229a7b8e189ca21304ba026 (patch)
treeb3f329efb8cda7a47db2b0e7bbbf6454a3e76db8 /arch/x86/lib/relocate.c
parenta7e62be09189dae3a16882e53f15c38754f9db91 (diff)
parent8f0278eab4410de57ea6a32a8e5a50614a28084f (diff)
downloadu-boot-imx-a661b99dbc35e725f229a7b8e189ca21304ba026.zip
u-boot-imx-a661b99dbc35e725f229a7b8e189ca21304ba026.tar.gz
u-boot-imx-a661b99dbc35e725f229a7b8e189ca21304ba026.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'arch/x86/lib/relocate.c')
-rw-r--r--arch/x86/lib/relocate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/lib/relocate.c b/arch/x86/lib/relocate.c
index f178db9..21982db 100644
--- a/arch/x86/lib/relocate.c
+++ b/arch/x86/lib/relocate.c
@@ -39,6 +39,8 @@
#include <asm/sections.h>
#include <elf.h>
+DECLARE_GLOBAL_DATA_PTR;
+
int copy_uboot_to_ram(void)
{
size_t len = (size_t)&__data_end - (size_t)&__text_start;