]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_SYS_UNIFY_CACHE to Kconfig
authorTom Rini <trini@konsulko.com>
Sat, 25 Jun 2022 15:02:35 +0000 (11:02 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 7 Jul 2022 13:29:08 +0000 (09:29 -0400)
This converts the following to Kconfig:
   CONFIG_SYS_UNIFY_CACHE

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/M53017EVB_defconfig
configs/M5329AFEE_defconfig
configs/M5329BFEE_defconfig
configs/M5373EVB_defconfig
drivers/net/Kconfig
include/configs/M53017EVB.h
include/configs/M5329EVB.h
include/configs/M5373EVB.h
include/configs/astro_mcf5373l.h

index 901a15d5061a946891a3933c045777faa7ee13d5..cec2520bdd78c8c6606627502022ce97bc6a91e3 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_MCFFEC=y
+CONFIG_SYS_UNIFY_CACHE=y
 CONFIG_MII=y
 CONFIG_MCFRTC=y
 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000
index 0bce9d8f42292baa49ce59e46e3cfaf64dff868b..9d55d5058e5762f5353eec7059c708b7bc472423 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_SYS_FLASH_PROTECTION=y
 CONFIG_SYS_FLASH_CFI=y
 CONFIG_DM_ETH=y
 CONFIG_MCFFEC=y
+CONFIG_SYS_UNIFY_CACHE=y
 CONFIG_MII=y
 CONFIG_MCFRTC=y
 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000
index efc7733b44c214048e09d4afeb69428b2a949302..bd0cbddfb89c43f2b603798c7fa2d6b3fd340a73 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_DM_ETH=y
 CONFIG_MCFFEC=y
+CONFIG_SYS_UNIFY_CACHE=y
 CONFIG_MII=y
 CONFIG_MCFRTC=y
 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000
index 920a86fa9aa7ddaf35f6b5c6687d8b8faf2ca6f5..0a159eb170e2fba9f349c1ff3e665a02ac84f240 100644 (file)
@@ -43,6 +43,7 @@ CONFIG_SYS_FLASH_CFI=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_DM_ETH=y
 CONFIG_MCFFEC=y
+CONFIG_SYS_UNIFY_CACHE=y
 CONFIG_MII=y
 CONFIG_MCFRTC=y
 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000
index 40b5c8274e9e9a5fffa98079552cbac605290db9..cb891f5dbedeabfd63683d48a181abd9ae3db886 100644 (file)
@@ -409,6 +409,10 @@ config MCFFEC
          This driver supports the network interface units in the
          ColdFire family.
 
+config SYS_UNIFY_CACHE
+       depends on MCFFEC
+       bool "Invalidate icache during ethernet operations"
+
 config FSLDMAFEC
         bool "ColdFire DMA Ethernet Support"
        depends on DM_ETH
index b38260ed09aa872a0de9330bfa1d82bea630eb82..fd6aee127d874de153e19722ac4647d1787052f6 100644 (file)
@@ -22,8 +22,6 @@
 
 #define CONFIG_WATCHDOG_TIMEOUT                5000
 
-#define CONFIG_SYS_UNIFY_CACHE
-
 #ifdef CONFIG_MCFFEC
 #      define CONFIG_SYS_DISCOVER_PHY
 #      define CONFIG_SYS_TX_ETH_BUFFER 8
index c65f26cc091d6f8fa6555f2f61126012bab616b8..b7ccdd08ac4f9824189730dfb10ec55af909d6cc 100644 (file)
@@ -22,8 +22,6 @@
 
 #define CONFIG_WATCHDOG_TIMEOUT        5000    /* timeout in milliseconds, max timeout is 6.71sec */
 
-#define CONFIG_SYS_UNIFY_CACHE
-
 #ifdef CONFIG_MCFFEC
 #      define CONFIG_SYS_DISCOVER_PHY
 /* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
index 7e45d3587979eba6578f35a5dcad6d04d72e7e4c..06ee0748b9309a1fb9b0a5cc935d344abf700e36 100644 (file)
@@ -24,8 +24,6 @@
 
 #define CONFIG_WATCHDOG_TIMEOUT        3360    /* timeout in ms, max is 3.36 sec */
 
-#define CONFIG_SYS_UNIFY_CACHE
-
 #ifdef CONFIG_MCFFEC
 #      define CONFIG_SYS_DISCOVER_PHY
 /* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */
index 18e06076a4ab5bb047abc07ce6e7e5708d798af9..a8265e961a26e0482791813b670c719f7000cd84 100644 (file)
@@ -65,8 +65,6 @@
 #define CONFIG_SYS_CORE_SRAM_SIZE      0x8000
 #define CONFIG_SYS_CORE_SRAM           0x80000000
 
-#define CONFIG_SYS_UNIFY_CACHE
-
 /*
  * Define baudrate for UART1 (console output, tftp, ...)
  * default value of CONFIG_BAUDRATE for Sentec board: 19200 baud