From f73e7d67ed5accc945f4e4f24a7312826f87cab5 Mon Sep 17 00:00:00 2001 From: Jason Jin Date: Fri, 19 Aug 2011 10:18:15 +0800 Subject: [PATCH] ColdFire:Define the DM9000 byteswap for M5253 board. 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 --- include/configs/M5253DEMO.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/M5253DEMO.h b/include/configs/M5253DEMO.h index f2f3159..7a44cf7 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 CONFIG_DM9000_BYTE_SWAPPED # define CONFIG_OVERWRITE_ETHADDR_ONCE -- 2.7.4