summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2012-06-16 16:52:15 +0900
committerSimon Horman <horms@verge.net.au>2012-06-18 10:47:04 +0900
commitc423dc9db2d052d997e85e741b16ca919ee3011e (patch)
tree29c305af7e96aadbbf2bc3ac90483bc6b3210089 /include
parent0e4946bc3009e7b9ce6f9d792077eddd7e40cc14 (diff)
Support kernel_noload uImage type
Do not trigger an error when loading a uImage with the IH_TYPE_KERNEL_NOLOAD type. These images do not need to be copied to their load address before being executed. All archs (excepted PPC) do not use the uImage load and entry point parameters, so their current behavior needs not be changed further than just accepting the image type. Tested and validated on ARM. Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'include')
-rw-r--r--include/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/image.h b/include/image.h
index e52acbe..e742aae 100644
--- a/include/image.h
+++ b/include/image.h
@@ -129,6 +129,8 @@
#define IH_TYPE_FILESYSTEM 7 /* Filesystem Image (any type) */
#define IH_TYPE_FLATDT 8 /* Binary Flat Device Tree Blob */
#define IH_TYPE_KWBIMAGE 9 /* Kirkwood Boot Image */
+#define IH_TYPE_KERNEL_NOLOAD 14 /* OS Kernel Image, can run */
+ /* from any load address */
/*
* Compression Types