mirror of
https://github.com/torvalds/linux.git
synced 2024-12-15 07:33:56 +00:00
a5944195d0
Use CONFIG_MEMMAP_CACHEATTR to initialize MPU as described in the Xtensa LSP RM document. Coalesce adjacent regions with the same cacheattr. Update Kconfig help text. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
22 lines
370 B
C
22 lines
370 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright (C) 2019 Cadence Design Systems Inc. */
|
|
|
|
#ifndef _ASM_XTENSA_CORE_H
|
|
#define _ASM_XTENSA_CORE_H
|
|
|
|
#include <variant/core.h>
|
|
|
|
#ifndef XCHAL_HAVE_EXCLUSIVE
|
|
#define XCHAL_HAVE_EXCLUSIVE 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_HAVE_MPU
|
|
#define XCHAL_HAVE_MPU 0
|
|
#endif
|
|
|
|
#ifndef XCHAL_SPANNING_WAY
|
|
#define XCHAL_SPANNING_WAY 0
|
|
#endif
|
|
|
|
#endif
|