coreboot-kgpe-d16/src
Subrata Banik dc69b15ed7 mb/google/rex: Avoid boot hang due to missing SOC/IOE SRAM device
The SOC/IOE SRAM device is used to store crash logs. Previously, the
crashlog enablement was hardcoded in the baseboard.common module.

This commit moves the crashlog enablement logic to the baseboard
module, so that it can be enabled or disabled based on the specific
baseboard.

Additionally, the SOC/IOE SRAM is now enabled by default in the
baseboard devicetree.cb file. This prevents the system from hanging
if the SOC/IOE SRAM device is not present.

BUG=b:262501347
TEST=Able to build and boot google/screebo with this patch.

w/o this patch:
  [ERROR]  SOC SRAM device not found!
  [ERROR]  IOE SRAM base not valid

Change-Id: I02d581e5b62cfa114a3761a9704ad9f24dead8aa
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/76134
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
2023-06-28 16:46:17 +00:00
..
acpi acpi: Add SPCR table 2023-06-28 09:05:08 +00:00
arch arch/x86/Kconfig: remove period from DUMP_SMBIOS_TYPE17 title 2023-06-27 23:55:13 +00:00
commonlib commonlib/post_codes.h: Fix POST_EXIT_PCI_SCAN_BUS description 2023-06-25 15:52:48 +00:00
console
cpu commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
device commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
drivers Makefile.inc: don't add fmap_config.h dependency twice 2023-06-23 16:31:47 +00:00
ec commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
include acpi: Add SPCR table 2023-06-28 09:05:08 +00:00
lib lib/smbios: Add a config string for BIOS Vendor in SMBIOS Type 0 2023-06-26 03:07:38 +00:00
mainboard mb/google/rex: Avoid boot hang due to missing SOC/IOE SRAM device 2023-06-28 16:46:17 +00:00
northbridge commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
sbom
security Makefile.inc: don't add fmap_config.h dependency twice 2023-06-23 16:31:47 +00:00
soc soc/amd/common/block/acpi/ivrs: fix missing IOAPIC[1] error 2023-06-28 13:57:31 +00:00
southbridge commonlib/console/post_code.h: Change post code prefix to POSTCODE 2023-06-23 15:06:04 +00:00
superio superio/common: Support more than one SuperIO in ACPI 2023-05-26 19:21:12 +00:00
vendorcode Makefile.inc: don't add fmap_config.h dependency twice 2023-06-23 16:31:47 +00:00
Kconfig lib/smbios: Add a config string for BIOS Vendor in SMBIOS Type 0 2023-06-26 03:07:38 +00:00