Message ID | 20231003052139.199665-1-tong.ho@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | xlnx-bbram: hw/nvram: Use dot in device type name | expand |
On [2023 Oct 02] Mon 22:21:39, Tong Ho wrote: > This replaces the comma (,) to dot (.) in the device type name > so the name can be used with the 'driver=' command line option. > > Signed-off-by: Tong Ho <tong.ho@amd.com> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> > --- > include/hw/nvram/xlnx-bbram.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/hw/nvram/xlnx-bbram.h b/include/hw/nvram/xlnx-bbram.h > index 87d59ef3c0..6fc13f8cc1 100644 > --- a/include/hw/nvram/xlnx-bbram.h > +++ b/include/hw/nvram/xlnx-bbram.h > @@ -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 { > -- > 2.25.1 > >
On Tue, 3 Oct 2023 at 06:21, Tong Ho <tong.ho@amd.com> wrote: > > This replaces the comma (,) to dot (.) in the device type name > so the name can be used with the 'driver=' command line option. > > Signed-off-by: Tong Ho <tong.ho@amd.com> > --- > include/hw/nvram/xlnx-bbram.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied to target-arm.next, thanks. -- PMM
diff --git a/include/hw/nvram/xlnx-bbram.h b/include/hw/nvram/xlnx-bbram.h index 87d59ef3c0..6fc13f8cc1 100644 --- a/include/hw/nvram/xlnx-bbram.h +++ b/include/hw/nvram/xlnx-bbram.h @@ -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 {
This replaces the comma (,) to dot (.) in the device type name so the name can be used with the 'driver=' command line option. Signed-off-by: Tong Ho <tong.ho@amd.com> --- include/hw/nvram/xlnx-bbram.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)