coreboot-kgpe-d16/src/soc/amd
Raul E Rangel 42c5b010b6 soc/amd/picasso: Fix PSP_SHAREDMEM_BASE
PSP_SHAREDMEM_BASE made the assumption that _psp_sharedmem_dram would
only match once. With CB:49332 there are now two symbols, and it was
grabbing the wrong one.

This change makes it so we match the exact symbol. It also switches to
using awk to simplify the code.

The bootblock.elf target that is added to the list of prerequisites also
creates the bootblock.map file that gets used to extract the base
address of the _psp_sharedmem_dram symbol.

BUG=b:181354692
TEST=Boot zork past bootblock

Fixes: 82d16b150c ("memlayout: Store region sizes as separate symbols")
Suggested-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I79675bd73f964282b54bca858830e26de64037c7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51300
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2021-03-10 23:32:46 +00:00
..
cezanne mb/amd/majolica: Update to use proper APCBs built for Majolica 2021-03-10 23:28:19 +00:00
common soc/amd/common/block/graphics/graphics: GOP: implement vbt_get() 2021-03-10 23:07:08 +00:00
picasso soc/amd/picasso: Fix PSP_SHAREDMEM_BASE 2021-03-10 23:32:46 +00:00
stoneyridge soc/amd/stoneyridge/smihandler: sort includes alphabetically 2021-03-10 19:18:03 +00:00
Kconfig