summaryrefslogtreecommitdiffstats
path: root/hdata/test
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-01-12 14:54:01 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-01-15 12:32:23 +1100
commit3fb21519243b38dbbce4a580cec56cc289cd5aba (patch)
tree5fc8e931836980ac3c9fd56051f788d5ee87307f /hdata/test
parent2a71fe7410253fd99b1651e15f4402267f004ed0 (diff)
downloadtalos-skiboot-3fb21519243b38dbbce4a580cec56cc289cd5aba.tar.gz
talos-skiboot-3fb21519243b38dbbce4a580cec56cc289cd5aba.zip
hdat: Parse hostboot memory reservations from HDAT
Hostboot reserves some memory and passes via HDAT. This patch adds code to parse node reservation details and marks it as REGION_HW_RESERVED. Later mem_region_add_dt_reserved() populates DT entry. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Cc: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: allocate memory for label] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/test')
-rw-r--r--hdata/test/stubs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c
index 9687b315..735813f2 100644
--- a/hdata/test/stubs.c
+++ b/hdata/test/stubs.c
@@ -49,3 +49,4 @@ STUB(op_display);
STUB(fsp_preload_lid);
STUB(fsp_wait_lid_loaded);
STUB(fsp_adjust_lid_side);
+STUB(mem_reserve_hw);
OpenPOWER on IntegriCloud