Author: quozl Date: Mon Feb 11 05:18:54 2013 New Revision: 3540 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3540
Log: mkdropin - fix calculation of ending address for reserved area skip, occasionally a reserved area began with trailing bytes of the dropin header.
Modified: forth/lib/mkdropin.fth
Modified: forth/lib/mkdropin.fth ============================================================================== --- forth/lib/mkdropin.fth Fri Feb 8 22:19:56 2013 (r3539) +++ forth/lib/mkdropin.fth Mon Feb 11 05:18:54 2013 (r3540) @@ -133,7 +133,7 @@ 2>r >r ( adr len r: name$ expanded-len )
\ Calculate expected ending position - dup ofd @ ftell + ( adr len pos ) + dup ofd @ ftell h# 20 + + ( adr len pos )
\ Encroaches upon manufacturing data area? If so, enumerate as a dropin. reserved-start h# 20 - reserved-end within if