[U-Boot] [PATCH 8/9] ColdFire:Define the DM9000 byteswap for M5253 board.
Jason Jin
Jason.jin at freescale.com
Mon Aug 22 03:39:45 CEST 2011
The M5253DEMO board swapped the io pins which make
the standard IO function did not work for dm9000.
Define the byte swap to use raw io for dm9000.
Signed-off-by: Jason Jin <Jason.jin at freescale.com>
---
include/configs/M5253DEMO.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h
index f2f3159..8120b68 100644
--- a/include/configs/M5253DEMO.h
+++ b/include/configs/M5253DEMO.h
@@ -95,6 +95,7 @@
# define DM9000_IO CONFIG_DM9000_BASE
# define DM9000_DATA (CONFIG_DM9000_BASE + 4)
# undef CONFIG_DM9000_DEBUG
+# define DM9000_BYTE_SWAPPED
# define CONFIG_OVERWRITE_ETHADDR_ONCE
--
1.6.4
More information about the U-Boot
mailing list