On Mon, 19 Oct 2020 08:39:10 +0530, Prabhakar pujeri wrote: > Added 2 more new values (0x22 and 0x23). > --- > dmidecode.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/dmidecode.c b/dmidecode.c > index cd2b5c9..aba907b 100644 > --- a/dmidecode.c > +++ b/dmidecode.c > @@ -2639,10 +2639,12 @@ static const char *dmi_memory_device_type(u8 code) > "LPDDR4", > "Logical non-volatile device", > "HBM", > - "HBM2" /* 0x21 */ > + "HBM2", > + "DDR5", > + "LPDDR5" /* 0x23 */ > }; > > - if (code >= 0x01 && code <= 0x21) > + if (code >= 0x01 && code <= 0x23) > return type[code - 0x01]; > return out_of_spec; > }
Applied, thanks. -- Jean Delvare SUSE L3 Support _______________________________________________ https://lists.nongnu.org/mailman/listinfo/dmidecode-devel