]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_STM32_FLASH to Kconfig
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 4 Oct 2021 09:05:52 +0000 (11:05 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 8 Oct 2021 06:24:20 +0000 (08:24 +0200)
This converts the CONFIG_STM32_FLASH to Kconfig by using
tools/moveconfig.py

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
configs/stm32f429-discovery_defconfig
configs/stm32f429-evaluation_defconfig
configs/stm32f469-discovery_defconfig
configs/stm32f746-disco_defconfig
configs/stm32f769-disco_defconfig
drivers/mtd/Kconfig
include/configs/stm32f429-discovery.h
include/configs/stm32f429-evaluation.h
include/configs/stm32f469-discovery.h
include/configs/stm32f746-disco.h
scripts/config_whitelist.txt

index b0dcb38b3bdf68443f59730e18ca70eaafefa107..a84c2972286ea03d5fad9f2e9586433ef2631a6e 100644 (file)
@@ -26,3 +26,4 @@ CONFIG_ENV_ADDR=0x8040000
 # CONFIG_NET is not set
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_STM32_FLASH=y
index b614182b4fe78fa44e92651e5adf0fe75c4c603c..a15a68cee772c033f993440f1461f0fa4b9cc223 100644 (file)
@@ -26,3 +26,4 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 # CONFIG_NET is not set
 CONFIG_ARM_PL180_MMCI=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_STM32_FLASH=y
index 7960618d4654ef462add84dd473cb8b4e71fccb2..0b33e0b3c8b5486b8710af8b4eda657decb4227a 100644 (file)
@@ -28,6 +28,7 @@ CONFIG_ARM_PL180_MMCI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_STM32_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
 # CONFIG_PINCTRL_FULL is not set
index 05d7ec2d79be1a89c22f6a9fe2b78b104dd3310e..f13d714230fd61347b7e71edf6e0fa75f0c758c5 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_ARM_PL180_MMCI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_STM32_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
index 40f94ac7728ec0aaa2a933ed27358dec4c9e7103..2706d419568a486f0a900598857ee186433c0e2a 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_ARM_PL180_MMCI=y
 CONFIG_MTD=y
 CONFIG_DM_MTD=y
 CONFIG_MTD_NOR_FLASH=y
+CONFIG_STM32_FLASH=y
 CONFIG_DM_SPI_FLASH=y
 CONFIG_SPI_FLASH_MACRONIX=y
 CONFIG_SPI_FLASH_STMICRO=y
index b303fabe0f050fb738e5cdcb9f098aaa6213d024..ed69ea114eaff6cfbec3cacfd8d4b2a45c118294 100644 (file)
@@ -109,6 +109,13 @@ config HBMC_AM654
         This is the driver for HyperBus controller on TI's AM65x and
         other SoCs
 
+config STM32_FLASH
+       bool "STM32 MCU Flash driver"
+       depends on ARCH_STM32
+       help
+        This is the driver of embedded flash for some STMicroelectronics
+        STM32 MCU.
+
 source "drivers/mtd/nand/Kconfig"
 
 source "drivers/mtd/spi/Kconfig"
index dbbce494759f53032587c96b7966cdfee4b33752..9b040a0ca358607b5293cfbc4fbc1ff8994c9d5a 100644 (file)
@@ -23,8 +23,6 @@
 #define CONFIG_RED_LED                 110
 #define CONFIG_GREEN_LED               109
 
-#define CONFIG_STM32_FLASH
-
 #define CONFIG_SYS_HZ_CLOCK            1000000 /* Timer is clocked at 1MHz */
 
 #define CONFIG_SYS_CBSIZE              1024
index 29a41e80676aee4a41c6f8f4d1414b85e48648f6..3b6223d7371fe833e7d8732acac5710d5bf207c9 100644 (file)
@@ -25,8 +25,6 @@
 #define CONFIG_SYS_MAX_FLASH_SECT      12
 #define CONFIG_SYS_MAX_FLASH_BANKS     2
 
-#define CONFIG_STM32_FLASH
-
 #define CONFIG_SYS_HZ_CLOCK            1000000 /* Timer is clocked at 1MHz */
 
 #define CONFIG_SYS_CBSIZE              1024
index b9b932c65107b5eb957747946d93bd65e8a7de4d..6a0fa02451e689502a2b20191afa68a396845c05 100644 (file)
@@ -25,8 +25,6 @@
 #define CONFIG_SYS_MAX_FLASH_SECT      12
 #define CONFIG_SYS_MAX_FLASH_BANKS     2
 
-#define CONFIG_STM32_FLASH
-
 #define CONFIG_SYS_HZ_CLOCK            1000000 /* Timer is clocked at 1MHz */
 
 #define CONFIG_SYS_CBSIZE              1024
index b72b989c2c2159d4da985d50a8c931b92bde132e..247191a4755366e814a91d26e3ce8d42e0c3e9aa 100644 (file)
@@ -29,8 +29,6 @@
 #define CONFIG_SYS_MAX_FLASH_SECT      8
 #define CONFIG_SYS_MAX_FLASH_BANKS     1
 
-#define CONFIG_STM32_FLASH
-
 #define CONFIG_DW_GMAC_DEFAULT_DMA_PBL (8)
 #define CONFIG_DW_ALTDESCRIPTOR
 
index a9c2380d17e287d624506a9c294278d61503b529..ce02cb33ef4cdfc9cd9644d722c7efd87eec8e89 100644 (file)
@@ -1423,7 +1423,6 @@ CONFIG_STACKBASE
 CONFIG_STANDALONE_LOAD_ADDR
 CONFIG_STATIC_BOARD_REV
 CONFIG_STD_DEVICES_SETTINGS
-CONFIG_STM32_FLASH
 CONFIG_STV0991
 CONFIG_STV0991_HZ
 CONFIG_STV0991_HZ_CLOCK