From c4a094a7df80463408d7a9144377584245364fc5 Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Thu, 12 Apr 2018 19:52:19 +0530 Subject: hdata: Fix DIMM size property Today we parse vpd blob to get DIMM size information. This is limited to FSP based system. HDAT provides DIMM size value. Lets use that to populate device tree. So that we can get size information on BMC based system as well. Signed-off-by: Vasant Hegde CC: Oliver O'Halloran Signed-off-by: Stewart Smith --- hdata/test/p8-840-spira.dts | 4 ++-- hdata/test/p81-811.spira.dts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'hdata/test') diff --git a/hdata/test/p8-840-spira.dts b/hdata/test/p8-840-spira.dts index 62a2f52..e73c691 100644 --- a/hdata/test/p8-840-spira.dts +++ b/hdata/test/p8-840-spira.dts @@ -746,7 +746,7 @@ description = "16GB CDIMM"; ibm,chip-id = <0x0>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0016384"; + size = "16384"; }; ms-dimm@d002 { @@ -768,7 +768,7 @@ description = "16GB CDIMM"; ibm,chip-id = <0x0>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0016384"; + size = "16384"; }; processor@1000 { diff --git a/hdata/test/p81-811.spira.dts b/hdata/test/p81-811.spira.dts index ba9b355..2ca361e 100644 --- a/hdata/test/p81-811.spira.dts +++ b/hdata/test/p81-811.spira.dts @@ -1899,7 +1899,7 @@ description = "32GB CDIMM"; ibm,chip-id = <0x0>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0032768"; + size = "32768"; }; ms-dimm@d002 { @@ -1921,7 +1921,7 @@ description = "32GB CDIMM"; ibm,chip-id = <0x0>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0032768"; + size = "32768"; }; ms-dimm@d008 { @@ -1943,7 +1943,7 @@ description = "32GB CDIMM"; ibm,chip-id = <0x10>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0032768"; + size = "32768"; }; ms-dimm@d00a { @@ -1965,7 +1965,7 @@ description = "32GB CDIMM"; ibm,chip-id = <0x10>; ibm,memory-bus-frequency = <0x0 0x0>; - size = "0032768"; + size = "32768"; }; processor@1000 { -- cgit v1.1