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>
This commit is contained in:
Felix Held 2020-09-12 01:30:25 +02:00
parent 2e800038ab
commit 2617073ee0
1 changed files with 1 additions and 1 deletions

View File

@ -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: