]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nds32: bootm: Fix warning of struct tag_serialnr declared
authorrick <rick@andestech.com>
Mon, 28 Aug 2017 05:31:48 +0000 (13:31 +0800)
committerAndes <uboot@andestech.com>
Thu, 21 Sep 2017 02:30:22 +0000 (10:30 +0800)
move #include <asm/setup.h> from bootm.c to bootm.h

Signed-off-by: rick <rick@andestech.com>
arch/nds32/include/asm/bootm.h
arch/nds32/lib/bootm.c

index 6b10c078dfd2754ff59a913b561b5be5d8ffa605..2e2fe01f0e630374e4cfa4f20ccad544a876567c 100644 (file)
@@ -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) || \
index e834329e0b68db16f3f9ae726d5a0816162b5c5b..42b15dfcbfc0edf09652bc01b23fa0a86647d5b7 100644 (file)
@@ -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;