Author: oxygene Date: 2009-08-17 16:33:03 +0200 (Mon, 17 Aug 2009) New Revision: 4544
Modified: trunk/coreboot-v2/src/arch/i386/Kconfig trunk/coreboot-v2/src/mainboard/Kconfig Log: Add 4MB ROM image size to Kconfig Signed-off-by: Cristi Magherusan <[email protected]> Acked-by: Patrick Georgi <[email protected]> Modified: trunk/coreboot-v2/src/arch/i386/Kconfig =================================================================== --- trunk/coreboot-v2/src/arch/i386/Kconfig 2009-08-13 16:02:24 UTC (rev 4543) +++ trunk/coreboot-v2/src/arch/i386/Kconfig 2009-08-17 14:33:03 UTC (rev 4544) @@ -13,6 +13,7 @@ config ROMBASE hex + default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096 default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048 default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024 default 0xfff80000 if COREBOOT_ROMSIZE_KB_512 @@ -25,6 +26,7 @@ config ROM_PAYLOAD_START hex + default 0xffc00000 if COREBOOT_ROMSIZE_KB_4096 default 0xffe00000 if COREBOOT_ROMSIZE_KB_2048 default 0xfff00000 if COREBOOT_ROMSIZE_KB_1024 default 0xfff80000 if COREBOOT_ROMSIZE_KB_512 @@ -33,6 +35,7 @@ config ROM_IMAGE_SIZE hex + default 0x400000 if COREBOOT_ROMSIZE_KB_4096 default 0x200000 if COREBOOT_ROMSIZE_KB_2048 default 0x100000 if COREBOOT_ROMSIZE_KB_1024 default 0x80000 if COREBOOT_ROMSIZE_KB_512 Modified: trunk/coreboot-v2/src/mainboard/Kconfig =================================================================== --- trunk/coreboot-v2/src/mainboard/Kconfig 2009-08-13 16:02:24 UTC (rev 4543) +++ trunk/coreboot-v2/src/mainboard/Kconfig 2009-08-17 14:33:03 UTC (rev 4544) @@ -327,6 +327,11 @@ help Choose this option if you have a 2048 KB (2 MB) ROM chip. +config COREBOOT_ROMSIZE_KB_4096 + bool "4096 KB (4 MB)" + help + Choose this option if you have a 4096 KB (4 MB) ROM chip. + endchoice config COREBOOT_ROMSIZE_KB @@ -336,6 +341,7 @@ default 512 if COREBOOT_ROMSIZE_KB_512 default 1024 if COREBOOT_ROMSIZE_KB_1024 default 2048 if COREBOOT_ROMSIZE_KB_2048 + default 4096 if COREBOOT_ROMSIZE_KB_4096 help Map the config names to an integer. -- coreboot mailing list: [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

