CONFIG_DCACHE_LINE_SIZE

d-cache line size

Type: int

Help

Size in bytes of a CPU d-cache line. If this is set to 0 the value is
obtained from the 'd-cache-line-size' DT property instead if present.


Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

Direct dependencies

ARC || CACHE_MANAGEMENT

(Includes any dependencies from ifs and menus.)

Defaults

  • 32

  • 0

Kconfig definitions

At <Zephyr>/arch/arc/Kconfig:337

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:39<Zephyr>/arch/Kconfig:12

Menu path: (Top) → ARC Options → ARC CPU Options

config DCACHE_LINE_SIZE
    int
    default 32
    depends on ARC

At <Zephyr>/arch/Kconfig:906

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

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

config DCACHE_LINE_SIZE
    int "d-cache line size" if !DCACHE_LINE_SIZE_DETECT
    default 0
    depends on CACHE_MANAGEMENT
    help
      Size in bytes of a CPU d-cache line. If this is set to 0 the value is
      obtained from the 'd-cache-line-size' DT property instead if present.


      Detect automatically at runtime by selecting DCACHE_LINE_SIZE_DETECT.

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