aboutsummaryrefslogtreecommitdiff
path: root/hw/prd.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 /hw/prd.c
parentc873cc7bc58b05f1aa4554f6338f430169efa1db (diff)
downloadskiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.zip
skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.tar.gz
skiboot-0039819f46e71a2f549b7a418dc5440fb04156b6.tar.bz2
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 'hw/prd.c')
-rw-r--r--hw/prd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/prd.c b/hw/prd.c
index 0db7e6b..01bbf96 100644
--- a/hw/prd.c
+++ b/hw/prd.c
@@ -397,7 +397,7 @@ void prd_register_reserved_memory(void)
for (region = mem_region_next(NULL); region;
region = mem_region_next(region)) {
- if (region->type != REGION_HW_RESERVED)
+ if (region->type != REGION_FW_RESERVED)
continue;
if (!region->node)