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
car_rom_check.patch
Description: application/mbox
-- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

