summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorrick <rick@andestech.com>2017-08-28 13:31:48 +0800
committerAndes <uboot@andestech.com>2017-09-21 10:30:22 +0800
commit19fc21fb4af34dea1150e1cfbd64f5ccfc88a2b5 (patch)
treed98c3763b6cefb3332ac502c4611de26d2f41e5f /arch/nds32
parentd573b36402ba40fc0b0939037ec4c90337597740 (diff)
nds32: bootm: Fix warning of struct tag_serialnr declared
move #include <asm/setup.h> from bootm.c to bootm.h Signed-off-by: rick <rick@andestech.com>
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 6b10c078df..2e2fe01f0e 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 e834329e0b..42b15dfcbf 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;