The latest development version of this page may be more current than this released 2.7.5 version.

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 arch/arc/Kconfig:338

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

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

config DCACHE_LINE_SIZE
    int
    default 32
    depends on ARC

At arch/Kconfig:904

Included via Kconfig:8Kconfig.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.)