summaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2021-09-28 13:57:56 -0400
committerTom Rini <[email protected]>2021-09-28 13:57:56 -0400
commitb5d7a200a81097fddef7ba5ec42e330d49fa2f33 (patch)
tree1fa564e36db8678724af5817e5163060f2852d54 /include/dm
parent0b9bcf665cd98fe9db0956c894006b250a7d465f (diff)
parent24ea366add54b8ca753eb3259bff8b50693dc8ef (diff)
Merge branch '2021-09-28-regression-fixes'
- Reintroduce creating internally the "nor%d" style names, in order to fix some use U-Boot use-cases involving the "mtd" command. - Fix a regression over the default SPI bus mode shown by having the compiled default actually start being used. The correct default here is 0. - Fix ethernet on imx7d-sdb - Fix a regression with MTD NAND devices when OF_LIVE is enabled
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dm/device.h b/include/dm/device.h
index 0a9718a5b81..9d0ca6a550e 100644
--- a/include/dm/device.h
+++ b/include/dm/device.h
@@ -207,8 +207,9 @@ struct udevice_rt {
u32 flags_;
};
-/* Maximum sequence number supported */
+/* Maximum sequence number supported and associated string length */
#define DM_MAX_SEQ 999
+#define DM_MAX_SEQ_STR 3
/* Returns the operations for a device */
#define device_get_ops(dev) (dev->driver->ops)