summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFurquan Shaikh <furquan@google.com>2020-07-16 15:48:39 -0700
committerFurquan Shaikh <furquan@google.com>2020-07-17 23:32:59 +0000
commit550cd0599583c7dc3887f8c728f79855a8f2c149 (patch)
tree78f39dc7e4290e6683b835ea448f4ca3b81fe801 /src
parent9837493e4f5014d34a0c372eacc316bca4091e3d (diff)
device: Increase DEVICE_PATH_MAX to 40
This change increases the maximum length of device path string to 40 characters to accommodate growing hierarchy of devices. TEST=Ensured that "\_SB.PCI0.LPCB.EC0.CREC.TUN0.RT58" is correctly added to SSDT. Change-Id: Id2ef71a32b26e366b56c652942a247de4889544a Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43540 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/include/device/path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/path.h b/src/include/device/path.h
index 964b4725fc..4db83b7b3f 100644
--- a/src/include/device/path.h
+++ b/src/include/device/path.h
@@ -138,7 +138,7 @@ struct device_path {
};
-#define DEVICE_PATH_MAX 30
+#define DEVICE_PATH_MAX 40
#define BUS_PATH_MAX (DEVICE_PATH_MAX+10)
extern const char *dev_path_name(enum device_path_type type);