summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <lg@denx.de>2008-04-29 12:35:08 +0000
committerBen Warren <biggerbadderben@gmail.com>2008-04-15 00:08:30 -0400
commit3e0f331c05d72f140715c1e9fca991927e44d422 (patch)
tree98d389c18f84e52e7057c22bd80a4b910717921d /include/configs
parentde1b686b763aa8b87a86f6748ce9169e7fc0e4cd (diff)
downloadu-boot-imx-3e0f331c05d72f140715c1e9fca991927e44d422.zip
u-boot-imx-3e0f331c05d72f140715c1e9fca991927e44d422.tar.gz
u-boot-imx-3e0f331c05d72f140715c1e9fca991927e44d422.tar.bz2
Clean up smsc911x driver
Replace direct register address derefencing with accessor functions. Restrict explicitly 32-bit bus-width, extend affected configurations respectively. Signed-off-by: Guennadi Liakhovetski <lg@denx.de> Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/imx31_litekit.h1
-rw-r--r--include/configs/imx31_phycore.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/configs/imx31_litekit.h b/include/configs/imx31_litekit.h
index 2a6f59a..d82f554 100644
--- a/include/configs/imx31_litekit.h
+++ b/include/configs/imx31_litekit.h
@@ -92,6 +92,7 @@
#define CONFIG_DRIVER_SMC911X 1
#define CONFIG_DRIVER_SMC911X_BASE 0xb4020000
+#define CONFIG_DRIVER_SMC911X_32_BIT 1
/*
* Miscellaneous configurable options
diff --git a/include/configs/imx31_phycore.h b/include/configs/imx31_phycore.h
index e067b76..7e9bfb5 100644
--- a/include/configs/imx31_phycore.h
+++ b/include/configs/imx31_phycore.h
@@ -108,6 +108,7 @@
#define CONFIG_DRIVER_SMC911X 1
#define CONFIG_DRIVER_SMC911X_BASE 0xa8000000
+#define CONFIG_DRIVER_SMC911X_32_BIT 1
/*
* Miscellaneous configurable options