Changeset 3393
- Timestamp:
- Oct 29, 2012 9:37:21 PM (7 months ago)
- Location:
- cpu/arm/olpc
- Files:
-
- 3 edited
-
cl4/leds.fth (modified) (1 diff)
-
gpio-i2c.fth (modified) (2 diffs)
-
sound.fth (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cpu/arm/olpc/cl4/leds.fth
r3198 r3393 5 5 " ols" device-name 6 6 " olpc,xo-light-sensor" +compatible 7 0 0 reg \ So linux will assign a static device name 7 8 end-package 8 9 -
cpu/arm/olpc/gpio-i2c.fth
r3261 r3393 35 35 1 " #address-cells" integer-property 36 36 1 " #size-cells" integer-property 37 38 0 0 reg \ So linux will assign a static device name 39 37 40 : encode-unit ( phys.. -- str ) push-hex (u.) pop-base ; 38 41 : decode-unit ( str -- phys.. ) push-hex $number if 0 then pop-base ; … … 77 80 1 " #address-cells" integer-property 78 81 1 " #size-cells" integer-property 82 83 0 0 reg \ So linux will assign a static device name 84 79 85 : encode-unit ( phys.. -- str ) push-hex (u.) pop-base ; 80 86 : decode-unit ( str -- phys.. ) push-hex $number if 0 then pop-base ; -
cpu/arm/olpc/sound.fth
r3356 r3393 759 759 \ The name that was hardcoded in the Linux driver was OLPC XO-1.75 760 760 " OLPC XO" " model" string-property 761 762 0 0 reg \ So linux will assign a static device name 761 763 762 764 : +string encode-string encode+ ;
Note: See TracChangeset
for help on using the changeset viewer.
