config.h 480 B

123456789101112131415161718192021222324
  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. #ifndef _ASM_CONFIG_H_
  8. #define _ASM_CONFIG_H_
  9. #include <asm/arch/core.h>
  10. #define CONFIG_LMB
  11. /*
  12. * Make boot parameters available in the MMUv2 virtual memory layout by
  13. * restricting used physical memory to the first 128MB.
  14. */
  15. #if XCHAL_HAVE_PTP_MMU
  16. #define CONFIG_VERY_BIG_RAM
  17. #define CONFIG_MAX_MEM_MAPPED (128 << 20)
  18. #endif
  19. #endif