summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorJin Zhengxiong-R64188 <Jason.Jin@freescale.com>2006-06-27 18:12:10 +0800
committerJon Loeliger <jdl@freescale.com>2006-06-27 10:29:32 -0500
commitbc09cf3c2bfb8d54c659cbb332f79d0950982fd0 (patch)
tree662fdd760d3f70ab1ee2f7febdc000f958c032f1 /include/configs
parentfcfb9a57947fc203b99fe81ab0578f7286261f9f (diff)
downloadu-boot-imx-bc09cf3c2bfb8d54c659cbb332f79d0950982fd0.zip
u-boot-imx-bc09cf3c2bfb8d54c659cbb332f79d0950982fd0.tar.gz
u-boot-imx-bc09cf3c2bfb8d54c659cbb332f79d0950982fd0.tar.bz2
Fix RTL8139 in big endian
signed-off-by: Jason Jin <Jason.Jin@freescale.com> signed-off-by: Wei Zhang <wei.zhang@freescale.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/MPC8641HPCN.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/MPC8641HPCN.h b/include/configs/MPC8641HPCN.h
index 4453171..b089769 100644
--- a/include/configs/MPC8641HPCN.h
+++ b/include/configs/MPC8641HPCN.h
@@ -304,6 +304,7 @@
#define CFG_PCI_MEMORY_SIZE 0x80000000
/* For RTL8139 */
+#define KSEG1ADDR(x) ({u32 _x=le32_to_cpu(*(u32 *)(x)); (&_x);})
#define _IO_BASE 0x00000000
#define CFG_PCI2_MEM_BASE 0xa0000000