Attention is currently required from: Jason Glenesk, Matt DeVillier, Zheng Bao, Fred Reitberger, Felix Held.
Hello Zheng Bao,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/71991
to review the following change.
Change subject: soc/amd/phoenix: Change all morgana to phoenix ......................................................................
soc/amd/phoenix: Change all morgana to phoenix
All the file name and code.
Change-Id: Ie01f2eeacebbbd8c9d836ed9df208004671f20e9 Signed-off-by: Zheng Bao fishbaozi@gmail.com --- M src/mainboard/amd/birman/Kconfig M src/mainboard/amd/birman/Kconfig.name R src/mainboard/amd/birman/devicetree_phoenix.cb M src/mainboard/amd/mayan/Kconfig M src/mainboard/amd/mayan/Kconfig.name R src/mainboard/amd/mayan/devicetree_phoenix.cb M src/mainboard/amd/mayan/gpio.c D src/soc/amd/morgana/include/soc/cpu.h D src/soc/amd/morgana/include/soc/espi.h D src/soc/amd/morgana/include/soc/uart.h R src/soc/amd/phoenix/Kconfig R src/soc/amd/phoenix/Makefile.inc R src/soc/amd/phoenix/acpi.c R src/soc/amd/phoenix/acpi/globalnvs.asl R src/soc/amd/phoenix/acpi/mmio.asl R src/soc/amd/phoenix/acpi/pci0.asl R src/soc/amd/phoenix/acpi/pci_int_defs.asl R src/soc/amd/phoenix/acpi/soc.asl R src/soc/amd/phoenix/agesa_acpi.c R src/soc/amd/phoenix/aoac.c R src/soc/amd/phoenix/chip.c R src/soc/amd/phoenix/chip.h R src/soc/amd/phoenix/chipset.cb R src/soc/amd/phoenix/config.c R src/soc/amd/phoenix/cpu.c R src/soc/amd/phoenix/early_fch.c R src/soc/amd/phoenix/espi_util.c R src/soc/amd/phoenix/fch.c R src/soc/amd/phoenix/fsp_m_params.c R src/soc/amd/phoenix/fsp_s_params.c R src/soc/amd/phoenix/fw.cfg R src/soc/amd/phoenix/gpio.c R src/soc/amd/phoenix/i2c.c R src/soc/amd/phoenix/include/soc/acpi.h R src/soc/amd/phoenix/include/soc/amd_pci_int_defs.h R src/soc/amd/phoenix/include/soc/aoac_defs.h A src/soc/amd/phoenix/include/soc/cpu.h R src/soc/amd/phoenix/include/soc/data_fabric.h A src/soc/amd/phoenix/include/soc/espi.h R src/soc/amd/phoenix/include/soc/gpio.h R src/soc/amd/phoenix/include/soc/i2c.h R src/soc/amd/phoenix/include/soc/iomap.h R src/soc/amd/phoenix/include/soc/lpc.h R src/soc/amd/phoenix/include/soc/msr.h R src/soc/amd/phoenix/include/soc/nvs.h R src/soc/amd/phoenix/include/soc/pci_devs.h R src/soc/amd/phoenix/include/soc/platform_descriptors.h R src/soc/amd/phoenix/include/soc/psp_transfer.h R src/soc/amd/phoenix/include/soc/psp_verstage_addr.h R src/soc/amd/phoenix/include/soc/smi.h R src/soc/amd/phoenix/include/soc/smu.h R src/soc/amd/phoenix/include/soc/southbridge.h A src/soc/amd/phoenix/include/soc/uart.h R src/soc/amd/phoenix/mca.c R src/soc/amd/phoenix/preload.c R src/soc/amd/phoenix/psp_verstage/Makefile.inc R src/soc/amd/phoenix/psp_verstage/chipset.c R src/soc/amd/phoenix/psp_verstage/svc.c R src/soc/amd/phoenix/psp_verstage/svc.h R src/soc/amd/phoenix/psp_verstage/uart.c R src/soc/amd/phoenix/reset.c R src/soc/amd/phoenix/romstage.c R src/soc/amd/phoenix/root_complex.c R src/soc/amd/phoenix/smihandler.c R src/soc/amd/phoenix/smu.c R src/soc/amd/phoenix/uart.c R src/soc/amd/phoenix/xhci.c R src/vendorcode/amd/fsp/phoenix/FspUpd.h R src/vendorcode/amd/fsp/phoenix/FspUsb.h R src/vendorcode/amd/fsp/phoenix/FspmUpd.h R src/vendorcode/amd/fsp/phoenix/FspsUpd.h R src/vendorcode/amd/fsp/phoenix/include/bl_uapp/bl_syscall_public.h R src/vendorcode/amd/fsp/phoenix/platform_descriptors.h M util/amdfwtool/amdfwtool.c 74 files changed, 203 insertions(+), 191 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/91/71991/1
diff --git a/src/mainboard/amd/birman/Kconfig b/src/mainboard/amd/birman/Kconfig index 412300d..5da091a 100644 --- a/src/mainboard/amd/birman/Kconfig +++ b/src/mainboard/amd/birman/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only
-if BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_MORGANA +if BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_PHOENIX
config BOARD_SPECIFIC_OPTIONS def_bool y @@ -24,11 +24,11 @@
config MAINBOARD_PART_NUMBER default "Birman_Glinda" if BOARD_AMD_BIRMAN_GLINDA - default "Birman_Morgana" + default "Birman_Phoenix"
config DEVICETREE default "devicetree_glinda.cb" if BOARD_AMD_BIRMAN_GLINDA - default "devicetree_morgana.cb" + default "devicetree_phoenix.cb"
config AMD_FWM_POSITION_INDEX int @@ -79,7 +79,7 @@ string depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A # Add the EFS and EC to the RO region only - # This is a birman-specific override of soc/amd/(morgana | glinda)/Kconfig + # This is a birman-specific override of soc/amd/(phoenix | glinda)/Kconfig default "apu/amdfw apu/ecfw"
config CHROMEOS @@ -109,4 +109,4 @@
endif # !EM100
-endif # BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_MORGANA +endif # BOARD_AMD_BIRMAN_GLINDA || BOARD_AMD_BIRMAN_PHOENIX diff --git a/src/mainboard/amd/birman/Kconfig.name b/src/mainboard/amd/birman/Kconfig.name index ae8cb98..33830dd 100644 --- a/src/mainboard/amd/birman/Kconfig.name +++ b/src/mainboard/amd/birman/Kconfig.name @@ -1,8 +1,8 @@ comment "Birman"
-config BOARD_AMD_BIRMAN_MORGANA - bool "-> Birman for Morgana SoC" - select SOC_AMD_MORGANA +config BOARD_AMD_BIRMAN_PHOENIX + bool "-> Birman for Phoenix SoC" + select SOC_AMD_PHOENIX
config BOARD_AMD_BIRMAN_GLINDA bool "-> Birman for Glinda SoC" diff --git a/src/mainboard/amd/birman/devicetree_morgana.cb b/src/mainboard/amd/birman/devicetree_phoenix.cb similarity index 99% rename from src/mainboard/amd/birman/devicetree_morgana.cb rename to src/mainboard/amd/birman/devicetree_phoenix.cb index 8b5728f..a4f18a3 100644 --- a/src/mainboard/amd/birman/devicetree_morgana.cb +++ b/src/mainboard/amd/birman/devicetree_phoenix.cb @@ -2,7 +2,7 @@
# TODO: Update for birman
-chip soc/amd/morgana +chip soc/amd/phoenix register "common_config.espi_config" = "{ .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN | ESPI_DECODE_IO_0X60_0X64_EN, .generic_io_range[0] = { diff --git a/src/mainboard/amd/mayan/Kconfig b/src/mainboard/amd/mayan/Kconfig index 8cd412a..797b5e5 100644 --- a/src/mainboard/amd/mayan/Kconfig +++ b/src/mainboard/amd/mayan/Kconfig @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only
-if BOARD_AMD_MAYAN_MORGANA +if BOARD_AMD_MAYAN_PHOENIX
config BOARD_SPECIFIC_OPTIONS def_bool y @@ -23,10 +23,10 @@ default "amd/mayan"
config MAINBOARD_PART_NUMBER - default "Mayan_Morgana" + default "Mayan_Phoenix"
config DEVICETREE - default "devicetree_morgana.cb" + default "devicetree_phoenix.cb"
config AMD_FWM_POSITION_INDEX int @@ -77,7 +77,7 @@ string depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A # Add the EFS and EC to the RO region only - # This is a mayan-specific override of soc/amd/morgana/Kconfig + # This is a mayan-specific override of soc/amd/phoenix/Kconfig default "apu/amdfw ec/ecfw"
config CHROMEOS @@ -107,4 +107,4 @@
endif # !EM100
-endif # BOARD_AMD_MAYAN_MORGANA +endif # BOARD_AMD_MAYAN_PHOENIX diff --git a/src/mainboard/amd/mayan/Kconfig.name b/src/mainboard/amd/mayan/Kconfig.name index 1d60d67..9c99748 100644 --- a/src/mainboard/amd/mayan/Kconfig.name +++ b/src/mainboard/amd/mayan/Kconfig.name @@ -1,5 +1,5 @@ comment "Mayan"
-config BOARD_AMD_MAYAN_MORGANA - bool "-> Mayan for Morgana SoC" - select SOC_AMD_MORGANA +config BOARD_AMD_MAYAN_PHOENIX + bool "-> Mayan for Phoenix SoC" + select SOC_AMD_PHOENIX diff --git a/src/mainboard/amd/mayan/devicetree_morgana.cb b/src/mainboard/amd/mayan/devicetree_phoenix.cb similarity index 99% rename from src/mainboard/amd/mayan/devicetree_morgana.cb rename to src/mainboard/amd/mayan/devicetree_phoenix.cb index cfcacfa..ec88892 100644 --- a/src/mainboard/amd/mayan/devicetree_morgana.cb +++ b/src/mainboard/amd/mayan/devicetree_phoenix.cb @@ -2,7 +2,7 @@
# TODO: Update for mayan
-chip soc/amd/morgana +chip soc/amd/phoenix register "common_config.espi_config" = "{ .std_io_decode_bitmap = ESPI_DECODE_IO_0x80_EN | ESPI_DECODE_IO_0X2E_0X2F_EN | ESPI_DECODE_IO_0X60_0X64_EN, .generic_io_range[0] = { diff --git a/src/mainboard/amd/mayan/gpio.c b/src/mainboard/amd/mayan/gpio.c index b17061d..2245e3b 100644 --- a/src/mainboard/amd/mayan/gpio.c +++ b/src/mainboard/amd/mayan/gpio.c @@ -139,7 +139,7 @@ /* CLK_REQ2_L */ PAD_NF(GPIO_116, CLK_REQ2_L, PULL_NONE), /* GPIO_117 - GPIO_129: Not available */ - /* SATA_ACT_L - morgana does not have SATA, so force inactive */ + /* SATA_ACT_L - phoenix does not have SATA, so force inactive */ PAD_GPO(GPIO_130, HIGH), /* CLK_REQ3_L */ PAD_NF(GPIO_131, CLK_REQ3_L, PULL_NONE), diff --git a/src/soc/amd/morgana/include/soc/cpu.h b/src/soc/amd/morgana/include/soc/cpu.h deleted file mode 100644 index ac85861..0000000 --- a/src/soc/amd/morgana/include/soc/cpu.h +++ /dev/null @@ -1,8 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef AMD_MORGANA_CPU_H -#define AMD_MORGANA_CPU_H - -#define MORGANA_A0_CPUID 0x008a0f00 /* TODO: Update for Morgana */ - -#endif /* AMD_MORGANA_CPU_H */ diff --git a/src/soc/amd/morgana/include/soc/espi.h b/src/soc/amd/morgana/include/soc/espi.h deleted file mode 100644 index d8217c6..0000000 --- a/src/soc/amd/morgana/include/soc/espi.h +++ /dev/null @@ -1,10 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* TODO: Update for Morgana */ - -#ifndef AMD_MORGANA_ESPI_H -#define AMD_MORGANA_ESPI_H - -void espi_switch_to_spi1_pads(void); - -#endif /* AMD_MORGANA_ESPI_H */ diff --git a/src/soc/amd/morgana/include/soc/uart.h b/src/soc/amd/morgana/include/soc/uart.h deleted file mode 100644 index ef911b5..0000000 --- a/src/soc/amd/morgana/include/soc/uart.h +++ /dev/null @@ -1,12 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -/* TODO: Update for Morgana */ - -#ifndef AMD_MORGANA_UART_H -#define AMD_MORGANA_UART_H - -#include <types.h> - -void clear_uart_legacy_config(void); /* disable legacy I/O decode for FCH UART */ - -#endif /* AMD_MORGANA_UART_H */ diff --git a/src/soc/amd/morgana/Kconfig b/src/soc/amd/phoenix/Kconfig similarity index 97% rename from src/soc/amd/morgana/Kconfig rename to src/soc/amd/phoenix/Kconfig index 7765f92..ba1aad3 100644 --- a/src/soc/amd/morgana/Kconfig +++ b/src/soc/amd/phoenix/Kconfig @@ -1,14 +1,14 @@ # SPDX-License-Identifier: GPL-2.0-only
# TODO: Evaluate what can be moved to a common directory -# TODO: Update for Morgana +# TODO: Update for Phoenix
-config SOC_AMD_MORGANA +config SOC_AMD_PHOENIX bool help - AMD Morgana support + AMD Phoenix support
-if SOC_AMD_MORGANA +if SOC_AMD_PHOENIX
config SOC_SPECIFIC_OPTIONS def_bool y @@ -91,7 +91,7 @@
config CHIPSET_DEVICETREE string - default "soc/amd/morgana/chipset.cb" + default "soc/amd/phoenix/chipset.cb"
config EARLY_RESERVED_DRAM_BASE hex @@ -238,7 +238,7 @@
config MAX_CPUS int - default 8 if SOC_AMD_MORGANA + default 8 if SOC_AMD_PHOENIX default 16 help Maximum number of threads the platform can have. @@ -346,7 +346,7 @@
config AMDFW_CONFIG_FILE string "AMD PSP Firmware config file" - default "src/soc/amd/morgana/fw.cfg" + default "src/soc/amd/phoenix/fw.cfg" help Specify the path/location of AMD PSP Firmware config file.
@@ -390,7 +390,7 @@ config PSP_WHITELIST_FILE string "Debug whitelist file path" depends on HAVE_PSP_WHITELIST_FILE - default "site-local/3rdparty/amd_blobs/morgana/PSP/wtl-mrg.sbin" + default "site-local/3rdparty/amd_blobs/phoenix/PSP/wtl-mrg.sbin"
config HAVE_SPL_FILE bool "Have a mainboard specific SPL table file" diff --git a/src/soc/amd/morgana/Makefile.inc b/src/soc/amd/phoenix/Makefile.inc similarity index 94% rename from src/soc/amd/morgana/Makefile.inc rename to src/soc/amd/phoenix/Makefile.inc index 44a92eb..71defcf 100644 --- a/src/soc/amd/morgana/Makefile.inc +++ b/src/soc/amd/phoenix/Makefile.inc @@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause
# TODO: Move as much as possible to common -# TODO: Update for Morgana +# TODO: Update for Phoenix
-ifeq ($(CONFIG_SOC_AMD_MORGANA),y) +ifeq ($(CONFIG_SOC_AMD_PHOENIX),y)
subdirs-$(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK) += psp_verstage
@@ -51,9 +51,9 @@ smm-y += smu.c smm-$(CONFIG_DEBUG_SMI) += uart.c
-CPPFLAGS_common += -I$(src)/soc/amd/morgana/include -CPPFLAGS_common += -I$(src)/soc/amd/morgana/acpi -CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/morgana +CPPFLAGS_common += -I$(src)/soc/amd/phoenix/include +CPPFLAGS_common += -I$(src)/soc/amd/phoenix/acpi +CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/phoenix CPPFLAGS_common += -I$(src)/vendorcode/amd/fsp/common
MAINBOARD_BLOBS_DIR:=$(top)/3rdparty/blobs/mainboard/$(MAINBOARDDIR) @@ -69,7 +69,7 @@ $(if $(CONFIG_AMD_FWM_POSITION_INDEX), ,\ $(error Invalid AMD firmware position index. Check if the board sets a valid ROM size))
-MORGANA_FWM_POSITION=$(call int-add, \ +PHOENIX_FWM_POSITION=$(call int-add, \ $(call int-subtract, 0xffffffff \ $(call int-shift-left, \ 0x80000 $(CONFIG_AMD_FWM_POSITION_INDEX))) 0x20000 1) @@ -78,11 +78,11 @@ # Building the cbfs image will fail if the offset isn't large enough AMD_FW_AB_POSITION := 0x40
-MORGANA_FW_A_POSITION=$(call int-add, \ +PHOENIX_FW_A_POSITION=$(call int-add, \ $(shell awk '$$2 == "FMAP_SECTION_FW_MAIN_A_START" {print $$3}' $(obj)/fmap_config.h) \ $(AMD_FW_AB_POSITION))
-MORGANA_FW_B_POSITION=$(call int-add, \ +PHOENIX_FW_B_POSITION=$(call int-add, \ $(shell awk '$$2 == "FMAP_SECTION_FW_MAIN_B_START" {print $$3}' $(obj)/fmap_config.h) \ $(AMD_FW_AB_POSITION)) # @@ -237,7 +237,7 @@ $(OPT_EFS_SPI_SPEED) \ $(OPT_EFS_SPI_MICRON_FLAG) \ --config $(CONFIG_AMDFW_CONFIG_FILE) \ - --soc-name "Morgana" \ + --soc-name "Phoenix" \ --flashsize $(CONFIG_ROM_SIZE) \ $(OPT_RECOVERY_AB_SINGLE_COPY)
@@ -259,7 +259,7 @@ $(OPT_VERSTAGE_FILE) \ $(OPT_VERSTAGE_SIG_FILE) \ $(OPT_SPL_TABLE_FILE) \ - --location $(shell printf "%#x" $(MORGANA_FWM_POSITION)) \ + --location $(shell printf "%#x" $(PHOENIX_FWM_POSITION)) \ --output $@
$(PSP_BIOSBIN_FILE): $(PSP_ELF_FILE) $(AMDCOMPRESS) @@ -278,7 +278,7 @@ $(OPT_SPL_RW_AB_TABLE_FILE) \ $(OPT_SIGNED_AMDFW_A_POSITION) \ $(OPT_SIGNED_AMDFW_A_FILE) \ - --location $(shell printf "%#x" $(MORGANA_FW_A_POSITION)) \ + --location $(shell printf "%#x" $(PHOENIX_FW_A_POSITION)) \ --anywhere \ --output $@
@@ -292,7 +292,7 @@ $(OPT_SPL_RW_AB_TABLE_FILE) \ $(OPT_SIGNED_AMDFW_B_POSITION) \ $(OPT_SIGNED_AMDFW_B_FILE) \ - --location $(shell printf "%#x" $(MORGANA_FW_B_POSITION)) \ + --location $(shell printf "%#x" $(PHOENIX_FW_B_POSITION)) \ --anywhere \ --output $@
@@ -320,4 +320,4 @@ endif # CONFIG_SEPARATE_SIGNED_PSPFW endif
-endif # ($(CONFIG_SOC_AMD_MORGANA),y) +endif # ($(CONFIG_SOC_AMD_PHOENIX),y) diff --git a/src/soc/amd/morgana/acpi.c b/src/soc/amd/phoenix/acpi.c similarity index 98% rename from src/soc/amd/morgana/acpi.c rename to src/soc/amd/phoenix/acpi.c index 15b64c5..06b7f04 100644 --- a/src/soc/amd/morgana/acpi.c +++ b/src/soc/amd/phoenix/acpi.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */ /* TODO: See what can be made common */
/* ACPI - create the Fixed ACPI Description Tables (FADT) */ @@ -53,7 +53,7 @@ */ void acpi_fill_fadt(acpi_fadt_t *fadt) { - const struct soc_amd_morgana_config *cfg = config_of_soc(); + const struct soc_amd_phoenix_config *cfg = config_of_soc();
printk(BIOS_DEBUG, "pm_base: 0x%04x\n", ACPI_IO_BASE);
diff --git a/src/soc/amd/morgana/acpi/globalnvs.asl b/src/soc/amd/phoenix/acpi/globalnvs.asl similarity index 93% rename from src/soc/amd/morgana/acpi/globalnvs.asl rename to src/soc/amd/phoenix/acpi/globalnvs.asl index 55fbabb..8012a7b 100644 --- a/src/soc/amd/morgana/acpi/globalnvs.asl +++ b/src/soc/amd/phoenix/acpi/globalnvs.asl @@ -4,7 +4,7 @@
/* * NOTE: The layout of the GNVS structure below must match the layout in - * soc/amd/morgana/include/soc/nvs.h !!! + * soc/amd/phoenix/include/soc/nvs.h !!! */
Field (GNVS, ByteAcc, NoLock, Preserve) diff --git a/src/soc/amd/morgana/acpi/mmio.asl b/src/soc/amd/phoenix/acpi/mmio.asl similarity index 99% rename from src/soc/amd/morgana/acpi/mmio.asl rename to src/soc/amd/phoenix/acpi/mmio.asl index f52f0e8..e8130b0 100644 --- a/src/soc/amd/morgana/acpi/mmio.asl +++ b/src/soc/amd/phoenix/acpi/mmio.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <soc/amd/common/acpi/aoac.asl> #include <soc/aoac_defs.h> diff --git a/src/soc/amd/morgana/acpi/pci0.asl b/src/soc/amd/phoenix/acpi/pci0.asl similarity index 98% rename from src/soc/amd/morgana/acpi/pci0.asl rename to src/soc/amd/phoenix/acpi/pci0.asl index 3999d40..665fe30 100644 --- a/src/soc/amd/morgana/acpi/pci0.asl +++ b/src/soc/amd/phoenix/acpi/pci0.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
Device(PCI0) { Name(_HID, EISAID("PNP0A08")) /* PCI Express Root Bridge */ diff --git a/src/soc/amd/morgana/acpi/pci_int_defs.asl b/src/soc/amd/phoenix/acpi/pci_int_defs.asl similarity index 98% rename from src/soc/amd/morgana/acpi/pci_int_defs.asl rename to src/soc/amd/phoenix/acpi/pci_int_defs.asl index ddd8edd..5d6aadc 100644 --- a/src/soc/amd/morgana/acpi/pci_int_defs.asl +++ b/src/soc/amd/phoenix/acpi/pci_int_defs.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
/* PCI IRQ mapping registers, C00h-C01h. */ OperationRegion(PRQM, SystemIO, 0x00000c00, 0x00000002) diff --git a/src/soc/amd/morgana/acpi/soc.asl b/src/soc/amd/phoenix/acpi/soc.asl similarity index 96% rename from src/soc/amd/morgana/acpi/soc.asl rename to src/soc/amd/phoenix/acpi/soc.asl index df9911c..4df7835 100644 --- a/src/soc/amd/morgana/acpi/soc.asl +++ b/src/soc/amd/phoenix/acpi/soc.asl @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include "globalnvs.asl"
diff --git a/src/soc/amd/morgana/agesa_acpi.c b/src/soc/amd/phoenix/agesa_acpi.c similarity index 100% rename from src/soc/amd/morgana/agesa_acpi.c rename to src/soc/amd/phoenix/agesa_acpi.c diff --git a/src/soc/amd/morgana/aoac.c b/src/soc/amd/phoenix/aoac.c similarity index 100% rename from src/soc/amd/morgana/aoac.c rename to src/soc/amd/phoenix/aoac.c diff --git a/src/soc/amd/morgana/chip.c b/src/soc/amd/phoenix/chip.c similarity index 85% rename from src/soc/amd/morgana/chip.c rename to src/soc/amd/phoenix/chip.c index 13d2638..7f0b93f 100644 --- a/src/soc/amd/morgana/chip.c +++ b/src/soc/amd/phoenix/chip.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <amdblocks/data_fabric.h> #include <console/console.h> @@ -14,7 +14,7 @@ #include <types.h> #include "chip.h"
-struct device_operations morgana_cpu_bus_ops = { +struct device_operations phoenix_cpu_bus_ops = { .read_resources = noop_read_resources, .set_resources = noop_set_resources, .init = mp_cpu_bus_init, @@ -34,7 +34,7 @@ return NULL; };
-struct device_operations morgana_pci_domain_ops = { +struct device_operations phoenix_pci_domain_ops = { .read_resources = pci_domain_read_resources, .set_resources = pci_domain_set_resources, .scan_bus = pci_domain_scan_bus, @@ -57,8 +57,8 @@ fch_final(chip_info); }
-struct chip_operations soc_amd_morgana_ops = { - CHIP_NAME("AMD Morgana SoC") +struct chip_operations soc_amd_phoenix_ops = { + CHIP_NAME("AMD Phoenix SoC") .init = soc_init, .final = soc_final }; diff --git a/src/soc/amd/morgana/chip.h b/src/soc/amd/phoenix/chip.h similarity index 93% rename from src/soc/amd/morgana/chip.h rename to src/soc/amd/phoenix/chip.h index cceea10..f436f9f 100644 --- a/src/soc/amd/morgana/chip.h +++ b/src/soc/amd/phoenix/chip.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef MORGANA_CHIP_H -#define MORGANA_CHIP_H +#ifndef PHOENIX_CHIP_H +#define PHOENIX_CHIP_H
#include <amdblocks/chip.h> #include <amdblocks/i2c.h> @@ -13,9 +13,9 @@ #include <soc/southbridge.h> #include <drivers/i2c/designware/dw_i2c.h> #include <types.h> -#include <vendorcode/amd/fsp/morgana/FspUsb.h> +#include <vendorcode/amd/fsp/phoenix/FspUsb.h>
-struct soc_amd_morgana_config { +struct soc_amd_phoenix_config { struct soc_amd_common_config common_config; u8 i2c_scl_reset; struct dw_i2c_bus_config i2c[I2C_CTRLR_COUNT]; @@ -107,4 +107,4 @@ struct usb_phy_config usb_phy; };
-#endif /* MORGANA_CHIP_H */ +#endif /* PHOENIX_CHIP_H */ diff --git a/src/soc/amd/morgana/chipset.cb b/src/soc/amd/phoenix/chipset.cb similarity index 95% rename from src/soc/amd/morgana/chipset.cb rename to src/soc/amd/phoenix/chipset.cb index a917637..0e01439 100644 --- a/src/soc/amd/morgana/chipset.cb +++ b/src/soc/amd/phoenix/chipset.cb @@ -1,12 +1,12 @@ -# TODO: Update for Morgana +# TODO: Update for Phoenix
-chip soc/amd/morgana +chip soc/amd/phoenix device cpu_cluster 0 on - ops morgana_cpu_bus_ops + ops phoenix_cpu_bus_ops end device domain 0 on - ops morgana_pci_domain_ops - device pci 00.0 alias gnb on ops morgana_root_complex_operations end + ops phoenix_pci_domain_ops + device pci 00.0 alias gnb on ops phoenix_root_complex_operations end device pci 00.2 alias iommu off ops amd_iommu_ops end
device pci 01.0 on end # Dummy Host Bridge diff --git a/src/soc/amd/morgana/config.c b/src/soc/amd/phoenix/config.c similarity index 77% rename from src/soc/amd/morgana/config.c rename to src/soc/amd/phoenix/config.c index 0728f15..b252987 100644 --- a/src/soc/amd/morgana/config.c +++ b/src/soc/amd/phoenix/config.c @@ -6,6 +6,6 @@
const struct soc_amd_common_config *soc_get_common_config(void) { - const struct soc_amd_morgana_config *cfg = config_of_soc(); + const struct soc_amd_phoenix_config *cfg = config_of_soc(); return &cfg->common_config; } diff --git a/src/soc/amd/morgana/cpu.c b/src/soc/amd/phoenix/cpu.c similarity index 93% rename from src/soc/amd/morgana/cpu.c rename to src/soc/amd/phoenix/cpu.c index fe5a1b8..f00539e 100644 --- a/src/soc/amd/morgana/cpu.c +++ b/src/soc/amd/phoenix/cpu.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <acpi/acpi.h> #include <amdblocks/cpu.h> @@ -50,7 +50,7 @@ };
static struct cpu_device_id cpu_table[] = { - { X86_VENDOR_AMD, MORGANA_A0_CPUID}, /* TODO: Update for Morgana */ + { X86_VENDOR_AMD, PHOENIX_A0_CPUID}, /* TODO: Update for Phoenix */ { 0, 0 }, };
diff --git a/src/soc/amd/morgana/early_fch.c b/src/soc/amd/phoenix/early_fch.c similarity index 97% rename from src/soc/amd/morgana/early_fch.c rename to src/soc/amd/phoenix/early_fch.c index f8954b5..d74ef3e 100644 --- a/src/soc/amd/morgana/early_fch.c +++ b/src/soc/amd/phoenix/early_fch.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <amdblocks/acpimmio.h> #include <amdblocks/aoac.h> diff --git a/src/soc/amd/morgana/espi_util.c b/src/soc/amd/phoenix/espi_util.c similarity index 93% rename from src/soc/amd/morgana/espi_util.c rename to src/soc/amd/phoenix/espi_util.c index 1d0fc17..22a65a0 100644 --- a/src/soc/amd/morgana/espi_util.c +++ b/src/soc/amd/phoenix/espi_util.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <amdblocks/spi.h> #include <soc/espi.h> diff --git a/src/soc/amd/morgana/fch.c b/src/soc/amd/phoenix/fch.c similarity index 98% rename from src/soc/amd/morgana/fch.c rename to src/soc/amd/phoenix/fch.c index b740f47..7e26533 100644 --- a/src/soc/amd/morgana/fch.c +++ b/src/soc/amd/phoenix/fch.c @@ -124,7 +124,7 @@ /* configure the general purpose PCIe clock outputs according to the devicetree settings */ static void gpp_clk_setup(void) { - struct soc_amd_morgana_config *cfg = config_of_soc(); + struct soc_amd_phoenix_config *cfg = config_of_soc();
/* look-up table to be able to iterate over the PCIe clock output settings */ const uint8_t gpp_clk_shift_lut[GPP_CLK_OUTPUT_COUNT] = { diff --git a/src/soc/amd/morgana/fsp_m_params.c b/src/soc/amd/phoenix/fsp_m_params.c similarity index 97% rename from src/soc/amd/morgana/fsp_m_params.c rename to src/soc/amd/phoenix/fsp_m_params.c index 0b4bf2a..06c7127 100644 --- a/src/soc/amd/morgana/fsp_m_params.c +++ b/src/soc/amd/phoenix/fsp_m_params.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */ /* TODO: See what can be moved to common */
#include <amdblocks/apob_cache.h> @@ -15,7 +15,7 @@ #include <soc/pci_devs.h> #include <string.h> #include <types.h> -#include <vendorcode/amd/fsp/morgana/FspUsb.h> +#include <vendorcode/amd/fsp/phoenix/FspUsb.h> #include "chip.h"
__weak void mb_pre_fspm(FSP_M_CONFIG *mcfg) @@ -71,7 +71,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version) { FSP_M_CONFIG *mcfg = &mupd->FspmConfig; - const struct soc_amd_morgana_config *config = config_of_soc(); + const struct soc_amd_phoenix_config *config = config_of_soc();
mupd->FspmArchUpd.NvsBufferPtr = (uintptr_t)soc_fill_apob_cache();
diff --git a/src/soc/amd/morgana/fsp_s_params.c b/src/soc/amd/phoenix/fsp_s_params.c similarity index 97% rename from src/soc/amd/morgana/fsp_s_params.c rename to src/soc/amd/phoenix/fsp_s_params.c index a68647c..46c8e76 100644 --- a/src/soc/amd/morgana/fsp_s_params.c +++ b/src/soc/amd/phoenix/fsp_s_params.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <acpi/acpi.h> #include <amdblocks/apob_cache.h> diff --git a/src/soc/amd/morgana/fw.cfg b/src/soc/amd/phoenix/fw.cfg similarity index 96% rename from src/soc/amd/morgana/fw.cfg rename to src/soc/amd/phoenix/fw.cfg index 055aa9c..4c10178 100644 --- a/src/soc/amd/morgana/fw.cfg +++ b/src/soc/amd/phoenix/fw.cfg @@ -1,6 +1,6 @@ # PSP fw config file
-FIRMWARE_LOCATION 3rdparty/amd_blobs/morgana/psp +FIRMWARE_LOCATION 3rdparty/amd_blobs/phoenix/psp
# type file AMD_PUBKEY_FILE TypeId0x00_Root.tkn diff --git a/src/soc/amd/morgana/gpio.c b/src/soc/amd/phoenix/gpio.c similarity index 100% rename from src/soc/amd/morgana/gpio.c rename to src/soc/amd/phoenix/gpio.c diff --git a/src/soc/amd/morgana/i2c.c b/src/soc/amd/phoenix/i2c.c similarity index 90% rename from src/soc/amd/morgana/i2c.c rename to src/soc/amd/phoenix/i2c.c index 0e416cf..8237b7d 100644 --- a/src/soc/amd/morgana/i2c.c +++ b/src/soc/amd/phoenix/i2c.c @@ -42,7 +42,7 @@
void reset_i2c_peripherals(void) { - const struct soc_amd_morgana_config *cfg = config_of_soc(); + const struct soc_amd_phoenix_config *cfg = config_of_soc(); struct soc_i2c_peripheral_reset_info reset_info;
reset_info.i2c_scl_reset_mask = cfg->i2c_scl_reset & GPIO_I2C_MASK; @@ -53,7 +53,7 @@
void soc_i2c_misc_init(unsigned int bus, const struct dw_i2c_bus_config *cfg) { - const struct soc_amd_morgana_config *config = config_of_soc(); + const struct soc_amd_phoenix_config *config = config_of_soc();
if (bus >= ARRAY_SIZE(config->i2c_pad)) return; @@ -69,7 +69,7 @@
const struct dw_i2c_bus_config *soc_get_i2c_bus_config(size_t *num_buses) { - const struct soc_amd_morgana_config *config = config_of_soc(); + const struct soc_amd_phoenix_config *config = config_of_soc();
*num_buses = ARRAY_SIZE(config->i2c); return config->i2c; diff --git a/src/soc/amd/morgana/include/soc/acpi.h b/src/soc/amd/phoenix/include/soc/acpi.h similarity index 82% rename from src/soc/amd/morgana/include/soc/acpi.h rename to src/soc/amd/phoenix/include/soc/acpi.h index 132bac4..dc09a1d 100644 --- a/src/soc/amd/morgana/include/soc/acpi.h +++ b/src/soc/amd/phoenix/include/soc/acpi.h @@ -2,8 +2,8 @@
/* TODO: Move to common */
-#ifndef AMD_MORGANA_ACPI_H -#define AMD_MORGANA_ACPI_H +#ifndef AMD_PHOENIX_ACPI_H +#define AMD_PHOENIX_ACPI_H
#include <acpi/acpi.h> #include <amdblocks/acpi.h> @@ -20,4 +20,4 @@ uintptr_t agesa_write_acpi_tables(const struct device *device, uintptr_t current, acpi_rsdp_t *rsdp);
-#endif /* AMD_MORGANA_ACPI_H */ +#endif /* AMD_PHOENIX_ACPI_H */ diff --git a/src/soc/amd/morgana/include/soc/amd_pci_int_defs.h b/src/soc/amd/phoenix/include/soc/amd_pci_int_defs.h similarity index 93% rename from src/soc/amd/morgana/include/soc/amd_pci_int_defs.h rename to src/soc/amd/phoenix/include/soc/amd_pci_int_defs.h index 052074b..52cca1a 100644 --- a/src/soc/amd/morgana/include/soc/amd_pci_int_defs.h +++ b/src/soc/amd/phoenix/include/soc/amd_pci_int_defs.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_AMD_PCI_INT_DEFS_H -#define AMD_MORGANA_AMD_PCI_INT_DEFS_H +#ifndef AMD_PHOENIX_AMD_PCI_INT_DEFS_H +#define AMD_PHOENIX_AMD_PCI_INT_DEFS_H
/* * PIRQ and device routing - these define the index into the @@ -53,4 +53,4 @@ #define PIRQ_UART2 0x78 /* UART2 */ #define PIRQ_UART3 0x79 /* UART3 */
-#endif /* AMD_MORGANA_AMD_PCI_INT_DEFS_H */ +#endif /* AMD_PHOENIX_AMD_PCI_INT_DEFS_H */ diff --git a/src/soc/amd/morgana/include/soc/aoac_defs.h b/src/soc/amd/phoenix/include/soc/aoac_defs.h similarity index 84% rename from src/soc/amd/morgana/include/soc/aoac_defs.h rename to src/soc/amd/phoenix/include/soc/aoac_defs.h index a93f06d..1dbfc48 100644 --- a/src/soc/amd/morgana/include/soc/aoac_defs.h +++ b/src/soc/amd/phoenix/include/soc/aoac_defs.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_AOAC_DEFS_H -#define AMD_MORGANA_AOAC_DEFS_H +#ifndef AMD_PHOENIX_AOAC_DEFS_H +#define AMD_PHOENIX_AOAC_DEFS_H
/* FCH AOAC device offsets for AOAC_DEV_D3_CTL/AOAC_DEV_D3_STATE */ #define FCH_AOAC_DEV_CLK_GEN 0 @@ -20,4 +20,4 @@ #define FCH_AOAC_DEV_ESPI 27 #define FCH_AOAC_DEV_EMMC 28
-#endif /* AMD_MORGANA_AOAC_DEFS_H */ +#endif /* AMD_PHOENIX_AOAC_DEFS_H */ diff --git a/src/soc/amd/phoenix/include/soc/cpu.h b/src/soc/amd/phoenix/include/soc/cpu.h new file mode 100644 index 0000000..d03bee0 --- /dev/null +++ b/src/soc/amd/phoenix/include/soc/cpu.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#ifndef AMD_PHOENIX_CPU_H +#define AMD_PHOENIX_CPU_H + +#define PHOENIX_A0_CPUID 0x008a0f00 /* TODO: Update for Phoenix */ + +#endif /* AMD_PHOENIX_CPU_H */ diff --git a/src/soc/amd/morgana/include/soc/data_fabric.h b/src/soc/amd/phoenix/include/soc/data_fabric.h similarity index 91% rename from src/soc/amd/morgana/include/soc/data_fabric.h rename to src/soc/amd/phoenix/include/soc/data_fabric.h index 46070f7..cdd9b1a 100644 --- a/src/soc/amd/morgana/include/soc/data_fabric.h +++ b/src/soc/amd/phoenix/include/soc/data_fabric.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_DATA_FABRIC_H -#define AMD_MORGANA_DATA_FABRIC_H +#ifndef AMD_PHOENIX_DATA_FABRIC_H +#define AMD_PHOENIX_DATA_FABRIC_H
#include <types.h>
@@ -45,4 +45,4 @@ uint32_t raw; };
-#endif /* AMD_MORGANA_DATA_FABRIC_H */ +#endif /* AMD_PHOENIX_DATA_FABRIC_H */ diff --git a/src/soc/amd/phoenix/include/soc/espi.h b/src/soc/amd/phoenix/include/soc/espi.h new file mode 100644 index 0000000..057332a --- /dev/null +++ b/src/soc/amd/phoenix/include/soc/espi.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* TODO: Update for Phoenix */ + +#ifndef AMD_PHOENIX_ESPI_H +#define AMD_PHOENIX_ESPI_H + +void espi_switch_to_spi1_pads(void); + +#endif /* AMD_PHOENIX_ESPI_H */ diff --git a/src/soc/amd/morgana/include/soc/gpio.h b/src/soc/amd/phoenix/include/soc/gpio.h similarity index 98% rename from src/soc/amd/morgana/include/soc/gpio.h rename to src/soc/amd/phoenix/include/soc/gpio.h index 1db9b7c..daad3b0 100644 --- a/src/soc/amd/morgana/include/soc/gpio.h +++ b/src/soc/amd/phoenix/include/soc/gpio.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_GPIO_H -#define AMD_MORGANA_GPIO_H +#ifndef AMD_PHOENIX_GPIO_H +#define AMD_PHOENIX_GPIO_H
#define GPIO_DEVICE_NAME "AMD0030" #define GPIO_DEVICE_DESC "GPIO Controller" @@ -296,4 +296,4 @@ #define GPIO_157_IOMUX_GPIOxx 0 #define GPIO_157_IOMUX_UART4_INTR 1
-#endif /* AMD_MORGANA_GPIO_H */ +#endif /* AMD_PHOENIX_GPIO_H */ diff --git a/src/soc/amd/morgana/include/soc/i2c.h b/src/soc/amd/phoenix/include/soc/i2c.h similarity index 89% rename from src/soc/amd/morgana/include/soc/i2c.h rename to src/soc/amd/phoenix/include/soc/i2c.h index 8946336..5146bf4 100644 --- a/src/soc/amd/morgana/include/soc/i2c.h +++ b/src/soc/amd/phoenix/include/soc/i2c.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_I2C_H -#define AMD_MORGANA_I2C_H +#ifndef AMD_PHOENIX_I2C_H +#define AMD_PHOENIX_I2C_H
#include <soc/gpio.h> #include <types.h> @@ -27,4 +27,4 @@ void i2c_set_bar(unsigned int bus, uintptr_t bar); void reset_i2c_peripherals(void);
-#endif /* AMD_MORGANA_I2C_H */ +#endif /* AMD_PHOENIX_I2C_H */ diff --git a/src/soc/amd/morgana/include/soc/iomap.h b/src/soc/amd/phoenix/include/soc/iomap.h similarity index 94% rename from src/soc/amd/morgana/include/soc/iomap.h rename to src/soc/amd/phoenix/include/soc/iomap.h index b00d6dd..5a1488b 100644 --- a/src/soc/amd/morgana/include/soc/iomap.h +++ b/src/soc/amd/phoenix/include/soc/iomap.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_IOMAP_H -#define AMD_MORGANA_IOMAP_H +#ifndef AMD_PHOENIX_IOMAP_H +#define AMD_PHOENIX_IOMAP_H
#define I2C_MASTER_DEV_COUNT 4 #define I2C_MASTER_START_INDEX 0 @@ -54,4 +54,4 @@ #define ACPI_GPE0_EN (ACPI_GPE0_BLK + 0x04) #define SMB_BASE_ADDR 0x0b00
-#endif /* AMD_MORGANA_IOMAP_H */ +#endif /* AMD_PHOENIX_IOMAP_H */ diff --git a/src/soc/amd/morgana/include/soc/lpc.h b/src/soc/amd/phoenix/include/soc/lpc.h similarity index 82% rename from src/soc/amd/morgana/include/soc/lpc.h rename to src/soc/amd/phoenix/include/soc/lpc.h index ab5f429..be62ce2 100644 --- a/src/soc/amd/morgana/include/soc/lpc.h +++ b/src/soc/amd/phoenix/include/soc/lpc.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_LPC_H -#define AMD_MORGANA_LPC_H +#ifndef AMD_PHOENIX_LPC_H +#define AMD_PHOENIX_LPC_H
/* LPC_MISC_CONTROL_BITS at D14F3x078 */
@@ -20,4 +20,4 @@ #define SPI_ROM_ALT_ENABLE BIT(0) #define SPI_PRESERVE_BITS (BIT(0) | BIT(1) | BIT(2) | BIT(3) | BIT(4))
-#endif /* AMD_MORGANA_LPC_H */ +#endif /* AMD_PHOENIX_LPC_H */ diff --git a/src/soc/amd/morgana/include/soc/msr.h b/src/soc/amd/phoenix/include/soc/msr.h similarity index 93% rename from src/soc/amd/morgana/include/soc/msr.h rename to src/soc/amd/phoenix/include/soc/msr.h index 0a6a799..57001ad 100644 --- a/src/soc/amd/morgana/include/soc/msr.h +++ b/src/soc/amd/phoenix/include/soc/msr.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_MSR_H -#define AMD_MORGANA_MSR_H +#ifndef AMD_PHOENIX_MSR_H +#define AMD_PHOENIX_MSR_H
/* MSRC001_00[6B:64] P-state [7:0] bit definitions */ #define PSTATE_DEF_HI_ENABLE_SHIFT 31 @@ -45,4 +45,4 @@ #define MSR_MAX_PERFORMANCE_FREQUENCY_CLOCK_COUNT 0xe7 #define MSR_ACTUAL_PERFORMANCE_FREQUENCY_CLOCK_COUNT 0xe8
-#endif /* AMD_MORGANA_MSR_H */ +#endif /* AMD_PHOENIX_MSR_H */ diff --git a/src/soc/amd/morgana/include/soc/nvs.h b/src/soc/amd/phoenix/include/soc/nvs.h similarity index 80% rename from src/soc/amd/morgana/include/soc/nvs.h rename to src/soc/amd/phoenix/include/soc/nvs.h index 572c776..f3f2540 100644 --- a/src/soc/amd/morgana/include/soc/nvs.h +++ b/src/soc/amd/phoenix/include/soc/nvs.h @@ -1,15 +1,15 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
/* * NOTE: The layout of the global_nvs structure below must match the layout - * in soc/soc/amd/morgana/acpi/globalnvs.asl !!! + * in soc/soc/amd/phoenix/acpi/globalnvs.asl !!! * */
-#ifndef AMD_MORGANA_NVS_H -#define AMD_MORGANA_NVS_H +#ifndef AMD_PHOENIX_NVS_H +#define AMD_PHOENIX_NVS_H
#include <stdint.h>
@@ -26,4 +26,4 @@ uint8_t tpsv; /* 0x19 - Passive Threshold */ };
-#endif /* AMD_MORGANA_NVS_H */ +#endif /* AMD_PHOENIX_NVS_H */ diff --git a/src/soc/amd/morgana/include/soc/pci_devs.h b/src/soc/amd/phoenix/include/soc/pci_devs.h similarity index 96% rename from src/soc/amd/morgana/include/soc/pci_devs.h rename to src/soc/amd/phoenix/include/soc/pci_devs.h index 4eb4e11..efe84bc 100644 --- a/src/soc/amd/morgana/include/soc/pci_devs.h +++ b/src/soc/amd/phoenix/include/soc/pci_devs.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_PCI_DEVS_H -#define AMD_MORGANA_PCI_DEVS_H +#ifndef AMD_PHOENIX_PCI_DEVS_H +#define AMD_PHOENIX_PCI_DEVS_H
#include <device/pci_def.h> #include <amdblocks/pci_devs.h> @@ -132,4 +132,4 @@ #define DF_F7_DEVFN PCI_DEVFN(DF_DEV, 7) #define SOC_DF_F7_DEV _SOC_DEV(DF_DEV, 7)
-#endif /* AMD_MORGANA_PCI_DEVS_H */ +#endif /* AMD_PHOENIX_PCI_DEVS_H */ diff --git a/src/soc/amd/morgana/include/soc/platform_descriptors.h b/src/soc/amd/phoenix/include/soc/platform_descriptors.h similarity index 70% rename from src/soc/amd/morgana/include/soc/platform_descriptors.h rename to src/soc/amd/phoenix/include/soc/platform_descriptors.h index d6ece12..de18012 100644 --- a/src/soc/amd/morgana/include/soc/platform_descriptors.h +++ b/src/soc/amd/phoenix/include/soc/platform_descriptors.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_PLATFORM_DESCRIPTORS_H -#define AMD_MORGANA_PLATFORM_DESCRIPTORS_H +#ifndef AMD_PHOENIX_PLATFORM_DESCRIPTORS_H +#define AMD_PHOENIX_PLATFORM_DESCRIPTORS_H
#include <types.h> #include <platform_descriptors.h> @@ -16,4 +16,4 @@
void mb_pre_fspm(FSP_M_CONFIG *mcfg);
-#endif /* AMD_MORGANA_PLATFORM_DESCRIPTORS_H */ +#endif /* AMD_PHOENIX_PLATFORM_DESCRIPTORS_H */ diff --git a/src/soc/amd/morgana/include/soc/psp_transfer.h b/src/soc/amd/phoenix/include/soc/psp_transfer.h similarity index 92% rename from src/soc/amd/morgana/include/soc/psp_transfer.h rename to src/soc/amd/phoenix/include/soc/psp_transfer.h index 20b1cc8..a197bb8 100644 --- a/src/soc/amd/morgana/include/soc/psp_transfer.h +++ b/src/soc/amd/phoenix/include/soc/psp_transfer.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_PSP_TRANSFER_H -#define AMD_MORGANA_PSP_TRANSFER_H +#ifndef AMD_PHOENIX_PSP_TRANSFER_H +#define AMD_PHOENIX_PSP_TRANSFER_H
# if (CONFIG_CMOS_RECOVERY_BYTE != 0) # define CMOS_RECOVERY_BYTE CONFIG_CMOS_RECOVERY_BYTE @@ -61,4 +61,4 @@ void boot_with_psp_timestamp(uint64_t base_timestamp);
#endif -#endif /* AMD_MORGANA_PSP_TRANSFER_H */ +#endif /* AMD_PHOENIX_PSP_TRANSFER_H */ diff --git a/src/soc/amd/morgana/include/soc/psp_verstage_addr.h b/src/soc/amd/phoenix/include/soc/psp_verstage_addr.h similarity index 75% rename from src/soc/amd/morgana/include/soc/psp_verstage_addr.h rename to src/soc/amd/phoenix/include/soc/psp_verstage_addr.h index e99c525..ee9deda 100644 --- a/src/soc/amd/morgana/include/soc/psp_verstage_addr.h +++ b/src/soc/amd/phoenix/include/soc/psp_verstage_addr.h @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
-#ifndef AMD_MORGANA_PSP_VERSTAGE_ADDR_H -#define AMD_MORGANA_PSP_VERSTAGE_ADDR_H +#ifndef AMD_PHOENIX_PSP_VERSTAGE_ADDR_H +#define AMD_PHOENIX_PSP_VERSTAGE_ADDR_H
/* * Start of available space is 0x0 and this is where the @@ -22,4 +22,4 @@ #define PSP_VERSTAGE_STACK_START 0x2a000 #define PSP_VERSTAGE_STACK_SIZE (40K)
-#endif /* AMD_MORGANA_PSP_VERSTAGE_ADDR_H */ +#endif /* AMD_PHOENIX_PSP_VERSTAGE_ADDR_H */ diff --git a/src/soc/amd/morgana/include/soc/smi.h b/src/soc/amd/phoenix/include/soc/smi.h similarity index 98% rename from src/soc/amd/morgana/include/soc/smi.h rename to src/soc/amd/phoenix/include/soc/smi.h index 5b82a6a..034a327 100644 --- a/src/soc/amd/morgana/include/soc/smi.h +++ b/src/soc/amd/phoenix/include/soc/smi.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */
-#ifndef AMD_MORGANA_SMI_H -#define AMD_MORGANA_SMI_H +#ifndef AMD_PHOENIX_SMI_H +#define AMD_PHOENIX_SMI_H
#include <types.h>
@@ -179,4 +179,4 @@
#define SMI_MODE_MASK 0x03
-#endif /* AMD_MORGANA_SMI_H */ +#endif /* AMD_PHOENIX_SMI_H */ diff --git a/src/soc/amd/morgana/include/soc/smu.h b/src/soc/amd/phoenix/include/soc/smu.h similarity index 84% rename from src/soc/amd/morgana/include/soc/smu.h rename to src/soc/amd/phoenix/include/soc/smu.h index dc1d659..edab19a 100644 --- a/src/soc/amd/morgana/include/soc/smu.h +++ b/src/soc/amd/phoenix/include/soc/smu.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_SMU_H -#define AMD_MORGANA_SMU_H +#ifndef AMD_PHOENIX_SMU_H +#define AMD_PHOENIX_SMU_H
/* SMU mailbox register offsets in SMN */ #define SMN_SMU_MESG_ID 0x3b10528 @@ -20,4 +20,4 @@ */ void smu_sx_entry(void);
-#endif /* AMD_MORGANA_SMU_H */ +#endif /* AMD_PHOENIX_SMU_H */ diff --git a/src/soc/amd/morgana/include/soc/southbridge.h b/src/soc/amd/phoenix/include/soc/southbridge.h similarity index 97% rename from src/soc/amd/morgana/include/soc/southbridge.h rename to src/soc/amd/phoenix/include/soc/southbridge.h index b64d38a..9b84934 100644 --- a/src/soc/amd/morgana/include/soc/southbridge.h +++ b/src/soc/amd/phoenix/include/soc/southbridge.h @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#ifndef AMD_MORGANA_SOUTHBRIDGE_H -#define AMD_MORGANA_SOUTHBRIDGE_H +#ifndef AMD_PHOENIX_SOUTHBRIDGE_H +#define AMD_PHOENIX_SOUTHBRIDGE_H
#include <soc/iomap.h>
@@ -118,4 +118,4 @@ void fch_init(void *chip_info); void fch_final(void *chip_info);
-#endif /* AMD_MORGANA_SOUTHBRIDGE_H */ +#endif /* AMD_PHOENIX_SOUTHBRIDGE_H */ diff --git a/src/soc/amd/phoenix/include/soc/uart.h b/src/soc/amd/phoenix/include/soc/uart.h new file mode 100644 index 0000000..b8d6e17 --- /dev/null +++ b/src/soc/amd/phoenix/include/soc/uart.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +/* TODO: Update for Phoenix */ + +#ifndef AMD_PHOENIX_UART_H +#define AMD_PHOENIX_UART_H + +#include <types.h> + +void clear_uart_legacy_config(void); /* disable legacy I/O decode for FCH UART */ + +#endif /* AMD_PHOENIX_UART_H */ diff --git a/src/soc/amd/morgana/mca.c b/src/soc/amd/phoenix/mca.c similarity index 100% rename from src/soc/amd/morgana/mca.c rename to src/soc/amd/phoenix/mca.c diff --git a/src/soc/amd/morgana/preload.c b/src/soc/amd/phoenix/preload.c similarity index 100% rename from src/soc/amd/morgana/preload.c rename to src/soc/amd/phoenix/preload.c diff --git a/src/soc/amd/morgana/psp_verstage/Makefile.inc b/src/soc/amd/phoenix/psp_verstage/Makefile.inc similarity index 79% rename from src/soc/amd/morgana/psp_verstage/Makefile.inc rename to src/soc/amd/phoenix/psp_verstage/Makefile.inc index 8d1e5e4..6ff447c 100644 --- a/src/soc/amd/morgana/psp_verstage/Makefile.inc +++ b/src/soc/amd/phoenix/psp_verstage/Makefile.inc @@ -4,9 +4,9 @@
subdirs-y += ../../common/psp_verstage
-verstage-generic-ccopts += -I$(src)/soc/amd/morgana/psp_verstage/include +verstage-generic-ccopts += -I$(src)/soc/amd/phoenix/psp_verstage/include verstage-generic-ccopts += -I$(src)/soc/amd/common/psp_verstage/include -verstage-generic-ccopts += -Isrc/vendorcode/amd/fsp/morgana/include +verstage-generic-ccopts += -Isrc/vendorcode/amd/fsp/phoenix/include verstage-generic-ccopts += -Isrc/vendorcode/amd/fsp/common/include
verstage-y += svc.c diff --git a/src/soc/amd/morgana/psp_verstage/chipset.c b/src/soc/amd/phoenix/psp_verstage/chipset.c similarity index 98% rename from src/soc/amd/morgana/psp_verstage/chipset.c rename to src/soc/amd/phoenix/psp_verstage/chipset.c index 2f5fb44..3f3a7cf 100644 --- a/src/soc/amd/morgana/psp_verstage/chipset.c +++ b/src/soc/amd/phoenix/psp_verstage/chipset.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <bl_uapp/bl_syscall_public.h> #include <cbfs.h> diff --git a/src/soc/amd/morgana/psp_verstage/svc.c b/src/soc/amd/phoenix/psp_verstage/svc.c similarity index 99% rename from src/soc/amd/morgana/psp_verstage/svc.c rename to src/soc/amd/phoenix/psp_verstage/svc.c index 9517f97..becfcb0 100644 --- a/src/soc/amd/morgana/psp_verstage/svc.c +++ b/src/soc/amd/phoenix/psp_verstage/svc.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include "svc.h"
diff --git a/src/soc/amd/morgana/psp_verstage/svc.h b/src/soc/amd/phoenix/psp_verstage/svc.h similarity index 97% rename from src/soc/amd/morgana/psp_verstage/svc.h rename to src/soc/amd/phoenix/psp_verstage/svc.h index 3e5d53a..3c59a1c 100644 --- a/src/soc/amd/morgana/psp_verstage/svc.h +++ b/src/soc/amd/phoenix/psp_verstage/svc.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */ /* TODO: See what can be made common */
#ifndef PSP_VERSTAGE_SVC_H diff --git a/src/soc/amd/morgana/psp_verstage/uart.c b/src/soc/amd/phoenix/psp_verstage/uart.c similarity index 100% rename from src/soc/amd/morgana/psp_verstage/uart.c rename to src/soc/amd/phoenix/psp_verstage/uart.c diff --git a/src/soc/amd/morgana/reset.c b/src/soc/amd/phoenix/reset.c similarity index 100% rename from src/soc/amd/morgana/reset.c rename to src/soc/amd/phoenix/reset.c diff --git a/src/soc/amd/morgana/romstage.c b/src/soc/amd/phoenix/romstage.c similarity index 100% rename from src/soc/amd/morgana/romstage.c rename to src/soc/amd/phoenix/romstage.c diff --git a/src/soc/amd/morgana/root_complex.c b/src/soc/amd/phoenix/root_complex.c similarity index 97% rename from src/soc/amd/morgana/root_complex.c rename to src/soc/amd/phoenix/root_complex.c index 5a1a4ad..005554f 100644 --- a/src/soc/amd/morgana/root_complex.c +++ b/src/soc/amd/phoenix/root_complex.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <acpi/acpigen.h> #include <amdblocks/acpi.h> @@ -192,7 +192,7 @@
static void acipgen_dptci(void) { - const struct soc_amd_morgana_config *config = config_of_soc(); + const struct soc_amd_phoenix_config *config = config_of_soc();
/* Normal mode DPTC values. */ struct dptc_input default_input = DPTC_INPUTS(config->thermctl_limit_degreeC, @@ -229,7 +229,7 @@ return "GNB"; }
-struct device_operations morgana_root_complex_operations = { +struct device_operations phoenix_root_complex_operations = { .read_resources = read_resources, .set_resources = noop_set_resources, .enable_resources = pci_dev_enable_resources, diff --git a/src/soc/amd/morgana/smihandler.c b/src/soc/amd/phoenix/smihandler.c similarity index 98% rename from src/soc/amd/morgana/smihandler.c rename to src/soc/amd/phoenix/smihandler.c index f751968..a0099cf 100644 --- a/src/soc/amd/morgana/smihandler.c +++ b/src/soc/amd/phoenix/smihandler.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <acpi/acpi.h> #include <amdblocks/acpi.h> diff --git a/src/soc/amd/morgana/smu.c b/src/soc/amd/phoenix/smu.c similarity index 100% rename from src/soc/amd/morgana/smu.c rename to src/soc/amd/phoenix/smu.c diff --git a/src/soc/amd/morgana/uart.c b/src/soc/amd/phoenix/uart.c similarity index 100% rename from src/soc/amd/morgana/uart.c rename to src/soc/amd/phoenix/uart.c diff --git a/src/soc/amd/morgana/xhci.c b/src/soc/amd/phoenix/xhci.c similarity index 97% rename from src/soc/amd/morgana/xhci.c rename to src/soc/amd/phoenix/xhci.c index 214618d..ef1b60a 100644 --- a/src/soc/amd/morgana/xhci.c +++ b/src/soc/amd/phoenix/xhci.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <amdblocks/gpio.h> #include <amdblocks/smi.h> diff --git a/src/vendorcode/amd/fsp/morgana/FspUpd.h b/src/vendorcode/amd/fsp/phoenix/FspUpd.h similarity index 100% rename from src/vendorcode/amd/fsp/morgana/FspUpd.h rename to src/vendorcode/amd/fsp/phoenix/FspUpd.h diff --git a/src/vendorcode/amd/fsp/morgana/FspUsb.h b/src/vendorcode/amd/fsp/phoenix/FspUsb.h similarity index 98% rename from src/vendorcode/amd/fsp/morgana/FspUsb.h rename to src/vendorcode/amd/fsp/phoenix/FspUsb.h index 3fe65c5..f7d28bf 100644 --- a/src/vendorcode/amd/fsp/morgana/FspUsb.h +++ b/src/vendorcode/amd/fsp/phoenix/FspUsb.h @@ -1,7 +1,7 @@ #ifndef __FSPUSB_H__ #define __FSPUSB_H__
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#include <FspUpd.h>
diff --git a/src/vendorcode/amd/fsp/morgana/FspmUpd.h b/src/vendorcode/amd/fsp/phoenix/FspmUpd.h similarity index 99% rename from src/vendorcode/amd/fsp/morgana/FspmUpd.h rename to src/vendorcode/amd/fsp/phoenix/FspmUpd.h index 11d0db6..77d0d66 100644 --- a/src/vendorcode/amd/fsp/morgana/FspmUpd.h +++ b/src/vendorcode/amd/fsp/phoenix/FspmUpd.h @@ -4,7 +4,7 @@ * */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#ifndef __FSPMUPD_H__ #define __FSPMUPD_H__ diff --git a/src/vendorcode/amd/fsp/morgana/FspsUpd.h b/src/vendorcode/amd/fsp/phoenix/FspsUpd.h similarity index 100% rename from src/vendorcode/amd/fsp/morgana/FspsUpd.h rename to src/vendorcode/amd/fsp/phoenix/FspsUpd.h diff --git a/src/vendorcode/amd/fsp/morgana/include/bl_uapp/bl_syscall_public.h b/src/vendorcode/amd/fsp/phoenix/include/bl_uapp/bl_syscall_public.h similarity index 99% rename from src/vendorcode/amd/fsp/morgana/include/bl_uapp/bl_syscall_public.h rename to src/vendorcode/amd/fsp/phoenix/include/bl_uapp/bl_syscall_public.h index 1607bb0..30ea49f 100644 --- a/src/vendorcode/amd/fsp/morgana/include/bl_uapp/bl_syscall_public.h +++ b/src/vendorcode/amd/fsp/phoenix/include/bl_uapp/bl_syscall_public.h @@ -27,7 +27,7 @@ * ***************************************************************************/
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#ifndef _BL_SYSCALL_PUBLIC_H_ #define _BL_SYSCALL_PUBLIC_H_ diff --git a/src/vendorcode/amd/fsp/morgana/platform_descriptors.h b/src/vendorcode/amd/fsp/phoenix/platform_descriptors.h similarity index 97% rename from src/vendorcode/amd/fsp/morgana/platform_descriptors.h rename to src/vendorcode/amd/fsp/phoenix/platform_descriptors.h index 4a02691..a260138 100644 --- a/src/vendorcode/amd/fsp/morgana/platform_descriptors.h +++ b/src/vendorcode/amd/fsp/phoenix/platform_descriptors.h @@ -5,7 +5,7 @@ * connector types connected to the SOC. */
-/* TODO: Update for Morgana */ +/* TODO: Update for Phoenix */
#ifndef PI_PLATFORM_DESCRIPTORS_H #define PI_PLATFORM_DESCRIPTORS_H @@ -164,11 +164,11 @@ } fsp_ddi_descriptor;
/* - * Morgana DXIO Descriptor: Used for assigning lanes to PCIe engines, configure + * Phoenix DXIO Descriptor: Used for assigning lanes to PCIe engines, configure * bifurcation and other settings. Beware that the lane numbers in here are the * logical and not the physical lane numbers! * - * Morgana DXIO logical lane to physical PCIe lane mapping: + * Phoenix DXIO logical lane to physical PCIe lane mapping: * * logical | physical * ----------|------------ diff --git a/util/amdfwtool/amdfwtool.c b/util/amdfwtool/amdfwtool.c index d72c1f8..fd5c811 100644 --- a/util/amdfwtool/amdfwtool.c +++ b/util/amdfwtool/amdfwtool.c @@ -207,7 +207,7 @@ printf(" area\n"); printf("--soc-name <socname> Specify SOC name. Supported names are\n"); printf(" Stoneyridge, Raven, Picasso, Renoir, Cezanne\n"); - printf(" Mendocino, Morgana, Glinda, or Lucienne\n"); + printf(" Mendocino, Phoenix, Glinda, or Lucienne\n"); printf("\nEmbedded Firmware Structure options used by the PSP:\n"); printf("--spi-speed <HEX_VAL> SPI fast speed to place in EFS Table\n"); printf(" 0x0 66.66Mhz\n"); @@ -696,7 +696,7 @@ PLATFORM_CEZANNE, PLATFORM_MENDOCINO, PLATFORM_LUCIENNE, - PLATFORM_MORGANA, + PLATFORM_PHOENIX, PLATFORM_GLINDA };
@@ -724,7 +724,7 @@ case PLATFORM_GLINDA: psp_id = 0xBC0E0200; break; - case PLATFORM_MORGANA: + case PLATFORM_PHOENIX: psp_id = 0xBC0D0400; break; default: @@ -1968,7 +1968,7 @@ case PLATFORM_LUCIENNE: case PLATFORM_CEZANNE: case PLATFORM_MENDOCINO: - case PLATFORM_MORGANA: + case PLATFORM_PHOENIX: case PLATFORM_GLINDA: amd_romsig->spi_readmode_f17_mod_30_3f = efs_spi_readmode; amd_romsig->spi_fastspeed_f17_mod_30_3f = efs_spi_speed; @@ -2059,8 +2059,8 @@ return PLATFORM_RENOIR; else if (!strcasecmp(soc_name, "Lucienne")) return PLATFORM_LUCIENNE; - else if (!strcasecmp(soc_name, "Morgana")) - return PLATFORM_MORGANA; + else if (!strcasecmp(soc_name, "Phoenix")) + return PLATFORM_PHOENIX; else if (!strcasecmp(soc_name, "Glinda")) return PLATFORM_GLINDA; else @@ -2070,7 +2070,7 @@
static bool needs_ish(enum platform platform_type) { - if (platform_type == PLATFORM_MENDOCINO || platform_type == PLATFORM_MORGANA || platform_type == PLATFORM_GLINDA) + if (platform_type == PLATFORM_MENDOCINO || platform_type == PLATFORM_PHOENIX || platform_type == PLATFORM_GLINDA) return true; else return false; @@ -2087,7 +2087,7 @@ case PLATFORM_LUCIENNE: case PLATFORM_CEZANNE: case PLATFORM_MENDOCINO: - case PLATFORM_MORGANA: + case PLATFORM_PHOENIX: case PLATFORM_GLINDA: return true; case PLATFORM_UNKNOWN: @@ -2622,7 +2622,7 @@ amd_romsig->bios3_entry = BUFF_TO_RUN(ctx, biosdir); break; case PLATFORM_MENDOCINO: - case PLATFORM_MORGANA: + case PLATFORM_PHOENIX: case PLATFORM_GLINDA: break; case PLATFORM_STONEYRIDGE: