CVSROOT: /home/cvs
Module name: linux
Changes by: ppopov@ftp.linux-mips.org 05/01/30 08:07:57
Modified files:
arch/mips/au1000/hydrogen3: Tag: linux_2_4 Makefile
board_setup.c
Log message:
Hydrogen mmc support functions.
diff -urN linux/arch/mips/au1000/hydrogen3/Makefile
linux/arch/mips/au1000/hydrogen3/Makefile
--- linux/arch/mips/au1000/hydrogen3/Makefile 2004/03/09 23:53:24 1.1.2.2
+++ linux/arch/mips/au1000/hydrogen3/Makefile 2005/01/30 08:07:57 1.1.2.3
@@ -16,4 +16,9 @@
obj-y := init.o board_setup.o irqmap.o
+ifdef CONFIG_MMC
+obj-y += mmc_support.o
+export-objs +=mmc_support.o
+endif
+
include $(TOPDIR)/Rules.make
diff -urN linux/arch/mips/au1000/hydrogen3/board_setup.c
linux/arch/mips/au1000/hydrogen3/board_setup.c
--- linux/arch/mips/au1000/hydrogen3/board_setup.c 2004/07/14 05:43:49
1.1.2.3
+++ linux/arch/mips/au1000/hydrogen3/board_setup.c 2005/01/30 08:07:57
1.1.2.4
@@ -57,6 +57,9 @@
rtc_ops = &no_rtc_ops;
+ /* Set GPIO14 high to make CD/DAT1 high for MMC to work */
+ au_writel(1<<14, SYS_OUTPUTSET);
+
#ifdef CONFIG_AU1X00_USB_DEVICE
// 2nd USB port is USB device
pin_func = au_readl(SYS_PINFUNC) & (u32)(~0x8000);
|