[coreboot] flashrom: Fix error -EINVAL on mmap()

Segher Boessenkool segher at kernel.crashing.org
Tue Aug 12 14:17:08 CEST 2008

>> Don't calculate "flash_baseaddr" until the final value of "size"
>> is known, otherwise we end up trying to map a page right after
>> end of memory.
>> Fixes #112.
>> Signed-off-by: Segher Boessenkool <segher at kernel.crashing.org>
> Acked-by: Stefan Reinauer <stepan at coresystems.de>

Committed, r3502.


More information about the coreboot mailing list