diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2021-02-16 01:34:55 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-02-17 10:35:22 +0000 |
commit | b1b0294e6fd565497ec8175986b4913b925fc587 (patch) | |
tree | 1d0e0ca8db2257fc5dc63ed77b9145f6f2a7bfd7 /src/soc/amd/picasso | |
parent | 0bc878db192e585fa6bf73e81bbc10350d907c21 (diff) |
soc/amd/picasso/uart: move uart_inject_ssdt to common code
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ic033fc2817d44ff873f93a45e069c0e8aa0be99f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50780
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/soc/amd/picasso')
-rw-r--r-- | src/soc/amd/picasso/uart.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c index 24bc2c0f85..2767817bfb 100644 --- a/src/soc/amd/picasso/uart.c +++ b/src/soc/amd/picasso/uart.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <acpi/acpigen.h> #include <console/console.h> #include <commonlib/helpers.h> #include <device/device.h> @@ -103,16 +102,6 @@ static void uart_enable(struct device *dev) } } -/* This gets called for both enabled and disabled devices. */ -static void uart_inject_ssdt(const struct device *dev) -{ - acpigen_write_scope(acpi_device_path(dev)); - - acpigen_write_STA(acpi_device_status(dev)); - - acpigen_pop_len(); /* Scope */ -} - struct device_operations picasso_uart_mmio_ops = { .read_resources = noop_read_resources, .set_resources = noop_set_resources, |