Author: wmb Date: Sat Jun 18 02:22:38 2011 New Revision: 2294 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2294
Log: OLPC trac #10895 - OFW end of SP-PS2 communications protocol - add the driver to the build, and don't turn off the SP IRQs.
Modified: cpu/arm/mmp2/irq.fth cpu/arm/olpc/1.75/devices.fth
Modified: cpu/arm/mmp2/irq.fth ============================================================================== --- cpu/arm/mmp2/irq.fth Sat Jun 18 00:42:53 2011 (r2293) +++ cpu/arm/mmp2/irq.fth Sat Jun 18 02:22:38 2011 (r2294) @@ -33,8 +33,9 @@
: open ( -- flag ) my-space to base-adr - block-irqs - d# 64 0 do i disable-irq loop +\ Leave the IRQ table alone so as not to steal interrupts from the SP +\ block-irqs +\ d# 64 0 do i disable-irq loop unblock-irqs true ;
Modified: cpu/arm/olpc/1.75/devices.fth ============================================================================== --- cpu/arm/olpc/1.75/devices.fth Sat Jun 18 00:42:53 2011 (r2293) +++ cpu/arm/olpc/1.75/devices.fth Sat Jun 18 02:22:38 2011 (r2294) @@ -274,6 +274,8 @@
devalias keyboard /ec-spi/keyboard
+fload ${BP}/cpu/arm/olpc/spcmd.fth + : wlan-reset ( -- ) d# 58 gpio-clr d# 20 ms d# 58 gpio-set ;
\ Create the alias unless it already exists
openfirmware@openfirmware.info