Author: wmb Date: Wed Nov 14 08:41:30 2012 New Revision: 3425 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3425
Log: OLPC ARM HDMI driver - added hdmi-present? based on GPIO.
Modified: cpu/arm/mmp3/hdmi.fth
Modified: cpu/arm/mmp3/hdmi.fth ============================================================================== --- cpu/arm/mmp3/hdmi.fth Wed Nov 14 08:31:04 2012 (r3424) +++ cpu/arm/mmp3/hdmi.fth Wed Nov 14 08:41:30 2012 (r3425) @@ -1,6 +1,8 @@ \ See license at end of file purpose: MMP3 HDMI driver
+: hdmi-present? ( -- flag ) hdmi-hp-det-gpio# gpio-pin@ 0= ; + : +hdmi h# 20bc00 + ; : hdmi! +hdmi io! ; : hdmi@ +hdmi io@ ;