Convert CONFIG_SYS_UNIFY_CACHE to Kconfig

This converts the following to Kconfig:
   CONFIG_SYS_UNIFY_CACHE

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2022-06-25 11:02:35 -04:00
parent f1c6dfa426
commit 7675a526e0
9 changed files with 8 additions and 8 deletions

View file

@ -42,6 +42,7 @@ CONFIG_SYS_FLASH_PROTECTION=y
CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_FLASH_CFI=y
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_MCFFEC=y CONFIG_MCFFEC=y
CONFIG_SYS_UNIFY_CACHE=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_MCFRTC=y CONFIG_MCFRTC=y
CONFIG_SYS_MCFRTC_BASE=0xFC0A8000 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000

View file

@ -41,6 +41,7 @@ CONFIG_SYS_FLASH_PROTECTION=y
CONFIG_SYS_FLASH_CFI=y CONFIG_SYS_FLASH_CFI=y
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_MCFFEC=y CONFIG_MCFFEC=y
CONFIG_SYS_UNIFY_CACHE=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_MCFRTC=y CONFIG_MCFRTC=y
CONFIG_SYS_MCFRTC_BASE=0xFC0A8000 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000

View file

@ -43,6 +43,7 @@ CONFIG_SYS_FLASH_CFI=y
CONFIG_MTD_RAW_NAND=y CONFIG_MTD_RAW_NAND=y
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_MCFFEC=y CONFIG_MCFFEC=y
CONFIG_SYS_UNIFY_CACHE=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_MCFRTC=y CONFIG_MCFRTC=y
CONFIG_SYS_MCFRTC_BASE=0xFC0A8000 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000

View file

@ -43,6 +43,7 @@ CONFIG_SYS_FLASH_CFI=y
CONFIG_MTD_RAW_NAND=y CONFIG_MTD_RAW_NAND=y
CONFIG_DM_ETH=y CONFIG_DM_ETH=y
CONFIG_MCFFEC=y CONFIG_MCFFEC=y
CONFIG_SYS_UNIFY_CACHE=y
CONFIG_MII=y CONFIG_MII=y
CONFIG_MCFRTC=y CONFIG_MCFRTC=y
CONFIG_SYS_MCFRTC_BASE=0xFC0A8000 CONFIG_SYS_MCFRTC_BASE=0xFC0A8000

View file

@ -409,6 +409,10 @@ config MCFFEC
This driver supports the network interface units in the This driver supports the network interface units in the
ColdFire family. ColdFire family.
config SYS_UNIFY_CACHE
depends on MCFFEC
bool "Invalidate icache during ethernet operations"
config FSLDMAFEC config FSLDMAFEC
bool "ColdFire DMA Ethernet Support" bool "ColdFire DMA Ethernet Support"
depends on DM_ETH depends on DM_ETH

View file

@ -22,8 +22,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 #define CONFIG_WATCHDOG_TIMEOUT 5000
#define CONFIG_SYS_UNIFY_CACHE
#ifdef CONFIG_MCFFEC #ifdef CONFIG_MCFFEC
# define CONFIG_SYS_DISCOVER_PHY # define CONFIG_SYS_DISCOVER_PHY
# define CONFIG_SYS_TX_ETH_BUFFER 8 # define CONFIG_SYS_TX_ETH_BUFFER 8

View file

@ -22,8 +22,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */ #define CONFIG_WATCHDOG_TIMEOUT 5000 /* timeout in milliseconds, max timeout is 6.71sec */
#define CONFIG_SYS_UNIFY_CACHE
#ifdef CONFIG_MCFFEC #ifdef CONFIG_MCFFEC
# define CONFIG_SYS_DISCOVER_PHY # define CONFIG_SYS_DISCOVER_PHY
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */ /* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */

View file

@ -24,8 +24,6 @@
#define CONFIG_WATCHDOG_TIMEOUT 3360 /* timeout in ms, max is 3.36 sec */ #define CONFIG_WATCHDOG_TIMEOUT 3360 /* timeout in ms, max is 3.36 sec */
#define CONFIG_SYS_UNIFY_CACHE
#ifdef CONFIG_MCFFEC #ifdef CONFIG_MCFFEC
# define CONFIG_SYS_DISCOVER_PHY # define CONFIG_SYS_DISCOVER_PHY
/* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */ /* If CONFIG_SYS_DISCOVER_PHY is not defined - hardcoded */

View file

@ -65,8 +65,6 @@
#define CONFIG_SYS_CORE_SRAM_SIZE 0x8000 #define CONFIG_SYS_CORE_SRAM_SIZE 0x8000
#define CONFIG_SYS_CORE_SRAM 0x80000000 #define CONFIG_SYS_CORE_SRAM 0x80000000
#define CONFIG_SYS_UNIFY_CACHE
/* /*
* Define baudrate for UART1 (console output, tftp, ...) * Define baudrate for UART1 (console output, tftp, ...)
* default value of CONFIG_BAUDRATE for Sentec board: 19200 baud * default value of CONFIG_BAUDRATE for Sentec board: 19200 baud