summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-03-07 12:58:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-03-14 08:41:40 +0100
commit7a76f0607bef50e4439d162e577007aa74f51a5f (patch)
tree7a9e912b6428fcdf27982a02877ea367c9588bd1 /arch/x86/boot
parent1d9547773cd0e39472760e1eab21c3ff86c08db7 (diff)
downloadbarebox-7a76f0607bef50e4439d162e577007aa74f51a5f.tar.gz
barebox-7a76f0607bef50e4439d162e577007aa74f51a5f.tar.xz
x86: initialize malloc pool before start_barebox()
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/main_entry.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/boot/main_entry.c b/arch/x86/boot/main_entry.c
index f7f4710c44..afb7e32dfc 100644
--- a/arch/x86/boot/main_entry.c
+++ b/arch/x86/boot/main_entry.c
@@ -22,7 +22,7 @@
#include <string.h>
#include <asm/sections.h>
-extern void start_barebox(void);
+extern void x86_start_barebox(void);
/**
* Called plainly from assembler that switches from real to flat mode
@@ -33,5 +33,5 @@ void uboot_entry(void)
{
/* clear the BSS first */
memset(__bss_start, 0x00, __bss_stop - __bss_start);
- start_barebox();
+ x86_start_barebox();
}