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