summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2017-02-15 20:34:15 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-02-27 08:33:14 +0100
commit4c29a9511b0d95780c914d1b4277dae4061786d2 (patch)
tree88ce3440f17aff14fde1ffc5b4026c202955f8d4 /common
parent64db2d497ca4e1db7be08e303c17ed92c99af897 (diff)
downloadbarebox-4c29a9511b0d95780c914d1b4277dae4061786d2.tar.gz
barebox-4c29a9511b0d95780c914d1b4277dae4061786d2.tar.xz
efi: move x86 efi boot support to x86 arch
prepare to drop the efi arch as efi boot up is not arch sepecific Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r--common/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/memory.c b/common/memory.c
index 4725f6e382..ad38b00ecb 100644
--- a/common/memory.c
+++ b/common/memory.c
@@ -67,7 +67,7 @@ void mem_malloc_init(void *start, void *end)
mem_malloc_initialized = 1;
}
-#if !defined __SANDBOX__ && !defined CONFIG_ARCH_EFI
+#if !defined __SANDBOX__ && !defined CONFIG_EFI_BOOTUP
static int mem_malloc_resource(void)
{
/*