diff options
Diffstat (limited to 'src/soc/amd/morgana/chip.c')
-rw-r--r-- | src/soc/amd/morgana/chip.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/amd/morgana/chip.c b/src/soc/amd/morgana/chip.c index 2b97c6cc74..09f15023d9 100644 --- a/src/soc/amd/morgana/chip.c +++ b/src/soc/amd/morgana/chip.c @@ -2,13 +2,11 @@ /* TODO: Update for Morgana */ -#include <amdblocks/aoac.h> #include <console/console.h> #include <device/device.h> #include <device/pci.h> #include <fsp/api.h> #include <soc/acpi.h> -#include <soc/aoac_defs.h> #include <soc/cpu.h> #include <soc/data_fabric.h> #include <soc/pci_devs.h> @@ -20,6 +18,8 @@ extern struct device_operations soc_amd_i2c_mmio_ops; /* Supplied by uart.c */ extern struct device_operations morgana_uart_mmio_ops; +/* Supplied by emmc.c */ +extern struct device_operations morgana_emmc_mmio_ops; struct device_operations cpu_bus_ops = { .read_resources = noop_read_resources, @@ -65,8 +65,7 @@ static void set_mmio_dev_ops(struct device *dev) dev->ops = &morgana_uart_mmio_ops; break; case APU_EMMC_BASE: - if (!dev->enabled) - power_off_aoac_device(FCH_AOAC_DEV_EMMC); + dev->ops = &morgana_emmc_mmio_ops; break; } } |