From 94aafe7429052f4a3552ff04ff0d2869af363ec0 Mon Sep 17 00:00:00 2001 From: Vandhiadevan Karunamoorthy Date: Fri, 12 Jun 2020 16:11:26 +0530 Subject: [PATCH] ipq5018: Fix dump_to_flash hang issue. This changes update the TLV offset as per the kernel tlv crash region. Signed-off-by: Vandhiadevan Karunamoorthy Change-Id: I27d79d5f2d35c4b584292410ee76d26b123d301f --- include/configs/ipq5018.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/ipq5018.h b/include/configs/ipq5018.h index 0c9d42e789..ce1ebeca97 100644 --- a/include/configs/ipq5018.h +++ b/include/configs/ipq5018.h @@ -331,7 +331,6 @@ extern loff_t board_env_size; #define SCM_CMD_TZ_PSHOLD 0x16 #define BOOT_VERSION 0 #define TZ_VERSION 1 -#define RPM_VERSION 3 #endif @@ -351,7 +350,7 @@ extern loff_t board_env_size; #define CONFIG_QCA_KERNEL_CRASHDUMP_ADDRESS *((unsigned int *)0x08600658) #define CONFIG_CPU_CONTEXT_DUMP_SIZE 4096 -#define TLV_BUF_OFFSET 244 * 1024 +#define TLV_BUF_OFFSET 1012 * 1024 #define CONFIG_TLV_DUMP_SIZE 12 * 1024 /* L1 cache line size is 64 bytes, L2 cache line size is 128 bytes