[coreboot] [PATCH][v3] Check that CAR and ROM areas don't collide

Corey Osgood corey.osgood at gmail.com
Wed Dec 10 17:53:20 CET 2008


include/arch/x86/cpu.h is probably not the best place for this, but AFAIK it
should be included by and work for all possible targets. Another possible
solution is something like this, I don't think I like it as well, and it
fails the KISS test IMO:

mainboard/Kconfig:
config COREBOOT_ROMSIZE_KB_128
    bool "128 KB"
    depends (0xffffffff - (128 * 1024) > (CONFIG_CARBASE + CONFIG_CARSIZE)))
    help
      Choose this option if you have a 128 KB ROM chip.

-Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081210/3643b158/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: car_rom_check.patch
Type: application/mbox
Size: 836 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081210/3643b158/attachment.bin>


More information about the coreboot mailing list