1baefb63aSEric Nelson /* 2baefb63aSEric Nelson * Copyright (C) 2010-2011 Freescale Semiconductor, Inc. 3baefb63aSEric Nelson * 4baefb63aSEric Nelson * Configuration settings for the Boundary Devices Nitrogen6X 5baefb63aSEric Nelson * and Freescale i.MX6Q Sabre Lite boards. 6baefb63aSEric Nelson * 7baefb63aSEric Nelson * SPDX-License-Identifier: GPL-2.0+ 8baefb63aSEric Nelson */ 9baefb63aSEric Nelson 10baefb63aSEric Nelson #ifndef __CONFIG_H 11baefb63aSEric Nelson #define __CONFIG_H 12baefb63aSEric Nelson 13baefb63aSEric Nelson /* SPL */ 14baefb63aSEric Nelson 15baefb63aSEric Nelson #include "mx6_common.h" 16baefb63aSEric Nelson #include "imx6_spl.h" 17baefb63aSEric Nelson 18baefb63aSEric Nelson #undef CONFIG_FSL_ESDHC 19baefb63aSEric Nelson #undef CONFIG_MMC 20baefb63aSEric Nelson #undef CONFIG_SPL_MMC_SUPPORT 21baefb63aSEric Nelson #undef CONFIG_GENERIC_MMC 22baefb63aSEric Nelson #undef CONFIG_CMD_FUSE 23baefb63aSEric Nelson 24baefb63aSEric Nelson #define CONFIG_SYS_MEMTEST_START 0x10000000 25baefb63aSEric Nelson #define CONFIG_SYS_MEMTEST_END 0x20000000 26baefb63aSEric Nelson #define CONFIG_SYS_MALLOC_LEN (64 * 1024 * 1024) 27baefb63aSEric Nelson 28baefb63aSEric Nelson #define CONFIG_MXC_UART 29baefb63aSEric Nelson #ifdef CONFIG_SERIAL_CONSOLE_UART1 30baefb63aSEric Nelson #if defined(CONFIG_MX6SL) 31baefb63aSEric Nelson #define CONFIG_MXC_UART_BASE UART1_IPS_BASE_ADDR 32baefb63aSEric Nelson #else 33baefb63aSEric Nelson #define CONFIG_MXC_UART_BASE UART1_BASE 34baefb63aSEric Nelson #endif 35baefb63aSEric Nelson #elif defined(CONFIG_SERIAL_CONSOLE_UART2) 36baefb63aSEric Nelson #define CONFIG_MXC_UART_BASE UART2_BASE 37baefb63aSEric Nelson #else 38baefb63aSEric Nelson #error please define serial console (CONFIG_SERIAL_CONSOLE_UARTx) 39baefb63aSEric Nelson #endif 40baefb63aSEric Nelson #define CONFIG_BAUDRATE 115200 41baefb63aSEric Nelson 42baefb63aSEric Nelson #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + 16) 43baefb63aSEric Nelson 44baefb63aSEric Nelson /* Physical Memory Map */ 45baefb63aSEric Nelson #define CONFIG_NR_DRAM_BANKS 1 46baefb63aSEric Nelson #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 47baefb63aSEric Nelson 48baefb63aSEric Nelson #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 49baefb63aSEric Nelson #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 50baefb63aSEric Nelson #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 51baefb63aSEric Nelson 52baefb63aSEric Nelson #define CONFIG_SYS_INIT_SP_OFFSET \ 53baefb63aSEric Nelson (CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE) 54baefb63aSEric Nelson #define CONFIG_SYS_INIT_SP_ADDR \ 55baefb63aSEric Nelson (CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET) 56baefb63aSEric Nelson 57baefb63aSEric Nelson #define CONFIG_ENV_SIZE (8 * 1024) 58baefb63aSEric Nelson 59*0093b3fcSEric Nelson #define CONFIG_MXC_USB_PORTSC PORT_PTS_UTMI 60*0093b3fcSEric Nelson 61baefb63aSEric Nelson #endif /* __CONFIG_H */ 62