patch-2.4.19 linux-2.4.19/arch/arm/mach-sa1100/pangolin.c
Next file: linux-2.4.19/arch/arm/mach-sa1100/pfs168.c
Previous file: linux-2.4.19/arch/arm/mach-sa1100/omnimeter.c
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Fri Aug 2 17:39:42 2002
- Orig file:
linux-2.4.18/arch/arm/mach-sa1100/pangolin.c
- Orig date:
Thu Oct 11 09:04:57 2001
diff -urN linux-2.4.18/arch/arm/mach-sa1100/pangolin.c linux-2.4.19/arch/arm/mach-sa1100/pangolin.c
@@ -1,7 +1,7 @@
/*
* linux/arch/arm/mach-sa1100/pangolin.c
*/
-
+#include <linux/config.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/tty.h>
@@ -30,8 +30,8 @@
static struct map_desc pangolin_io_desc[] __initdata = {
/* virtual physical length domain r w c b */
- { 0xe8000000, 0x00000000, 0x04000000, DOMAIN_IO, 1, 1, 0, 0 }, /* Flash bank 0 */
- { 0xf2800000, 0x4b800000, 0x00800000, DOMAIN_IO, 1, 1, 0, 0 }, /* MQ200 */
+ { 0xe8000000, 0x00000000, 0x04000000, DOMAIN_IO, 0, 1, 0, 0 }, /* Flash bank 0 */
+ { 0xf2800000, 0x4b800000, 0x00800000, DOMAIN_IO, 0, 1, 0, 0 }, /* MQ200 */
LAST_DESC
};
@@ -43,6 +43,12 @@
sa1100_register_uart(0, 1);
sa1100_register_uart(1, 3);
Ser1SDCR0 |= SDCR0_UART;
+
+ /* set some GPDR bits while it's safe */
+ GPDR |= GPIO_PCMCIA_RESET;
+#ifndef CONFIG_SA1100_PANGOLIN_PCMCIA_IDE
+ GPDR |= GPIO_PCMCIA_BUS_ON;
+#endif
}
MACHINE_START(PANGOLIN, "Dialogue-Pangolin")
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)