Author: quozl Date: Wed Jul 1 07:55:06 2015 New Revision: 3775 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3775
Log: OLPC XO-4 - get-hdmi-edid was returning extra zero on stack underneath string
Modified: dev/edid.fth
Modified: dev/edid.fth ============================================================================== --- dev/edid.fth Mon May 18 00:38:23 2015 (r3774) +++ dev/edid.fth Wed Jul 1 07:55:06 2015 (r3775) @@ -368,11 +368,11 @@ then ; : get-hdmi-edid ( -- adr len ) - " /hdmi-ddc" open-dev dup if ( ih ) + " /hdmi-ddc" open-dev ?dup if ( ih ) " edid$" 2 pick $call-method ( ih adr len ) rot close-dev ( adr len ) - else - " " + else ( ) + " " ( adr len ) then ; : choose-hdmi-resolution ( -- )
openfirmware@openfirmware.info