This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ICACHE_LINE_SIZE_DETECT

Detect i-cache line size at runtime

Type: bool

Help

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

If the CPU's i-cache line size is known in advance, disable this option and
manually enter the value for ICACHE_LINE_SIZE or set it in the DT
using the 'i-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 arch/Kconfig:915

Included via Kconfig:8Kconfig.zephyr:39

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

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

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

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