From 319ae005c32c36ea5a58491c442c1e4fb6a2881e Mon Sep 17 00:00:00 2001 From: Gokul Sriram Palanisamy Date: Fri, 4 May 2018 16:55:13 +0530 Subject: [PATCH] qca: Enabled mmc partition protection Enables mmc partition protection based on read-only attribute in GPT on ipq4019 and ip8064 platforms. Change-Id: Ifd459eb2964a056806ce23100a7f205b46fffdb3 Signed-off-by: Gokul Sriram Palanisamy --- include/configs/ipq40xx.h | 1 + include/configs/ipq806x.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/configs/ipq40xx.h b/include/configs/ipq40xx.h index 8f3ffe5759..eab371f9b5 100644 --- a/include/configs/ipq40xx.h +++ b/include/configs/ipq40xx.h @@ -121,6 +121,7 @@ typedef struct { #define QCA_BOOT_PARAMS_ADDR (QCA_KERNEL_START_ADDR + 0x100) #endif +#define CONFIG_FLASH_PROTECT /* Environment */ #define CONFIG_ARCH_CPU_INIT diff --git a/include/configs/ipq806x.h b/include/configs/ipq806x.h index 340053e7c2..4f611ed3c1 100644 --- a/include/configs/ipq806x.h +++ b/include/configs/ipq806x.h @@ -88,6 +88,7 @@ #undef CONFIG_HW_WATCHDOG #define CONFIG_SYS_DEVICE_NULLDEV +#define CONFIG_FLASH_PROTECT /* Environment */ #define CONFIG_MSM_PCOMM