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:
@@ -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. */
|
/* Even though this is called enable, it gets called for both enabled and disabled devices. */
|
||||||
static void uart_enable(struct device *dev)
|
static void uart_enable(struct device *dev)
|
||||||
{
|
{
|
||||||
int dev_id;
|
unsigned int dev_id;
|
||||||
|
|
||||||
switch (dev->path.mmio.addr) {
|
switch (dev->path.mmio.addr) {
|
||||||
case APU_UART0_BASE:
|
case APU_UART0_BASE:
|
||||||
|
Reference in New Issue
Block a user