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>
This commit is contained in:
rick 2017-08-28 13:31:48 +08:00 committed by Andes
parent d573b36402
commit 19fc21fb4a
2 changed files with 2 additions and 1 deletions

View 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) || \

View 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;