Author: wmb Date: Tue Aug 14 22:41:15 2012 New Revision: 3170 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3170
Log: OLPC - Added ec-spi-int-gpio# to gpiopins.fth, renamed touch-scr-gpio# to touch-int-gpio# for specificity.
Modified: cpu/arm/olpc/1.75/gpiopins.fth cpu/arm/olpc/3.0/gpiopins.fth cpu/arm/olpc/cl4/gpiopins.fth cpu/arm/olpc/nn-touchscreen.fth
Modified: cpu/arm/olpc/1.75/gpiopins.fth ============================================================================== --- cpu/arm/olpc/1.75/gpiopins.fth Tue Aug 14 20:48:32 2012 (r3169) +++ cpu/arm/olpc/1.75/gpiopins.fth Tue Aug 14 22:41:15 2012 (r3170) @@ -8,6 +8,7 @@
d# 46 constant spi-flash-cs-gpio#
+d# 154 constant ec-spi-int-gpio# d# 155 constant ec-spi-cmd-gpio# d# 125 constant ec-spi-ack-gpio#
@@ -66,4 +67,4 @@ d# 14 constant touch-hd-gpio# d# 98 constant touch-tck-gpio# d# 152 constant touch-rst-gpio# -d# 99 constant touch-scr-gpio# +d# 99 constant touch-int-gpio#
Modified: cpu/arm/olpc/3.0/gpiopins.fth ============================================================================== --- cpu/arm/olpc/3.0/gpiopins.fth Tue Aug 14 20:48:32 2012 (r3169) +++ cpu/arm/olpc/3.0/gpiopins.fth Tue Aug 14 22:41:15 2012 (r3170) @@ -9,6 +9,7 @@
d# 46 constant spi-flash-cs-gpio#
+d# 154 constant ec-spi-int-gpio# d# 155 constant ec-spi-cmd-gpio# d# 125 constant ec-spi-ack-gpio#
Modified: cpu/arm/olpc/cl4/gpiopins.fth ============================================================================== --- cpu/arm/olpc/cl4/gpiopins.fth Tue Aug 14 20:48:32 2012 (r3169) +++ cpu/arm/olpc/cl4/gpiopins.fth Tue Aug 14 22:41:15 2012 (r3170) @@ -8,6 +8,7 @@
d# 46 constant spi-flash-cs-gpio#
+d# 154 constant ec-spi-int-gpio# d# 155 constant ec-spi-cmd-gpio# d# 113 constant ec-spi-ack-gpio#
@@ -62,7 +63,7 @@ d# 12 constant touch-hd-gpio# d# 139 constant touch-tck-gpio# d# 98 constant touch-rst-gpio# -d# 99 constant touch-scr-gpio# +d# 99 constant touch-int-gpio#
d# 3 constant soc-sel-gpio#
Modified: cpu/arm/olpc/nn-touchscreen.fth ============================================================================== --- cpu/arm/olpc/nn-touchscreen.fth Tue Aug 14 20:48:32 2012 (r3169) +++ cpu/arm/olpc/nn-touchscreen.fth Tue Aug 14 22:41:15 2012 (r3170) @@ -19,7 +19,7 @@ touch-tck-gpio# dup gpio-clr gpio-dir-out ; : reset ( -- ) touch-rst-gpio# dup gpio-clr gpio-set d# 250 ms ; -: no-data? ( -- no-data? ) touch-scr-gpio# gpio-pin@ ; +: no-data? ( -- no-data? ) touch-int-gpio# gpio-pin@ ;
d# 250 constant /pbuf 0 value pbuf