coreboot/src/mainboard/samsung/lumpy
Arthur Heymans a7eb390796 mb/*/*/*.fmd: Start flash at 0
FMAP should not contain information about the memory map.

Done with the following command:
"find -name \*.fmd -exec sed -i 's/\(FLASH\).* \(.*\) /\1 \2 /' {} \;"

for AMD:
All addresses that amdfwtool expects as command line parameter have the
ADDR_REL_BIOS (flash address) address_mode setting. One exception is
the *_FW_A_POSITION and *_FW_B_POSITION addresses. But amdfwtool checks
if memory or flash addresses are passed and converts accordingly. So
changing the address from memory -> flash doesn't matter for the
resulting binary.
Since commit 41a162b7a8 ("soc/amd/phoenix/Makefile.inc: Pass APOB_NV
address as offset") and therefore since phoenix SOC, APOB_NV is passed
as flash offset. But before that the memory ABL always assumed a MMIO
address (no matter the address_mode) so we need to add a little quirk
for that.

tested: boot glinda based mainboard and also check that memory training
is still cached successfully in APOB_NV.

Change-Id: Iac86ef9be6b14817a65bf3a7ccb624d205ca3f99
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/63771
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Shuo Liu <shuo.liu@intel.com>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
2025-04-09 17:11:43 +00:00
..
acpi mb/samsung/lumpy: Adjust touchpad ACPI for Windows drivers 2023-05-13 18:38:09 +00:00
spd
acpi_tables.c ACPI: Add usb_charge_mode_from_gnvs() 2023-08-16 17:55:02 +00:00
board_info.txt
chromeos.c
chromeos.fmd mb/*/*/*.fmd: Start flash at 0 2025-04-09 17:11:43 +00:00
cmos.layout
devicetree.cb mb/*: Remove old USB configurations from SNB/bd82x6x boards 2024-06-08 00:19:23 +00:00
dsdt.asl
early_init.c mb/*: Remove old USB configurations from SNB/bd82x6x boards 2024-06-08 00:19:23 +00:00
ec.c tree: Use __func__ instead of hard-coded names 2023-02-17 16:08:04 +00:00
ec.h treewide: Remove 'extern' from functions declaration 2023-05-26 13:45:24 +00:00
gma-mainboard.ads
gpio.c
hda_verb.c mb/samsung/lumpy: Correct number of jacks in hda_verb.c 2024-09-30 11:01:42 +00:00
Kconfig mb/samsung to mb/up: Add SPDX license headers to Kconfig files 2024-02-18 02:03:13 +00:00
Kconfig.name mb/samsung to mb/up: Add SPDX license headers to Kconfig files 2024-02-18 02:03:13 +00:00
mainboard.c mainboards: Drop stale comment about enumerate_buses() 2023-11-12 04:52:40 +00:00
Makefile.mk mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
onboard.h
smihandler.c mb/google,intel,samsung: Use common poweroff() 2023-05-09 15:34:59 +00:00
thermal.h