r3669 - in trunk/src/host/qemu-neo1973: hw openmoko

andrew at sita.openmoko.org andrew at sita.openmoko.org
Tue Dec 18 02:49:22 CET 2007


Author: andrew
Date: 2007-12-18 02:49:21 +0100 (Tue, 18 Dec 2007)
New Revision: 3669

Modified:
   trunk/src/host/qemu-neo1973/hw/neo1973.c
   trunk/src/host/qemu-neo1973/openmoko/qemu-auto.sh
Log:
Invert the nSD_DETECT input pin polarity on the basis that this way it works and the opposite it doesn't.


Modified: trunk/src/host/qemu-neo1973/hw/neo1973.c
===================================================================
--- trunk/src/host/qemu-neo1973/hw/neo1973.c	2007-12-18 01:00:20 UTC (rev 3668)
+++ trunk/src/host/qemu-neo1973/hw/neo1973.c	2007-12-18 01:49:21 UTC (rev 3669)
@@ -261,8 +261,7 @@
 
     s3c_timers_cmp_handler_set(s->cpu->timers, 0, neo_bl_intensity, s);
 
-    sd_set_cb(s->mmc, 0, qemu_irq_invert(s3c_gpio_in_get(
-                                    s->cpu->io)[GTA01_IRQ_nSD_DETECT]));
+    sd_set_cb(s->mmc, 0, s3c_gpio_in_get(s->cpu->io)[GTA01_IRQ_nSD_DETECT]);
 }
 
 /* PMB 2520 Hammerhead A-GPS chip */

Modified: trunk/src/host/qemu-neo1973/openmoko/qemu-auto.sh
===================================================================
--- trunk/src/host/qemu-neo1973/openmoko/qemu-auto.sh	2007-12-18 01:00:20 UTC (rev 3668)
+++ trunk/src/host/qemu-neo1973/openmoko/qemu-auto.sh	2007-12-18 01:49:21 UTC (rev 3669)
@@ -1,5 +1,5 @@
 #! /usr/bin/env bash
-# Basically just runs qemu, in a way that qemu-upload.pl works.
+# Basically just runs qemu, in a way that qemu-cmd.pl works.
 #
 # Copyright (C) 2007 OpenMoko, Inc.
 # Written by Andrzej Zaborowski <andrew at openedhand.com>
@@ -34,4 +34,4 @@
 	-snapshot -usb -show-cursor -parallel none	\
 	-usbdevice keyboard -usbgadget -serial stdio	\
 	-monitor unix:$qemu_monitor,server,nowait	\
-	$@
+	"$@"





More information about the commitlog mailing list