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