soc/amd: Move fadt device tree settings into common_config
This is ACPI specific config that applies to all the AMD SoCs. Stoney doesn't currently use this, but we can add that functionality later. Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I0be7d917d7c5ba71347aa646822a883e2cf55743 Reviewed-on: https://review.coreboot.org/c/coreboot/+/50557 Reviewed-by: Mathew King <mathewk@chromium.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
committed by
Martin Roth
parent
0e560e7015
commit
1c88b10be2
@ -19,6 +19,7 @@
|
||||
#include <device/pci.h>
|
||||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <amdblocks/chip.h>
|
||||
#include <amdblocks/cpu.h>
|
||||
#include <soc/acpi.h>
|
||||
#include <soc/pci_devs.h>
|
||||
@ -80,7 +81,7 @@ unsigned long acpi_fill_madt(unsigned long current)
|
||||
*/
|
||||
void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||
{
|
||||
const struct soc_amd_picasso_config *cfg = config_of_soc();
|
||||
const struct soc_amd_common_config *cfg = soc_get_common_config();
|
||||
|
||||
printk(BIOS_DEBUG, "pm_base: 0x%04x\n", ACPI_IO_BASE);
|
||||
|
||||
|
Reference in New Issue
Block a user