summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSameer Goel <sgoel@codeaurora.org>2017-01-18 16:15:12 -0700
committerSimon Horman <horms@verge.net.au>2017-01-24 14:37:56 +0100
commit24aa2d93cac316657a2c20f28b8687bbf7e22991 (patch)
treed2fc0f8f2439a6011101e8a1877b836494df9f97
parentf63d8530b9b6a2d7e79b946e326e5a2197eb8f87 (diff)
downloadkexec-tools-24aa2d93cac316657a2c20f28b8687bbf7e22991.tar.gz
kexec: Increase the upper limit for RAM segments
On a newer UEFI based Qualcomm target the number of system ram regions retrieved from /proc/iomem are ~40. So increasing the current hardcoded values to 64 from 16. Signed-off-by: Sameer Goel <sgoel@codeaurora.org> Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r--kexec/arch/arm64/kexec-arm64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/arm64/kexec-arm64.h b/kexec/arch/arm64/kexec-arm64.h
index bac62f8b..bd4c20e7 100644
--- a/kexec/arch/arm64/kexec-arm64.h
+++ b/kexec/arch/arm64/kexec-arm64.h
@@ -11,7 +11,7 @@
#include "image-header.h"
#include "kexec.h"
-#define KEXEC_SEGMENT_MAX 16
+#define KEXEC_SEGMENT_MAX 64
#define BOOT_BLOCK_VERSION 17
#define BOOT_BLOCK_LAST_COMP_VERSION 16