From 436f99b72a75e38c4a1558a23642ea838e621745 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Fri, 27 Nov 2009 16:55:13 +0000 Subject: Eliminate special case id.inc/id.lds in favor of a configuration variable ID_SECTION_OFFSET which is normally set to 0x10 (the current default) and set to 0x80 (the current alternative) where necessary (if romstraps get in the way). For Kconfig, the special case is set per southbridge (as these define the necessity for this workaround), for newconfig it's added to each single board. Signed-off-by: Patrick Georgi Acked-by: Ronald G. Minnich git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4962 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/config/Options.lb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config') diff --git a/src/config/Options.lb b/src/config/Options.lb index 4d28bd53d5..2ed9b47f39 100644 --- a/src/config/Options.lb +++ b/src/config/Options.lb @@ -1132,3 +1132,8 @@ define CONFIG_PCIE_CONFIGSPACE_HOLE comment "Leave a hole for PCIe config space in the device allocator" end +define CONFIG_ID_SECTION_OFFSET + default 0x10 + export always + comment "Offset of the .id section. Only needs to change if something like a romstrap is in the way" +end -- cgit v1.2.3