Unify ID_SECTION_OFFSET and mark it deprecated
authorPatrick Georgi <patrick.georgi@secunet.com>
Wed, 18 Jan 2012 08:43:52 +0000 (09:43 +0100)
committerPeter Stuge <peter@stuge.se>
Wed, 18 Jan 2012 10:21:39 +0000 (11:21 +0100)
We used to put the id section at -0x10, with some boards overriding
this to avoid collisions with romstraps.
Hardcode the location at -0x80, at the possible expense of some space
(0x70 bytes).
This also makes the section easier to find in a binary image.

At some point, CONFIG_ID_SECTION_OFFSET can be removed, so this option
is moved to src/Kconfig.deprecated_options.

Change-Id: I6ce2d6e94e57717939bda070bfe0c9df80ca2a89
Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com>
Reviewed-on: http://review.coreboot.org/549
Tested-by: build bot (Jenkins)
Reviewed-by: Peter Stuge <peter@stuge.se>
src/Kconfig
src/Kconfig.deprecated_options
src/mainboard/amd/serengeti_cheetah_fam10/Kconfig
src/mainboard/msi/ms9652_fam10/Kconfig
src/southbridge/nvidia/ck804/Kconfig
src/southbridge/nvidia/mcp55/Kconfig
src/southbridge/sis/sis966/Kconfig
src/southbridge/via/k8t890/Kconfig

index 525d452f4d7e8d0364f299205d03b607550caa6e..64c359e8d05bd5c15fd6215d26ea83b053d6129c 100644 (file)
@@ -883,10 +883,6 @@ config WARNINGS_ARE_ERRORS
        bool
        default y
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x10
-
 # The four POWER_BUTTON_DEFAULT_ENABLE, POWER_BUTTON_DEFAULT_DISABLE,
 # POWER_BUTTON_FORCE_ENABLE and POWER_BUTTON_FORCE_DISABLE options are
 # mutually exclusive. One of these options must be selected in the
index d83525e541b2101263083f2cc4a560a148dcfdba..3cfb5ddc3251c1b5706b8d3710dd886623bfa5de 100644 (file)
@@ -61,4 +61,8 @@ config PCIE_TUNING
          This variable enables certain PCIe optimizations. Right now it's
          only ASPM and it's untested.
 
+config ID_SECTION_OFFSET
+       hex
+       default 0x80
+
 endmenu
index 0fc857bb839038e03ea4e7371f4ff6e343afa4c6..feecdec4ef005e3d52982f375d4d7c6dcea986ce 100644 (file)
@@ -87,8 +87,4 @@ config RAMBASE
        hex
        default 0x200000
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80
-
 endif # BOARD_AMD_SERENGETI_CHEETAH_FAM10
index 71568d74c036caeae6fd553e8e0cd2f5cc8ebf21..17f05020808bfa910f70fce0fd08ca7035eb045e 100644 (file)
@@ -170,10 +170,6 @@ config AMD_UCODE_PATCH_FILE
        string
        default "mc_patch_01000096.h"
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80
-
 config HT3_SUPPORT
        bool
        default y
index 88ab7ff1fee4de2a5178f1263809b2ade2fd5ec0..97927d7a180aac6746b3ff80077b7a65d33e7759 100644 (file)
@@ -10,10 +10,6 @@ config BOOTBLOCK_SOUTHBRIDGE_INIT
        string
        default "southbridge/nvidia/ck804/bootblock.c"
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80
-
 config EHCI_BAR
        hex
        default 0xfef00000
index adca4bdf07b90e3fa02d38c51407de7a3e73ff9c..fc355cb9de5a3e197f49d87b2baa07d9d3f567b2 100644 (file)
@@ -9,10 +9,6 @@ config BOOTBLOCK_SOUTHBRIDGE_INIT
        string
        default "southbridge/nvidia/mcp55/bootblock.c"
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80
-
 config EHCI_BAR
        hex
        default 0xfef00000
index 909a7419be9021df27078853f1330d85029ffdb5..3cee5b313630d7de54f86d7d9ae1aa1b8c5aceab 100644 (file)
@@ -7,10 +7,6 @@ config BOOTBLOCK_SOUTHBRIDGE_INIT
        string
        default "southbridge/sis/sis966/bootblock.c" if SOUTHBRIDGE_SIS_SIS966
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80 if SOUTHBRIDGE_SIS_SIS966
-
 config EHCI_BAR
        hex
        default 0xfef00000 if SOUTHBRIDGE_SIS_SIS966
index 94b62b0be2cc855396d4b3bc8770f416bb46ac82..b23b84a554820d672f5fc67858ffbe20065bc0e6 100644 (file)
@@ -50,7 +50,3 @@ config VIDEO_MB
        default -1  if K8M890_VIDEO_MB_CMOS
        depends on SOUTHBRIDGE_VIA_K8M890_VGA_EN
 
-config ID_SECTION_OFFSET
-       hex
-       default 0x80 if SOUTHBRIDGE_VIA_K8M800 || SOUTHBRIDGE_VIA_K8T800_OLD || SOUTHBRIDGE_VIA_K8T800 || SOUTHBRIDGE_VIA_K8T800PRO || SOUTHBRIDGE_VIA_K8M890 || SOUTHBRIDGE_VIA_K8T890
-