Skip to contentSkip to conversation

xlnx-bbram: hw/nvram: Use dot in device type name

PATCH Applied Tong Ho 3 participants 3 messages Oct 3, 2023 – Oct 16, 2023

lore
Share & tools
lore

Tong Ho

author
#0 lore raw

PATCH 1/1 xlnx-bbram: hw/nvram: Use dot in device type name

This replaces the comma (,) to dot (.) in the device type name so the name can be used with the 'driver=' command line option.

---
 include/hw/nvram/xlnx-bbram.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/nvram/xlnx-bbram.h +1 -1
index 87d59ef3c0..6fc13f8cc1 100644
@@ -34,7 +34,7 @@
 
 #define RMAX_XLNX_BBRAM ((0x4c / 4) + 1)
 
-#define TYPE_XLNX_BBRAM "xlnx,bbram-ctrl"
+#define TYPE_XLNX_BBRAM "xlnx.bbram-ctrl"
 OBJECT_DECLARE_SIMPLE_TYPE(XlnxBBRam, XLNX_BBRAM);
 
 struct XlnxBBRam {
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Tong Ho

This replaces the comma (,) to dot (.) in the device type name so the name can be used with the 'driver=' command line option.

Quoted 21 lines
---
 include/hw/nvram/xlnx-bbram.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/hw/nvram/xlnx-bbram.h +1 -1
index 87d59ef3c0..6fc13f8cc1 100644
@@ -34,7 +34,7 @@
 
 #define RMAX_XLNX_BBRAM ((0x4c / 4) + 1)
 
-#define TYPE_XLNX_BBRAM "xlnx,bbram-ctrl"
+#define TYPE_XLNX_BBRAM "xlnx.bbram-ctrl"
 OBJECT_DECLARE_SIMPLE_TYPE(XlnxBBRam, XLNX_BBRAM);
 
 struct XlnxBBRam {
Signature · 1 line
2.25.1
#2 lore raw
In reply to Tong Ho
Quoted 8 lines · Tong Ho

This replaces the comma (,) to dot (.) in the device type name so the name can be used with the 'driver=' command line option.

---
 include/hw/nvram/xlnx-bbram.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to target-arm.next, thanks.

-- PMM