summaryrefslogtreecommitdiffstats
path: root/hdata/memory.c
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-08-28 12:48:01 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-09-04 20:45:35 -0500
commitc6e9156379643afc45bef776b5a69b6e46b3dad1 (patch)
tree9b265e1d32d1e20d3bc990dc72efec1ab400da3d /hdata/memory.c
parent80b6fb7a01e86e4e72353cf970822d80ff40da2c (diff)
downloadblackbird-skiboot-c6e9156379643afc45bef776b5a69b6e46b3dad1.tar.gz
blackbird-skiboot-c6e9156379643afc45bef776b5a69b6e46b3dad1.zip
hdata: Update RAM area structure
Also remove unused ram_area structure. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/memory.c')
-rw-r--r--hdata/memory.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/hdata/memory.c b/hdata/memory.c
index b80d33cd..dbb0ac4e 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;
OpenPOWER on IntegriCloud