summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaresh Solanki <naresh.solanki@9elements.com>2023-12-18 23:48:03 +0530
committerFelix Held <felix-coreboot@felixheld.de>2024-09-30 16:31:37 +0000
commit460e2173ebd0fac8c5aa58bcdee6ff092909ada4 (patch)
treeee544da06cf23298765186da79dd9955448a8490 /src
parentb161d90f065e9da96e8e464335c939ab45dca821 (diff)
device_util: Add support for GICv3 path in device path handling
Change-Id: Ib4004c1f1b854a54dfdf9eaa7f25583dec947302 Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/79972 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r--src/device/device_util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/device/device_util.c b/src/device/device_util.c
index 3514de7cd5..f33c9250dc 100644
--- a/src/device/device_util.c
+++ b/src/device/device_util.c
@@ -230,6 +230,9 @@ const char *dev_path(const struct device *dev)
case DEVICE_PATH_MDIO:
snprintf(buffer, sizeof(buffer), "MDIO: %02x", dev->path.mdio.addr);
break;
+ case DEVICE_PATH_GICC_V3:
+ snprintf(buffer, sizeof(buffer), "GICV3: %02x", dev->path.gicc_v3.mpidr);
+ break;
default:
printk(BIOS_ERR, "Unknown device path type: %d\n",
dev->path.type);