[Skiboot] [PATCH 3/5] hdata: Update RAM area structure

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Aug 22 16:49:25 AEST 2017


Also remove unused ram_area structure.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hdata/memory.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/hdata/memory.c b/hdata/memory.c
index b80d33c..dbb0ac4 100644
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -34,14 +34,10 @@ struct HDIF_ram_area_id {
 } __packed;
 
 struct HDIF_ram_area_size {
-	__be64 mb;
+	__be32 reserved1;
+	__be32 mb;
 } __packed;
 
-struct ram_area {
-	const struct HDIF_ram_area_id *raid;
-	const struct HDIF_ram_area_size *rasize;
-};
-
 struct HDIF_ms_area_address_range {
 	__be64 start;
 	__be64 end;
-- 
2.9.3



More information about the Skiboot mailing list