aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Walle2020-12-09 10:53:26 +0100
committerPriyanka Jain2021-02-08 14:01:14 +0530
commit46fdf763b8b316d1eec25977e6e7b8051e89e3fd (patch)
tree706464dcac419384c53d1bc64f0d365543814229
parent5d867bcc2321041445ebb60d437b818bf706162f (diff)
board: kontron: disable flash unlock all
Although the status register is protected by the hardware write protection, there is a hardware jumper to disable that hardware write protection. Thus if a user would set this jumper any u-boot start would disable the write protection altogether. Circumvent that by not disabling the write protection in the first place. Signed-off-by: Michael Walle <michael@walle.cc> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--configs/kontron_sl28_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/kontron_sl28_defconfig b/configs/kontron_sl28_defconfig
index c1a096799c2..12720f343e0 100644
--- a/configs/kontron_sl28_defconfig
+++ b/configs/kontron_sl28_defconfig
@@ -73,6 +73,7 @@ CONFIG_MMC_HS400_SUPPORT=y
CONFIG_FSL_ESDHC=y
CONFIG_FSL_ESDHC_SUPPORT_ADMA2=y
CONFIG_DM_SPI_FLASH=y
+# CONFIG_SPI_FLASH_UNLOCK_ALL is not set
CONFIG_SPI_FLASH_WINBOND=y
# CONFIG_SPI_FLASH_USE_4K_SECTORS is not set
CONFIG_PHYLIB=y