[U-Boot] [PATCH] Devkit8000: Fix compilation after changes in dm9000

Thomas Weber weber at corscience.de
Fri May 7 16:26:06 CEST 2010


In commit a45dde2293c816138e53c26eca6fd0322583f9a6 the I/O accessor for
the DM9000 is changed.

The definition of __io is required to use the standard I/O accessors from
asm/io.h.

Signed-off-by: Thomas Weber <weber at corscience.de>
---
 include/configs/devkit8000.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/configs/devkit8000.h b/include/configs/devkit8000.h
index 7d1332f..6e53c0d 100644
--- a/include/configs/devkit8000.h
+++ b/include/configs/devkit8000.h
@@ -31,6 +31,7 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
+
 /* High Level Configuration Options */
 #define CONFIG_ARMCORTEXA8	1	/* This is an ARM V7 CPU core */
 #define CONFIG_OMAP		1	/* in a TI OMAP core */
@@ -79,6 +80,7 @@
 #define	CONFIG_DM9000_USE_16BIT		1
 #define CONFIG_DM9000_NO_SROM		1
 #undef	CONFIG_DM9000_DEBUG
+#define __io
 
 /* NS16550 Configuration */
 #define CONFIG_SYS_NS16550
-- 
1.6.4.4



More information about the U-Boot mailing list