summaryrefslogtreecommitdiff
path: root/board/mpc8568mds/bcsr.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2007-08-14 00:14:25 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2007-08-14 01:47:44 -0500
commitda9d4610d76e52c4d20a8f3d8433439a7fcf5b71 (patch)
tree878ce01e8e6059383e74d42fdc809b8087a1fcdd /board/mpc8568mds/bcsr.c
parentc59e4091ffe0148398b9e9ff14a019ea038b7432 (diff)
downloadu-boot-imx-da9d4610d76e52c4d20a8f3d8433439a7fcf5b71.zip
u-boot-imx-da9d4610d76e52c4d20a8f3d8433439a7fcf5b71.tar.gz
u-boot-imx-da9d4610d76e52c4d20a8f3d8433439a7fcf5b71.tar.bz2
Add support for UEC to 8568
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'board/mpc8568mds/bcsr.c')
-rw-r--r--board/mpc8568mds/bcsr.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/board/mpc8568mds/bcsr.c b/board/mpc8568mds/bcsr.c
index 2e2e8cd..aae0f98 100644
--- a/board/mpc8568mds/bcsr.c
+++ b/board/mpc8568mds/bcsr.c
@@ -47,3 +47,10 @@ void disable_8568mds_flash_write()
bcsr[9] &= ~(0x01);
}
+
+void enable_8568mds_qe_mdio()
+{
+ u8 *bcsr = (u8 *)(CFG_BCSR);
+
+ bcsr[7] |= 0x01;
+}