coreboot-kgpe-d16/src/soc/amd/picasso
Felix Held dd73714249 soc/amd/picasso: factor out UPD-M configuration from romstage
Move the parts of romstage.c that populate the UPD-M data structure to
the newly created fsp_m_params.c file. Since
platform_fsp_memory_init_params_cb gets called from the FSP driver and
not directly from car_stage_entry the two code parts in romstage.c
weren't directly interacting. Since soc/romstage.h only contains the
mainboard_updm_update function prototype, rename it to soc/fsp.h. This
patch also removes a few unused includes.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I52c21f13520dbdfab37587d17b3a8a3b1a780f36
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51834
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
2021-03-29 19:52:12 +00:00
..
acpi soc/amd,mb/google/,mb/amd: Move sleepstates.asl 2021-03-08 23:30:38 +00:00
include/soc soc/amd/picasso: factor out UPD-M configuration from romstage 2021-03-29 19:52:12 +00:00
psp_verstage soc/amd/picasso: fix CBFS MCACHE on Zork 2021-01-28 00:26:47 +00:00
acp.c soc/amd/picasso: move sb_clk_output_48Mhz from acp to fch 2020-12-19 16:29:44 +00:00
acpi.c ACPI: Add acpi_reset_gnvs_for_wake() 2021-02-16 09:28:42 +00:00
agesa_acpi.c soc/amd/picasso/agesa_acpi: add cast before right shift 2021-02-17 15:45:57 +00:00
aoac.c soc/amd/picasso: rename PICASSO_CONSOLE_UART to AMD_SOC_CONSOLE_UART 2020-12-11 00:42:32 +00:00
bootblock.c soc/amd/picasso: factor out write_resume_eip to common code 2020-12-11 00:44:31 +00:00
chip.c soc/amd/common/block/i2c: Move SoC agnostic parts into common 2021-03-22 03:40:42 +00:00
chip.h soc/amd/common/block/i2c: Move SoC agnostic parts into common 2021-03-22 03:40:42 +00:00
config.c soc/amd/picasso/config: add comment about cfg never being NULL 2020-12-06 19:04:51 +00:00
cpu.c soc/amd: move warm reset flag function prototypes to common code 2021-03-11 15:11:20 +00:00
data_fabric.c soc/amd/picasso/data_fabric: add missing data fabric device function 7 2021-02-24 19:37:12 +00:00
dmi.c soc/amd/picasso: Convert DDR4 MHz to MT/s correctly 2020-09-16 03:25:28 +00:00
early_fch.c soc/amd: add DISABLE_KEYBOARD_RESET_PIN option 2021-03-29 19:07:48 +00:00
fch.c soc/amd/common/block/i2c: Move SoC agnostic parts into common 2021-03-22 03:40:42 +00:00
fsp_m_params.c soc/amd/picasso: factor out UPD-M configuration from romstage 2021-03-29 19:52:12 +00:00
fsp_s_params.c soc/amd/cezanne,picasso: rename fsp_params.c to fsp_s_params.c 2021-03-29 19:52:01 +00:00
fw.cfg soc/amd: Change FIRMWARE_LOCATE to FIRMWARE_LOCATION 2020-11-04 09:42:18 +00:00
gpio.c soc/amd/*/gpio: include types.h instead of stdint.h to have size_t 2021-03-29 18:47:59 +00:00
graphics.c soc/amd/picasso/graphics: implement map_oprom_vendev_rev 2020-06-14 19:08:08 +00:00
i2c.c trivial: Fix the tab and rearrange the lines 2021-03-22 03:41:25 +00:00
Kconfig soc/amd: add DISABLE_KEYBOARD_RESET_PIN option 2021-03-29 19:07:48 +00:00
Makefile.inc soc/amd/picasso: factor out UPD-M configuration from romstage 2021-03-29 19:52:12 +00:00
mca.c soc/amd/picasso/mca: add missing comma in mca_bank_name array of strings 2021-03-28 16:00:13 +00:00
pcie_gpp.c acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
reset.c soc/amd: move warm reset flag function prototypes to common code 2021-03-11 15:11:20 +00:00
romstage.c soc/amd/picasso: factor out UPD-M configuration from romstage 2021-03-29 19:52:12 +00:00
root_complex.c acpi/acpigen.h: Add more intuitive AML package closing functions 2021-03-22 11:21:55 +00:00
sata.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
smihandler.c soc/amd/picasso/smihandler: sort includes alphabetically 2021-03-10 00:31:38 +00:00
smu.c soc/amd/common: factor out SMU code from Picasso 2020-11-15 16:48:38 +00:00
soc_util.c soc/amd/picasso/soc_util.c: Fix typo in macro name 2021-03-19 11:22:32 +00:00
uart.c soc/amd/picasso/uart: move uart_inject_ssdt to common code 2021-02-17 10:35:22 +00:00
xhci.c soc/amd: factor out common SMI/SCI enums and function prototypes 2020-12-02 21:33:14 +00:00