diff options
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/Options.lb | 14 | ||||
-rw-r--r-- | src/config/failovercalculation.lb | 9 | ||||
-rw-r--r-- | src/config/nofailovercalculation.lb | 9 |
3 files changed, 3 insertions, 29 deletions
diff --git a/src/config/Options.lb b/src/config/Options.lb index 071362a596..882219673c 100644 --- a/src/config/Options.lb +++ b/src/config/Options.lb @@ -246,14 +246,8 @@ define CONFIG_ROM_SECTION_OFFSET export used comment "Default rom section offset" end -define CONFIG_PAYLOAD_SIZE - default {CONFIG_ROM_SECTION_SIZE - CONFIG_ROM_IMAGE_SIZE} - format "0x%x" - export always - comment "Default payload size" -end define CONFIG_ROMBASE - default {CONFIG_PAYLOAD_SIZE} + default {0xffffffff - CONFIG_ROM_SIZE + 1} format "0x%x" export always comment "Base address of coreboot in ROM" @@ -646,12 +640,6 @@ define CONFIG_ROM_PAYLOAD export always comment "Boot image is located in ROM" end -define CONFIG_ROM_PAYLOAD_START - default {0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1} - format "0x%x" - export always - comment "ROM stream start location" -end define CONFIG_COMPRESSED_PAYLOAD_NRV2B default 0 export always diff --git a/src/config/failovercalculation.lb b/src/config/failovercalculation.lb index e5ec7e19ce..1bd48bb13b 100644 --- a/src/config/failovercalculation.lb +++ b/src/config/failovercalculation.lb @@ -16,16 +16,9 @@ else end ## -## Compute the start location and size size of -## The coreboot bootloader. -## -default CONFIG_PAYLOAD_SIZE = ( CONFIG_ROM_SECTION_SIZE - CONFIG_ROM_IMAGE_SIZE ) -default CONFIG_ROM_PAYLOAD_START = (0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1) - -## ## Compute where this copy of coreboot will start in the boot rom ## -default CONFIG_ROMBASE = ( CONFIG_ROM_PAYLOAD_START + CONFIG_PAYLOAD_SIZE ) +default CONFIG_ROMBASE = (0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1) ## ## Compute a range of ROM that can cached to speed up coreboot, diff --git a/src/config/nofailovercalculation.lb b/src/config/nofailovercalculation.lb index f5f8708b65..6082c3e9a3 100644 --- a/src/config/nofailovercalculation.lb +++ b/src/config/nofailovercalculation.lb @@ -11,16 +11,9 @@ else end ## -## Compute the start location and size size of -## The coreboot bootloader. -## -default CONFIG_PAYLOAD_SIZE = ( CONFIG_ROM_SECTION_SIZE - CONFIG_ROM_IMAGE_SIZE ) -default CONFIG_ROM_PAYLOAD_START = (0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1) - -## ## Compute where this copy of coreboot will start in the boot rom ## -default CONFIG_ROMBASE = ( CONFIG_ROM_PAYLOAD_START + CONFIG_PAYLOAD_SIZE ) +default CONFIG_ROMBASE = (0xffffffff - CONFIG_ROM_SIZE + CONFIG_ROM_SECTION_OFFSET + 1) ## ## Compute a range of ROM that can cached to speed up coreboot, |