CONFIG_CACHE_FLUSHING

Enable d-cache flushing mechanism

Enable cache flushing mechanism

Type: bool

Help

This links in the sys_cache_flush() function, which provides a way to flush multiple lines of the d-cache. If the d-cache is present, set this to y. If the d-cache is NOT present, set this to n.

Help

This links in the sys_cache_flush() function. A mechanism for flushing the cache must be selected as well. By default, that mechanism is discovered at runtime.

Direct dependencies

(SOC_EMSK_EM7D && SOC_EMSK) || (SOC_EMSK_EM11D && SOC_EMSK) || (SOC_NSIM_EM && SOC_NSIM) || (SOC_NSIM_SEM && SOC_NSIM) || ARC || X86

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definitions

At soc/arc/snps_emsk/Kconfig.defconfig.em7d:41

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_emsk/Kconfig.defconfig:14

Menu path: (top menu)

config CACHE_FLUSHING
    bool
    default "y" if SOC_EMSK_EM7D && SOC_EMSK
    depends on SOC_EMSK_EM7D && SOC_EMSK

At soc/arc/snps_emsk/Kconfig.defconfig.em11d:32

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_emsk/Kconfig.defconfig:15

Menu path: (top menu)

config CACHE_FLUSHING
    bool
    default "y" if SOC_EMSK_EM11D && SOC_EMSK
    depends on SOC_EMSK_EM11D && SOC_EMSK

At soc/arc/snps_nsim/Kconfig.defconfig.em:36

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_nsim/Kconfig.defconfig:17

Menu path: (top menu)

config CACHE_FLUSHING
    bool
    default "y" if SOC_NSIM_EM && SOC_NSIM
    depends on SOC_NSIM_EM && SOC_NSIM

At soc/arc/snps_nsim/Kconfig.defconfig.sem:36

Included via Kconfig:10Kconfig.zephyr:23soc/arc/snps_nsim/Kconfig.defconfig:18

Menu path: (top menu)

config CACHE_FLUSHING
    bool
    default "y" if SOC_NSIM_SEM && SOC_NSIM
    depends on SOC_NSIM_SEM && SOC_NSIM

At arch/arc/Kconfig:192

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → ARC Options → ARCv2 Family Options

config CACHE_FLUSHING
    bool
    prompt "Enable d-cache flushing mechanism" if ARC
    depends on ARC
    help
      This links in the sys_cache_flush() function, which provides a
      way to flush multiple lines of the d-cache.
      If the d-cache is present, set this to y.
      If the d-cache is NOT present, set this to n.

At arch/x86/Kconfig:297

Included via Kconfig:10Kconfig.zephyr:29arch/Kconfig:15

Menu path: (top menu) → X86 Architecture Options → Processor Capabilities

config CACHE_FLUSHING
    bool
    prompt "Enable cache flushing mechanism" if X86
    depends on X86
    help
      This links in the sys_cache_flush() function. A mechanism for flushing the
      cache must be selected as well. By default, that mechanism is discovered at
      runtime.

(Definitions include propagated dependencies, including from if’s and menus.)