configs: ipq5332: Enable CONFIG_FLASH_PROTECT

This config is needed to enable mmc protection
based on gpt readonly attribute.

Usecase:
1. In emmc partition xml, set readonly attribute
   of a partition to true.
2. Generate partition bin, flash and reboot.
3. From uboot, read & write the partition.
4. Write should not go through. Crc32 checksum of
   the content before & after write should match.

Change-Id: I161f594f13c88b6d22c4b4932399d18eeb951372
Signed-off-by: Timple Raj M <quic_timple@quicinc.com>
This commit is contained in:
Timple Raj M 2023-01-05 16:40:27 +05:30 committed by Gerrit - the friendly Code Review server
parent 85a59b0e00
commit 1eb894a506

View file

@ -448,4 +448,7 @@ extern loff_t board_env_size;
#define CONFIG_COMPRESSED_DTB_MAX_SIZE 0x40000
#define CONFIG_COMPRESSED_DTB_BASE CONFIG_SYS_TEXT_BASE -\
CONFIG_COMPRESSED_DTB_MAX_SIZE
/* Flash Protect */
#define CONFIG_FLASH_PROTECT
#endif /* _IPQ5332_H */