Skip to content
Snippets Groups Projects
Commit 3a53e99c authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

nds32: Remove include files from common.h


With a few tweaks we can avoid including these files, which are only
needed by two C files.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 3ff240c9
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
#include <u-boot/zlib.h> #include <u-boot/zlib.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <asm/bootm.h> #include <asm/bootm.h>
#include <asm/setup.h>
DECLARE_GLOBAL_DATA_PTR; DECLARE_GLOBAL_DATA_PTR;
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
#include <netdev.h> #include <netdev.h>
#endif #endif
#include <linux/io.h> #include <linux/io.h>
#include <asm/io.h>
#include <asm/mach-types.h>
#include <faraday/ftsdc010.h> #include <faraday/ftsdc010.h>
#include <faraday/ftsmc020.h> #include <faraday/ftsmc020.h>
......
...@@ -430,11 +430,6 @@ static inline int setenv_addr(const char *varname, const void *addr) ...@@ -430,11 +430,6 @@ static inline int setenv_addr(const char *varname, const void *addr)
# include <asm/setup.h> # include <asm/setup.h>
# include <asm/u-boot.h> # include <asm/u-boot.h>
#endif /* CONFIG_ARM */ #endif /* CONFIG_ARM */
#ifdef CONFIG_NDS32
# include <asm/mach-types.h>
# include <asm/setup.h>
# include <asm/u-boot.h>
#endif /* CONFIG_NDS32 */
#ifdef CONFIG_AUTO_COMPLETE #ifdef CONFIG_AUTO_COMPLETE
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf); int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment