[coreboot] buildrom: Automaticaly pad ROMs

Ward Vandewege ward at gnu.org
Tue Sep 23 22:25:17 CEST 2008


On Mon, Sep 22, 2008 at 04:04:25PM -0600, Jordan Crouse wrote:
> The potential pitfalls for this patch are many, but I think the
> reward outweights the risk.
> 
> The script will need the usual 0755 treatment.
> 
> Jordan
> 
> -- 
> Jordan Crouse
> Systems Software Development Engineer 
> Advanced Micro Devices, Inc.
> 
> 
> !DSPAM:48d8163d42417432833338!

> buildrom: Add script to automatically pad ROMs
> 
> Many ROMs may need to be padded before use.  This script tries to do 
> this somewhat automatically.  If the platform needs the payload to be
> padded to a power of 2, then it should set PAYLOAD_DOPAD to '-p'. 
> Otherwise, the script behaves as it normally does.
> 
> Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>

Acked-by: Ward Vandewege <ward at gnu.org>

It works unless the vga bios file is zero bytes long :)

Thanks,
Ward.

-- 
Ward Vandewege <ward at fsf.org>
Free Software Foundation - Senior Systems Administrator




More information about the coreboot mailing list