aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-09-09 09:30:54 +0200
committerJames Cameron <quozl@laptop.org>2019-10-29 13:51:07 +1100
commit151220f31650ad1c54eafbe1981654887fe416c2 (patch)
tree7959ea86260fec8562ffa3a6ca4a49cae9555d8d
parentcd08892348ae48f0a7c4a5a73d49df3bef7ef032 (diff)
downloadopenfirmware-151220f31650ad1c54eafbe1981654887fe416c2.tar.gz
arm/olpc: drop make-sensor-node from gpio-i2c
It is not used.
-rw-r--r--cpu/arm/olpc/gpio-i2c.fth14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpu/arm/olpc/gpio-i2c.fth b/cpu/arm/olpc/gpio-i2c.fth
index 05c3201f..9377b2e9 100644
--- a/cpu/arm/olpc/gpio-i2c.fth
+++ b/cpu/arm/olpc/gpio-i2c.fth
@@ -16,20 +16,6 @@ purpose: Device tree nodes for I2C buses implemented with GPIOs
2r> property ( )
;
-: make-sensor-node ( name$ i2c-addr -- )
- " /camera-i2c" find-device ( name$ i2c-addr )
- new-device ( name$ i2c-addr )
- " reg" integer-property ( name$ )
- +compatible ( )
- " image-sensor" device-name
- 0 0 encode-bytes
- cam-pwr-gpio# 0 encode-gpio
- cam-rst-gpio# 0 encode-gpio
- " gpios" property
- finish-device
- device-end
-;
-
dev /
new-device
" camera-i2c" device-name