On Sat, Apr 25, 2009 at 2:44 AM, Patrick Georgi <[email protected]> wrote: > Hi, > > attached patch makes the CBFS file lookup skip file data instead of brute- > forcing its way through it, looking for magic numbers. > For one, it should speed up file access, esp. with many entries, but it also > helps against false positives (eg. seabios, which contains the magic number > for its own CBFS support, which _might_ just be aligned properly) > > > Signed-off-by: Patrick Georgi <[email protected]>
I'd prefer that it used the ALIGN macro, but it's a pretty trivial macro. It just makes it more clear. Either way: Acked-by: Myles Watson <[email protected]> Thanks, Myles -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

