diff options
author | Anil Kumar <anil.kumar.k@intel.com> | 2024-04-22 17:37:04 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-04-25 20:56:25 +0000 |
commit | 90e835db2d2ef75ea7d0999090d1806cf7f85a4a (patch) | |
tree | d77c80c031735bd232cedb66e9e9e8887a729a67 /src/arch | |
parent | 559ad55a94d28e7178836d0d7e15f0153e93891b (diff) |
vc/google/chromeos: Move RAMOOPS region creation to BS_DEV_INIT_CHIPS
RAMOOPS memory region was being overwritten by coreboot bmp_load_logo()
function. The CBMEM_ID_FSP_LOGO region created during bmp_load_logo()
was overlapping with RAMOOPS space created earlier. This resulted in
memory corruption of RAMOOPS buffer.
To prevent this, the RAMOOPS region allocation is moved to
BS_DEV_INIT_CHIPS phase from earlier BS_WRITE_TABLES phase of boot.
BUG=b:332910298
TEST=build and boot coreboot image on google/rex HW. Check RAMOOPS
CBMEM region creation using cbmem -l command
Signed-off-by: Anil Kumar <anil.kumar.k@intel.com>
Change-Id: Ibae06362cd80eacb16f6cf0eed8c9aa1fbfb2535
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82042
Reviewed-by: Subrata Banik <subratabanik@google.com>
Reviewed-by: Eran Mitrani <mitrani@google.com>
Reviewed-by: Jamie Ryu <jamie.m.ryu@intel.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions