blob: 268c5688b3d3b4f2ef02dfaade04c0803ec67ecd [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Chris Zankel1387dab2016-08-10 18:36:44 +03002/*
3 * Copyright (C) 2009 Tensilica Inc.
4 * Copyright (C) 2014 - 2016 Cadence Design Systems Inc.
Chris Zankel1387dab2016-08-10 18:36:44 +03005 */
6
7#ifndef _ASM_CONFIG_H_
8#define _ASM_CONFIG_H_
9
10#include <asm/arch/core.h>
11
Chris Zankel1387dab2016-08-10 18:36:44 +030012/*
13 * Make boot parameters available in the MMUv2 virtual memory layout by
14 * restricting used physical memory to the first 128MB.
15 */
16#if XCHAL_HAVE_PTP_MMU
Tom Rinibc9d46b2022-12-04 10:04:50 -050017#define CFG_MAX_MEM_MAPPED (128 << 20)
Chris Zankel1387dab2016-08-10 18:36:44 +030018#endif
19
20#endif