]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ColdFire:Define the DM9000 byteswap for M5253 board.
authorJason Jin <Jason.jin@freescale.com>
Fri, 19 Aug 2011 02:18:15 +0000 (10:18 +0800)
committerjason <jason@jason-ThinkPad-T61.(none)>
Sun, 4 Sep 2011 14:46:55 +0000 (22:46 +0800)
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@freescale.com>
include/configs/M5253DEMO.h

index f2f315940cdcca8f80e1d22eabc15bf469766a09..7a44cf7de607493f1c23414e49b12f379c8f5571 100644 (file)
@@ -95,6 +95,7 @@
 #      define DM9000_IO                CONFIG_DM9000_BASE
 #      define DM9000_DATA              (CONFIG_DM9000_BASE + 4)
 #      undef CONFIG_DM9000_DEBUG
+#      define CONFIG_DM9000_BYTE_SWAPPED
 
 #      define CONFIG_OVERWRITE_ETHADDR_ONCE