summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/include/amdblocks
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2021-02-16 01:34:55 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-02-17 10:35:22 +0000
commitb1b0294e6fd565497ec8175986b4913b925fc587 (patch)
tree1d0e0ca8db2257fc5dc63ed77b9145f6f2a7bfd7 /src/soc/amd/common/block/include/amdblocks
parent0bc878db192e585fa6bf73e81bbc10350d907c21 (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/common/block/include/amdblocks')
-rw-r--r--src/soc/amd/common/block/include/amdblocks/uart.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/soc/amd/common/block/include/amdblocks/uart.h b/src/soc/amd/common/block/include/amdblocks/uart.h
index 95d73237f7..4fd1b592cd 100644
--- a/src/soc/amd/common/block/include/amdblocks/uart.h
+++ b/src/soc/amd/common/block/include/amdblocks/uart.h
@@ -3,8 +3,10 @@
#ifndef AMD_BLOCK_UART_H
#define AMD_BLOCK_UART_H
+#include <device/device.h>
#include <types.h>
uintptr_t get_uart_base(unsigned int idx); /* get MMIO base address of FCH UART */
+void uart_inject_ssdt(const struct device *dev);
#endif /* AMD_BLOCK_UART_H */