Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2009 Tensilica Inc. |
| 4 | * Copyright (C) 2014 - 2016 Cadence Design Systems Inc. |
Chris Zankel | 1387dab | 2016-08-10 18:36:44 +0300 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _ASM_CONFIG_H_ |
| 8 | #define _ASM_CONFIG_H_ |
| 9 | |
| 10 | #include <asm/arch/core.h> |
| 11 | |
| 12 | #define CONFIG_LMB |
| 13 | |
| 14 | /* |
| 15 | * Make boot parameters available in the MMUv2 virtual memory layout by |
| 16 | * restricting used physical memory to the first 128MB. |
| 17 | */ |
| 18 | #if XCHAL_HAVE_PTP_MMU |
| 19 | #define CONFIG_VERY_BIG_RAM |
| 20 | #define CONFIG_MAX_MEM_MAPPED (128 << 20) |
| 21 | #endif |
| 22 | |
| 23 | #endif |