aboutsummaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/include/asm/bootm.h2
-rw-r--r--arch/nds32/lib/bootm.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/include/asm/bootm.h b/arch/nds32/include/asm/bootm.h
index 6b10c07..2e2fe01 100644
--- a/arch/nds32/include/asm/bootm.h
+++ b/arch/nds32/include/asm/bootm.h
@@ -11,6 +11,8 @@
#ifndef NDS32_BOOTM_H
#define NDS32_BOOTM_H
+#include <asm/setup.h>
+
extern void udc_disconnect(void);
#if defined(CONFIG_SETUP_MEMORY_TAGS) || \
diff --git a/arch/nds32/lib/bootm.c b/arch/nds32/lib/bootm.c
index e834329..42b15df 100644
--- a/arch/nds32/lib/bootm.c
+++ b/arch/nds32/lib/bootm.c
@@ -12,7 +12,6 @@
#include <u-boot/zlib.h>
#include <asm/byteorder.h>
#include <asm/bootm.h>
-#include <asm/setup.h>
DECLARE_GLOBAL_DATA_PTR;