diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2015-05-19 17:05:38 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-21 15:03:35 +1000 |
commit | f7b322e049bcf599511af475be340e86b3049001 (patch) | |
tree | 390f8de392be80f50af02274a416bd061e793b5d /core/init.c | |
parent | a88495a1439ff20345870a82565658249be55d23 (diff) | |
download | skiboot-f7b322e049bcf599511af475be340e86b3049001.zip skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.gz skiboot-f7b322e049bcf599511af475be340e86b3049001.tar.bz2 |
hw/prd: Expose prd ranges via device tree
Currently, the prd reserved ranges are present in the reserved-ranges
nodes in the device tree. While this works, it's difficult to filter the
actual PRD ranges from general reserved memory.
This change links the prd ranges into the /reserved-memory nodes, by
adding ibm,prd-label properties to those used for PRD.
This change adds a prd node to the ibm,opal node too, to giver kernel &
userspace information about the prd infrastructure provided by OPAL.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/init.c')
-rw-r--r-- | core/init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/init.c b/core/init.c index 445272a..e652970 100644 --- a/core/init.c +++ b/core/init.c @@ -723,6 +723,8 @@ void __noreturn main_cpu_entry(const void *fdt, u32 master_cpu) /* ... and add remaining reservations to the DT */ mem_region_add_dt_reserved(); + prd_register_reserved_memory(); + load_and_boot_kernel(false); } |