From 0039819f46e71a2f549b7a418dc5440fb04156b6 Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Wed, 24 May 2017 16:00:51 +1000 Subject: 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 Signed-off-by: Stewart Smith --- hw/prd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/prd.c') diff --git a/hw/prd.c b/hw/prd.c index 0db7e6bb..01bbf966 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) -- cgit v1.2.1