mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-04 16:34:14 +01:00
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:
parent
85a59b0e00
commit
1eb894a506
1 changed files with 3 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue