CONFIG_DCACHE_LINE_SIZE_DETECT

Detect d-cache line size at runtime

Type: bool

Help

This option enables querying some architecture-specific hardware for
finding the d-cache line size at the expense of taking more memory and
code and a slightly increased boot time.

If the CPU's d-cache line size is known in advance, disable this option and
manually enter the value for DCACHE_LINE_SIZE or set it in the DT
using the 'd-cache-line-size' property.

Direct dependencies

CACHE_MANAGEMENT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/arch/Kconfig:882

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:37

Menu path: (Top) → Cache Options → Enable cache management features

config DCACHE_LINE_SIZE_DETECT
    bool "Detect d-cache line size at runtime"
    depends on CACHE_MANAGEMENT
    help
      This option enables querying some architecture-specific hardware for
      finding the d-cache line size at the expense of taking more memory and
      code and a slightly increased boot time.

      If the CPU's d-cache line size is known in advance, disable this option and
      manually enter the value for DCACHE_LINE_SIZE or set it in the DT
      using the 'd-cache-line-size' property.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)