[openfirmware] [commit] r3186 - cpu/arm/olpc/cl4
repository service
svn at openfirmware.info
Fri Aug 17 01:27:03 CEST 2012
Author: wmb
Date: Fri Aug 17 01:27:02 2012
New Revision: 3186
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3186
Log:
OLPC ARM - Finished adding USB properties.
Added:
cpu/arm/olpc/cl4/usb.fth
Modified:
cpu/arm/olpc/cl4/fw.bth
Modified: cpu/arm/olpc/cl4/fw.bth
==============================================================================
--- cpu/arm/olpc/cl4/fw.bth Fri Aug 17 01:25:00 2012 (r3185)
+++ cpu/arm/olpc/cl4/fw.bth Fri Aug 17 01:27:02 2012 (r3186)
@@ -17,7 +17,7 @@
fload ${BP}/cpu/arm/olpc/cl4/uart.fth
fload ${BP}/cpu/arm/olpc/cl4/sdhci.fth
fload ${BP}/cpu/arm/olpc/1.75/lcdcfg.fth
-fload ${BP}/cpu/arm/olpc/1.75/usb.fth
+fload ${BP}/cpu/arm/olpc/cl4/usb.fth
fload ${BP}/cpu/arm/olpc/nn-touchscreen.fth
fload ${BP}/cpu/arm/olpc/cl4/switches.fth
fload ${BP}/cpu/arm/olpc/cl4/leds.fth
Added: cpu/arm/olpc/cl4/usb.fth
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ cpu/arm/olpc/cl4/usb.fth Fri Aug 17 01:27:02 2012 (r3186)
@@ -0,0 +1,17 @@
+purpose: Platform-specific USB elaborations
+\ See license at end of file
+
+dev /usb at d4208000
+ \ Port 1 on the hub is connected to unused pins on the WLAN connector,
+ \ so testing it is confusing
+ \ Port 2 is right upper
+ \ Port 3 is left
+ " 3,2" " usb-hub-test-list" string-property
+device-end
+
+: (reset-usb-hub) ( -- )
+ usb-hub-reset-gpio# gpio-clr d# 10 ms usb-hub-reset-gpio# gpio-set
+;
+' (reset-usb-hub) to reset-usb-hub
+
+devalias u /usb/disk
More information about the openfirmware
mailing list