summaryrefslogtreecommitdiff
path: root/src/soc/amd
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2020-09-12 01:30:25 +0200
committerFelix Held <felix-coreboot@felixheld.de>2020-09-13 00:01:38 +0000
commit2617073ee0019e9e26744448026338675b68bee4 (patch)
tree858cef3bff56edcaad1dcb981efd58eaee042fbe /src/soc/amd
parent2e800038abc2745cf8f44bba8817f23904411390 (diff)
downloadcoreboot-2617073ee0019e9e26744448026338675b68bee4.tar.xz
soc/amd/picasso/uart: make AOAC device ID in uart_enable unsigned
This change is separate from CB:45308 to only have the directly UART- related changes in this patch train. BRANCH=zork Change-Id: Ie587fdbd1e6229c1374fce3568c6a361577dc6c4 Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45310 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/amd')
-rw-r--r--src/soc/amd/picasso/uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/picasso/uart.c b/src/soc/amd/picasso/uart.c
index 881bc3e470..2ef1979233 100644
--- a/src/soc/amd/picasso/uart.c
+++ b/src/soc/amd/picasso/uart.c
@@ -97,7 +97,7 @@ static const char *uart_acpi_name(const struct device *dev)
/* Even though this is called enable, it gets called for both enabled and disabled devices. */
static void uart_enable(struct device *dev)
{
- int dev_id;
+ unsigned int dev_id;
switch (dev->path.mmio.addr) {
case APU_UART0_BASE: