diff options
author | Jeremy Kerr <jeremy.kerr@au1.ibm.com> | 2014-09-12 14:26:06 +0800 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2014-10-30 16:50:39 +1100 |
commit | 8ae439ca855c0435e8bd84f7ffc16e505cad85f7 (patch) | |
tree | 6f0e23df1760a8b1dda46785889018070bebe01e /include/platform.h | |
parent | 4797b3eee3a0fc41ff5d68408dc73ac5e6fd248e (diff) | |
download | skiboot-8ae439ca855c0435e8bd84f7ffc16e505cad85f7.zip skiboot-8ae439ca855c0435e8bd84f7ffc16e505cad85f7.tar.gz skiboot-8ae439ca855c0435e8bd84f7ffc16e505cad85f7.tar.bz2 |
core: Add support for loading an external initramfs
Using the platform.load_resource interface, allow an external initramfs
image to be passed to the kernel.
We split the KERNEL_LOAD_BASE/KERNEL_LOAD_SIZE region in half, to allow
space for the initramfs.
Signed-off-by: Jeremy Kerr <jeremy.kerr@au.ibm.com>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/platform.h')
-rw-r--r-- | include/platform.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h index 77d025b..b1aef49 100644 --- a/include/platform.h +++ b/include/platform.h @@ -24,6 +24,7 @@ struct errorlog; enum resource_id { RESOURCE_ID_KERNEL, + RESOURCE_ID_INITRAMFS, }; /* |