summaryrefslogtreecommitdiffstats
path: root/hdata/memory.c
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2017-05-24 16:00:51 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-26 15:55:23 +1000
commit0039819f46e71a2f549b7a418dc5440fb04156b6 (patch)
tree9048028e0c48f409b8e7ff53232cc3a07cad4f6c /hdata/memory.c
parentc873cc7bc58b05f1aa4554f6338f430169efa1db (diff)
downloadblackbird-skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.tar.gz
blackbird-skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.zip
mem_region: rename HW_RESERVE to FW_RESERVE
Currently all existing reservations are made by hostboot itself or on behalf of some other part of system firmware (e.g. the OCCs). We want to add a "true" hardware reservation type that should not be touched by the host OS. To prepare for that this patch renames the existing reservation type to refect it's actual usage. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hdata/memory.c')
-rw-r--r--hdata/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hdata/memory.c b/hdata/memory.c
index 0c6c0811..46ad4f7d 100644
--- a/hdata/memory.c
+++ b/hdata/memory.c
@@ -470,7 +470,7 @@ static void get_hb_reserved_mem(struct HDIF_common_hdr *ms_vpd)
prlog(PR_DEBUG, "MEM: Reserve '%s' %#" PRIx64 "-%#" PRIx64 " (type/inst=0x%08x)\n",
label, start_addr, end_addr, be32_to_cpu(hb_resv_mem->type_instance));
- mem_reserve_hw(label, start_addr, end_addr - start_addr + 1);
+ mem_reserve_fw(label, start_addr, end_addr - start_addr + 1);
}
}
OpenPOWER on IntegriCloud