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