From 92986f0c421447f74f18ee061a689950af599e86 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Thu, 21 Dec 2023 19:03:49 +0000 Subject: build/roms: remove modify_coreboot_rom() don't handle "romtype" at all, in board target.cfg files add /dev/null as pike2008 rom on amd boards. this serves the same purpose, adding them as empty vga roms, to add an empty rom in cbfs. pike2008 cards cause seabios to hang, when their oproms are executed, so we insert a fake rom on i945 thinkpads, use the coreboot config option: CONFIG_INTEL_ADD_TOP_SWAP_BOOTBLOCK when set, this enables the same bootblock copy, for use with bucts. these two cases, namely pike2008 roms and i945 bootblock copies, no longer need to be handled in code Signed-off-by: Leah Rowe --- config/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode | 7 ++++++- config/coreboot/kcma-d8-udimm_2mb/target.cfg | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'config/coreboot/kcma-d8-udimm_2mb') diff --git a/config/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode b/config/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode index 972b5096..fc3074e3 100644 --- a/config/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode +++ b/config/coreboot/kcma-d8-udimm_2mb/config/libgfxinit_txtmode @@ -97,10 +97,12 @@ CONFIG_MAX_PHYSICAL_CPUS=2 CONFIG_HT_CHAIN_END_UNITID_BASE=0x20 CONFIG_HT_CHAIN_UNITID_BASE=0x0 CONFIG_IRQ_SLOT_COUNT=13 +CONFIG_VGA_BIOS_ID="1000,0072" CONFIG_ONBOARD_VGA_IS_PRIMARY=y CONFIG_DIMM_SPD_SIZE=256 -# CONFIG_VGA_BIOS is not set +CONFIG_VGA_BIOS=y CONFIG_MAINBOARD_SERIAL_NUMBER="123456789" +CONFIG_VGA_BIOS_FILE="/dev/null" CONFIG_C_ENV_BOOTBLOCK_SIZE=0x10000 CONFIG_MAINBOARD_SMBIOS_MANUFACTURER="ASUS" CONFIG_DEVICETREE="devicetree.cb" @@ -431,6 +433,9 @@ CONFIG_CARDBUS_PLUGIN_SUPPORT=y # CONFIG_AZALIA_PLUGIN_SUPPORT is not set CONFIG_PCIEXP_PLUGIN_SUPPORT=y # CONFIG_EARLY_PCI_BRIDGE is not set +CONFIG_VGA_BIOS_DGPU=y +CONFIG_VGA_BIOS_DGPU_FILE="/dev/null" +CONFIG_VGA_BIOS_DGPU_ID="1000,3050" # CONFIG_SOFTWARE_I2C is not set # diff --git a/config/coreboot/kcma-d8-udimm_2mb/target.cfg b/config/coreboot/kcma-d8-udimm_2mb/target.cfg index 3f1f7c3e..1bb78ad5 100644 --- a/config/coreboot/kcma-d8-udimm_2mb/target.cfg +++ b/config/coreboot/kcma-d8-udimm_2mb/target.cfg @@ -1,5 +1,4 @@ tree="fam15h_udimm" -romtype="d8d16sas" arch="i386-elf" payload_grub="y" payload_grub_withseabios="y" -- cgit v1.2.1