Fabio Estevam | 77e6289 | 2012-09-13 03:18:20 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Freescale Semiconductor, Inc. |
| 3 | * |
| 4 | * Configuration settings for the Freescale i.MX6Q SabreSD board. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; either version 2 of |
| 9 | * the License, or (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
Fabio Estevam | c5ca897 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 17 | #ifndef __MX6QSABRESD_CONFIG_H |
| 18 | #define __MX6QSABRESD_CONFIG_H |
Fabio Estevam | 77e6289 | 2012-09-13 03:18:20 +0000 | [diff] [blame] | 19 | |
| 20 | #define CONFIG_MACH_TYPE 3980 |
Fabio Estevam | c5ca897 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 21 | #define CONFIG_MXC_UART_BASE UART1_BASE |
Otavio Salvador | 1c0b9be | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 22 | #define CONFIG_CONSOLE_DEV "ttymxc0" |
Otavio Salvador | c0bfaab | 2012-10-02 09:22:10 +0000 | [diff] [blame] | 23 | #define CONFIG_MMCROOT "/dev/mmcblk1p2" |
Otavio Salvador | e5dd0a2 | 2013-01-10 09:45:09 +0000 | [diff] [blame] | 24 | #define CONFIG_DEFAULT_FDT_FILE "imx6q-sabresd.dtb" |
Fabio Estevam | c5ca897 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 25 | #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) |
Fabio Estevam | 77e6289 | 2012-09-13 03:18:20 +0000 | [diff] [blame] | 26 | |
Otavio Salvador | 1c0b9be | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 27 | #include "mx6qsabre_common.h" |
| 28 | |
Shawn Guo | 7e5e833 | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 29 | #define CONFIG_SYS_FSL_USDHC_NUM 3 |
| 30 | #if defined(CONFIG_ENV_IS_IN_MMC) |
Fabio Estevam | 3cce37d | 2013-01-10 09:00:53 +0000 | [diff] [blame] | 31 | #define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */ |
Shawn Guo | 4df127b | 2012-12-30 14:15:00 +0000 | [diff] [blame] | 32 | #define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */ |
Shawn Guo | 7e5e833 | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 33 | #endif |
| 34 | |
Fabio Estevam | c5ca897 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 35 | #endif /* __MX6QSABRESD_CONFIG_H */ |