修改spif和uboot,加上写保护与解除保护

This commit is contained in:
2025-01-21 15:58:55 +08:00
parent a10ff1b209
commit 10e6767b22
10 changed files with 456 additions and 15 deletions

View File

@@ -81,4 +81,10 @@ config SPI_FLASH_SR
help
when set, enable security register write, read, earse functions.
config SPI_FLASH_DEFAULT_LOCK
bool "SPI FLASH default lock"
default n
help
when set, norflash will be protected after kernel run
endif # MTD_SPI_NOR