aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-09-09 14:27:49 +0200
committerJames Cameron <quozl@laptop.org>2019-10-29 13:51:07 +1100
commit3c9cea11e1daa542cbeed68c4e950e46c39700c9 (patch)
tree3523d9710dd8e229bc42f9e490d00164b2919993
parent8f77a9bb3ae228e11823f05719a3380173f28e39 (diff)
downloadopenfirmware-3c9cea11e1daa542cbeed68c4e950e46c39700c9.tar.gz
mmp2: use link-endpoints to draw device graphs
No functional change.
-rw-r--r--dev/olpc/dcon/mmp2dcon.fth11
-rw-r--r--dev/olpc/mmp2camera/loadpkg.fth5
2 files changed, 3 insertions, 13 deletions
diff --git a/dev/olpc/dcon/mmp2dcon.fth b/dev/olpc/dcon/mmp2dcon.fth
index 92d4f765..84fcf967 100644
--- a/dev/olpc/dcon/mmp2dcon.fth
+++ b/dev/olpc/dcon/mmp2dcon.fth
@@ -57,7 +57,6 @@ new-device
0 " reg" integer-property
new-device
" endpoint" device-name
- " /display/port/endpoint" encode-phandle " remote-endpoint" property
finish-device
finish-device
@@ -66,7 +65,6 @@ new-device
1 " reg" integer-property
new-device
" endpoint" device-name
- " /panel/port/endpoint" encode-phandle " remote-endpoint" property
finish-device
finish-device
finish-device
@@ -351,13 +349,8 @@ h# f value default-bright
end-package
-" /display/port/endpoint" find-device
- " /dcon/ports/port@0/endpoint" encode-phandle " remote-endpoint" property
-device-end
-
-" /panel/port/endpoint" find-device
- " /dcon/ports/port@1/endpoint" encode-phandle " remote-endpoint" property
-device-end
+" /display/port/endpoint" " /dcon/ports/port@0/endpoint" link-endpoints
+" /panel/port/endpoint" " /dcon/ports/port@1/endpoint" link-endpoints
stand-init:
has-dcon-ram? 0= if
diff --git a/dev/olpc/mmp2camera/loadpkg.fth b/dev/olpc/mmp2camera/loadpkg.fth
index e98d6772..150723af 100644
--- a/dev/olpc/mmp2camera/loadpkg.fth
+++ b/dev/olpc/mmp2camera/loadpkg.fth
@@ -70,7 +70,6 @@
" port" device-name
new-device
" endpoint" device-name
- " /image-sensor/port/endpoint" encode-phandle " remote-endpoint" property
finish-device
finish-device
end-package
@@ -83,6 +82,4 @@ end-package
" xclk" " clock-names" string-property
device-end
-" /image-sensor/port/endpoint" find-device
- " /camera/port/endpoint" encode-phandle " remote-endpoint" property
-device-end
+" /image-sensor/port/endpoint" " /camera/port/endpoint" link-endpoints