src/*: Specify type of `CBFS_SIZE` once

There's no need to specify the type of the `CBFS_SIZE` Kconfig symbol
more than once. This is done in `src/Kconfig`, along with its prompt.

Change-Id: I9e08e23e24e372e60c32ae8cd7387ddd4b618ddc
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56552
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
Reviewed-by:  Felix Singer <felixsinger@posteo.net>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2021-07-23 11:21:19 +02:00 committed by Felix Held
parent ac44f87465
commit ac90f593f8
47 changed files with 0 additions and 47 deletions

View File

@ -45,7 +45,6 @@ config SUPERIO_ADDR_BASE
default 0x164e if BILBY_SMSC_SIO1036_BASE_164E default 0x164e if BILBY_SMSC_SIO1036_BASE_164E
config CBFS_SIZE config CBFS_SIZE
hex
default 0xfef000 # Maximum size for the Bilby FMAP default 0xfef000 # Maximum size for the Bilby FMAP
config MAINBOARD_DIR config MAINBOARD_DIR

View File

@ -47,7 +47,6 @@ config SUPERIO_ADDR_BASE
default 0x164e if SMSC_SIO1036_BASE_164E default 0x164e if SMSC_SIO1036_BASE_164E
config CBFS_SIZE config CBFS_SIZE
hex
default 0x7cf000 if BOARD_AMD_MANDOLIN # Maximum size for the Mandolin FMAP default 0x7cf000 if BOARD_AMD_MANDOLIN # Maximum size for the Mandolin FMAP
default 0xfcf000 if BOARD_AMD_CEREME # Maximum size for the Cereme FMAP default 0xfcf000 if BOARD_AMD_CEREME # Maximum size for the Cereme FMAP

View File

@ -19,7 +19,6 @@ config BOARD_SPECIFIC_OPTIONS
select SUPERIO_NUVOTON_NCT6776 select SUPERIO_NUVOTON_NCT6776
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config MAINBOARD_DIR config MAINBOARD_DIR

View File

@ -21,7 +21,6 @@ config BOARD_SPECIFIC_OPTIONS
select SUPERIO_NUVOTON_NCT6776 select SUPERIO_NUVOTON_NCT6776
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config MAINBOARD_DIR config MAINBOARD_DIR

View File

@ -42,7 +42,6 @@ config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xc00000 if BOARD_CLEVO_L140CU_BASE default 0xc00000 if BOARD_CLEVO_L140CU_BASE
config CONSOLE_POST config CONSOLE_POST

View File

@ -44,7 +44,6 @@ config MAINBOARD_PART_NUMBER
default "N130WU" if BOARD_CLEVO_N130WU default "N130WU" if BOARD_CLEVO_N130WU
config CBFS_SIZE config CBFS_SIZE
hex
default 0x600000 if BOARD_CLEVO_N130WU default 0x600000 if BOARD_CLEVO_N130WU
config DEVICETREE config DEVICETREE

View File

@ -37,7 +37,6 @@ config USBDEBUG_HCD_INDEX
default 2 default 2
config CBFS_SIZE config CBFS_SIZE
hex
default 0x600000 default 0x600000
config INCLUDE_SMSC_SCH5545_EC_FW config INCLUDE_SMSC_SCH5545_EC_FW

View File

@ -62,7 +62,6 @@ config MAINBOARD_PART_NUMBER
default "FBG-1701" default "FBG-1701"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x00600000 default 0x00600000
config MRC_SETTINGS_CACHE_SIZE config MRC_SETTINGS_CACHE_SIZE

View File

@ -14,7 +14,6 @@ config BOARD_SPECIFIC_OPTIONS
select VPD select VPD
config CBFS_SIZE config CBFS_SIZE
hex
default 0x00900000 default 0x00900000
config IRQ_SLOT_COUNT config IRQ_SLOT_COUNT

View File

@ -74,7 +74,6 @@ config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config MAINBOARD_SMBIOS_MANUFACTURER config MAINBOARD_SMBIOS_MANUFACTURER

View File

@ -75,7 +75,6 @@ config PMIC_BUS
default 0 default 0
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 if CHROMEOS default 0x100000 if CHROMEOS
default ROM_SIZE default ROM_SIZE

View File

@ -50,7 +50,6 @@ config USBDEBUG_HCD_INDEX
default 2 default 2
config CBFS_SIZE config CBFS_SIZE
hex
default 0x00640000 default 0x00640000
config MAINBOARD_SMBIOS_MANUFACTURER config MAINBOARD_SMBIOS_MANUFACTURER

View File

@ -48,7 +48,6 @@ config VGA_BIOS_ID
in soc/intel/braswell/Makefile.inc as 8086,22b1 in soc/intel/braswell/Makefile.inc as 8086,22b1
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
endif # BOARD_INTEL_STRAGO endif # BOARD_INTEL_STRAGO

View File

@ -51,7 +51,6 @@ config OVERRIDE_DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/overridetree.cb"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x600000 if BOARD_SIEMENS_BOXER26 default 0x600000 if BOARD_SIEMENS_BOXER26
config DIMM_MAX config DIMM_MAX

View File

@ -73,7 +73,6 @@ config USBDEBUG_HCD_INDEX
default 2 default 2
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config PS2K_EISAID config PS2K_EISAID

View File

@ -65,7 +65,6 @@ config USBDEBUG_HCD_INDEX
default 2 default 2
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config PS2K_EISAID config PS2K_EISAID

View File

@ -41,7 +41,6 @@ config DIMM_SPD_SIZE
default 512 default 512
config CBFS_SIZE config CBFS_SIZE
hex
default 0x600000 default 0x600000
config USE_PM_ACPI_TIMER config USE_PM_ACPI_TIMER

View File

@ -30,7 +30,6 @@ config USBDEBUG_HCD_INDEX # FIXME: check this
default 2 default 2
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
endif endif

View File

@ -42,7 +42,6 @@ config MAINBOARD_PART_NUMBER
default "PQ7-M107" default "PQ7-M107"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x00600000 default 0x00600000
config MRC_SETTINGS_CACHE_SIZE config MRC_SETTINGS_CACHE_SIZE

View File

@ -67,7 +67,6 @@ config POST_IO
default n default n
config CBFS_SIZE config CBFS_SIZE
hex
default 0x900000 default 0x900000
endif # BOARD_PRODRIVE_HERMES_BASEBOARD endif # BOARD_PRODRIVE_HERMES_BASEBOARD

View File

@ -49,7 +49,6 @@ config MAX_CPUS
default 4 if BOARD_PROTECTLI_FW4B default 4 if BOARD_PROTECTLI_FW4B
config CBFS_SIZE config CBFS_SIZE
hex
default 0x500000 default 0x500000
config PXE_ROM_ID config PXE_ROM_ID

View File

@ -48,7 +48,6 @@ config PXE_ROM_ID
default "8086,150c" default "8086,150c"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x600000 default 0x600000
config USE_PM_ACPI_TIMER config USE_PM_ACPI_TIMER

View File

@ -40,7 +40,6 @@ config DEVICETREE
default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb" default "variants/\$(CONFIG_VARIANT_DIR)/devicetree.cb"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x800000 if BOARD_PURISM_LIBREM_MINI default 0x800000 if BOARD_PURISM_LIBREM_MINI
default 0xA00000 if BOARD_PURISM_LIBREM_MINI_V2 default 0xA00000 if BOARD_PURISM_LIBREM_MINI_V2
default 0x900000 if BOARD_PURISM_LIBREM_14 default 0x900000 if BOARD_PURISM_LIBREM_14

View File

@ -66,7 +66,6 @@ config DIMM_SPD_SIZE
default 512 default 512
config CBFS_SIZE config CBFS_SIZE
hex
default 0xe00000 default 0xe00000
# This platform has limited means to display POST codes # This platform has limited means to display POST codes

View File

@ -26,7 +26,6 @@ config MAINBOARD_PART_NUMBER
default "RK9" default "RK9"
config CBFS_SIZE config CBFS_SIZE
hex
default ROM_SIZE default ROM_SIZE
endif # BOARD_RODA_RK9 endif # BOARD_RODA_RK9

View File

@ -60,7 +60,6 @@ config INTEL_GMA_VBT_FILE
default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(CONFIG_VARIANT_DIR)/data.vbt" default "src/mainboard/\$(MAINBOARDDIR)/variants/\$(CONFIG_VARIANT_DIR)/data.vbt"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xb00000 default 0xb00000
config POST_DEVICE config POST_DEVICE

View File

@ -17,7 +17,6 @@ config BOARD_SPECIFIC_OPTIONS
select SUPERIO_NUVOTON_NCT6776 select SUPERIO_NUVOTON_NCT6776
config CBFS_SIZE config CBFS_SIZE
hex
default 0xb00000 default 0xb00000
config MAINBOARD_DIR config MAINBOARD_DIR

View File

@ -69,7 +69,6 @@ config DRIVERS_IPMI_SUPERMICRO_OEM
default y default y
config CBFS_SIZE config CBFS_SIZE
hex
default 0xb00000 default 0xb00000
config IRQ_SLOT_COUNT config IRQ_SLOT_COUNT

View File

@ -42,7 +42,6 @@ config PXE_ROM_ID
default "8086:10d3" default "8086:10d3"
config CBFS_SIZE config CBFS_SIZE
hex
default 0x400000 default 0x400000
#config SUPERMICRO_BOARDID #config SUPERMICRO_BOARDID

View File

@ -37,7 +37,6 @@ config MAINBOARD_VERSION
default "gaze15" default "gaze15"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xA00000 default 0xA00000
config CONSOLE_POST config CONSOLE_POST

View File

@ -38,7 +38,6 @@ config MAINBOARD_VERSION
default "lemp9" default "lemp9"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xc00000 default 0xc00000
config CONSOLE_POST config CONSOLE_POST

View File

@ -38,7 +38,6 @@ config MAINBOARD_VERSION
default "oryp5" default "oryp5"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xA00000 default 0xA00000
config CONSOLE_POST config CONSOLE_POST

View File

@ -38,7 +38,6 @@ config MAINBOARD_VERSION
default "oryp6" default "oryp6"
config CBFS_SIZE config CBFS_SIZE
hex
default 0xA00000 default 0xA00000
config CONSOLE_POST config CONSOLE_POST

View File

@ -50,7 +50,6 @@ config MAINBOARD_VERSION
default "darp5" if BOARD_SYSTEM76_DARP5 default "darp5" if BOARD_SYSTEM76_DARP5
config CBFS_SIZE config CBFS_SIZE
hex
default 0xA00000 default 0xA00000
config CONSOLE_POST config CONSOLE_POST

View File

@ -17,7 +17,6 @@ config VBOOT
select VBOOT_STARTS_IN_BOOTBLOCK select VBOOT_STARTS_IN_BOOTBLOCK
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 default 0x100000
config VGA_BIOS_ID config VGA_BIOS_ID

View File

@ -18,7 +18,6 @@ config VBOOT
select TPM_STARTUP_IGNORE_POSTINIT select TPM_STARTUP_IGNORE_POSTINIT
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 default 0x100000
config VGA_BIOS_ID config VGA_BIOS_ID

View File

@ -77,7 +77,6 @@ config NATIVE_RAMINIT_IGNORE_XMP_REQUESTED_VOLTAGE
Handle with care! Handle with care!
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 default 0x100000
config VGA_BIOS_ID config VGA_BIOS_ID

View File

@ -15,7 +15,6 @@ config NORTHBRIDGE_SPECIFIC_OPTIONS
select HAVE_EXP_X86_64_SUPPORT select HAVE_EXP_X86_64_SUPPORT
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 if !SOUTHBRIDGE_INTEL_I82801GX default 0x100000 if !SOUTHBRIDGE_INTEL_I82801GX
config VGA_BIOS_ID config VGA_BIOS_ID

View File

@ -258,7 +258,6 @@ config VBOOT
select VBOOT_X86_SHA256_ACCELERATION select VBOOT_X86_SHA256_ACCELERATION
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config PRERAM_CBMEM_CONSOLE_SIZE config PRERAM_CBMEM_CONSOLE_SIZE

View File

@ -266,7 +266,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE config MB_HAS_ACTIVE_HIGH_SD_PWR_ENABLE

View File

@ -186,7 +186,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config FSP_HEADER_PATH config FSP_HEADER_PATH

View File

@ -172,7 +172,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config FSP_HEADER_PATH config FSP_HEADER_PATH

View File

@ -183,7 +183,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config FSP_HEADER_PATH config FSP_HEADER_PATH

View File

@ -151,7 +151,6 @@ config DISPLAY_ESRAM_LAYOUT
##### #####
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
help help
Specify the size of the coreboot file system in the read-only (recovery) Specify the size of the coreboot file system in the read-only (recovery)

View File

@ -113,7 +113,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config DCACHE_RAM_BASE config DCACHE_RAM_BASE

View File

@ -217,7 +217,6 @@ config VBOOT
select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH select VBOOT_VBNV_CMOS_BACKUP_TO_FLASH
config CBFS_SIZE config CBFS_SIZE
hex
default 0x200000 default 0x200000
config FSP_TYPE_IOT config FSP_TYPE_IOT

View File

@ -173,7 +173,6 @@ config UNLOCK_FLASH_REGIONS
endchoice endchoice
config CBFS_SIZE config CBFS_SIZE
hex
default 0x100000 default 0x100000
help help
Reduce CBFS size to give room to the IFD blobs. Reduce CBFS size to give room to the IFD blobs.