xref: /openbmc/u-boot/arch/xtensa/include/asm/config.h (revision 9d466f2f)
1 /*
2  * Copyright (C) 2009 Tensilica Inc.
3  * Copyright (C) 2014 - 2016 Cadence Design Systems Inc.
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef _ASM_CONFIG_H_
9 #define _ASM_CONFIG_H_
10 
11 #include <asm/arch/core.h>
12 
13 #define CONFIG_LMB
14 
15 /*
16  * Make boot parameters available in the MMUv2 virtual memory layout by
17  * restricting used physical memory to the first 128MB.
18  */
19 #if XCHAL_HAVE_PTP_MMU
20 #define CONFIG_VERY_BIG_RAM
21 #define CONFIG_MAX_MEM_MAPPED (128 << 20)
22 #endif
23 
24 #endif
25