]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: rmobile: Enable CONFIG_SYS_FLASH_PROTECTION
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 3 Apr 2021 23:10:15 +0000 (01:10 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 25 Apr 2021 23:32:52 +0000 (01:32 +0200)
Enable CONFIG_SYS_FLASH_PROTECTION on Salvator-X(S), ULCB, Ebisu,
which means the Spansion HF PPB protection bits can be operated
using the 'protect' U-Boot command.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
configs/r8a77990_ebisu_defconfig
configs/rcar3_salvator-x_defconfig
configs/rcar3_ulcb_defconfig
include/configs/ebisu.h
include/configs/salvator-x.h
include/configs/ulcb.h

index cb75b5c3a60396f511d15dd19a358b7a6ee18e81..d5797378b01596ff1dd0c588cadf00fc331ba31c 100644 (file)
@@ -58,7 +58,10 @@ CONFIG_RENESAS_SDHI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
+CONFIG_FLASH_CFI_MTD=y
+CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_RENESAS_RPC_HF=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index 6109a23a3198f34729b6f3fb1b53e4d17cd79dbc..cd250e93d34b3fab50e0bc9893ab449df7ec4684 100644 (file)
@@ -60,7 +60,10 @@ CONFIG_RENESAS_SDHI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
+CONFIG_FLASH_CFI_MTD=y
+CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_RENESAS_RPC_HF=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_SPANSION=y
index df202a7598342bd0aebc3e75671cfe280bb470a7..e345086f30486727390bc3b72fa39d34f61765f4 100644 (file)
@@ -60,9 +60,12 @@ CONFIG_RENESAS_SDHI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_FLASH_CFI_DRIVER=y
 CONFIG_CFI_FLASH=y
 CONFIG_RENESAS_RPC_HF=y
+CONFIG_FLASH_CFI_MTD=y
 CONFIG_DM_SPI_FLASH=y
+CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SPI_FLASH_SPANSION=y
 CONFIG_BITBANGMII=y
 CONFIG_PHY_MICREL=y
index ee9ddb13362c996765c7aa1314233e7950377912..19ec74fb588db6567bebae196506fe2a636870cf 100644 (file)
@@ -23,8 +23,6 @@
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS
-#define CONFIG_FLASH_CFI_DRIVER
-#define CONFIG_FLASH_CFI_MTD
 #define CONFIG_FLASH_SHOW_PROGRESS     45
 #define CONFIG_SYS_FLASH_QUIET_TEST
 #define CONFIG_SYS_FLASH_BANKS_LIST    { 0x08000000 }
index db06fa5ffd6bd3820c78ab3c2a5d395146261a68..1eafff10ff32557b723e07a3c3b61caf271da397 100644 (file)
@@ -20,8 +20,6 @@
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS
-#define CONFIG_FLASH_CFI_DRIVER
-#define CONFIG_FLASH_CFI_MTD
 #define CONFIG_FLASH_SHOW_PROGRESS     45
 #define CONFIG_SYS_FLASH_QUIET_TEST
 #define CONFIG_SYS_FLASH_BANKS_LIST    { 0x08000000 }
index 165c82d508e4f6fdd9f6aa4e5a19fec5e578dfde..1ce844f4920bf8e0c3e52e90e3556df1b8c154b3 100644 (file)
@@ -20,8 +20,6 @@
 /* Environment in eMMC, at the end of 2nd "boot sector" */
 
 #define CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS
-#define CONFIG_FLASH_CFI_DRIVER
-#define CONFIG_FLASH_CFI_MTD
 #define CONFIG_FLASH_SHOW_PROGRESS     45
 #define CONFIG_SYS_FLASH_QUIET_TEST
 #define CONFIG_SYS_FLASH_BANKS_LIST    { 0x08000000 }