aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2020-02-11 09:20:37 +0100
committerLubomir Rintel <lkundrak@v3.sk>2021-01-10 02:10:56 +0100
commitdcde851068c4037484decc0ce278ac911ccfda65 (patch)
treee4161a21453083a1139afdf38c622fafaf501064
parente4ff25232b4be58f4d57ddbcb434e7c1b1937893 (diff)
downloadopenfirmware-dcde851068c4037484decc0ce278ac911ccfda65.tar.gz
olpc/lcd: only call into DCON on OLPC
-rw-r--r--cpu/arm/olpc/lcd.fth2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/arm/olpc/lcd.fth b/cpu/arm/olpc/lcd.fth
index d8c3acde..3f4032bd 100644
--- a/cpu/arm/olpc/lcd.fth
+++ b/cpu/arm/olpc/lcd.fth
@@ -311,10 +311,12 @@ d# 256 constant /cursor
defer init-panel ' noop to init-panel
+ [ifdef] olpc
\ XXX we really should bounce these through the panel node(s)
: bright! " bright!" $call-dcon ;
: backlight-off " backlight-off" $call-dcon ;
: backlight-on " backlight-on" $call-dcon ;
+ [then]
: display-on
init-panel \ Turns on DCON etc