projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arm64: allow kernel Image to be loaded anywhere in physical memory
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm64
/
include
/
asm
/
boot.h
diff --git
a/arch/arm64/include/asm/boot.h
b/arch/arm64/include/asm/boot.h
index 81151b67b26bf61fd756540f5643d8b5ab6882c7..ebf2481889c34848be0b34158647a4f60b770090 100644
(file)
--- a/
arch/arm64/include/asm/boot.h
+++ b/
arch/arm64/include/asm/boot.h
@@
-11,4
+11,10
@@
#define MIN_FDT_ALIGN 8
#define MAX_FDT_SIZE SZ_2M
+/*
+ * arm64 requires the kernel image to placed
+ * TEXT_OFFSET bytes beyond a 2 MB aligned base
+ */
+#define MIN_KIMG_ALIGN SZ_2M
+
#endif