Fabio Estevam | 7891e25 | 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 | bcfc711 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 17 | #ifndef __MX6QSABRESD_CONFIG_H |
| 18 | #define __MX6QSABRESD_CONFIG_H |
Fabio Estevam | 7891e25 | 2012-09-13 03:18:20 +0000 | [diff] [blame] | 19 | |
| 20 | #define CONFIG_MACH_TYPE 3980 |
Fabio Estevam | bcfc711 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 21 | #define CONFIG_MXC_UART_BASE UART1_BASE |
Otavio Salvador | 51535d9 | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 22 | #define CONFIG_CONSOLE_DEV "ttymxc0" |
Otavio Salvador | 903e779 | 2012-10-02 09:22:10 +0000 | [diff] [blame] | 23 | #define CONFIG_MMCROOT "/dev/mmcblk1p2" |
Fabio Estevam | bcfc711 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 24 | #define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024) |
Fabio Estevam | 7891e25 | 2012-09-13 03:18:20 +0000 | [diff] [blame] | 25 | |
Otavio Salvador | 51535d9 | 2012-09-26 11:37:01 +0000 | [diff] [blame] | 26 | #include "mx6qsabre_common.h" |
| 27 | |
Shawn Guo | de7d02a | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 28 | #define CONFIG_SYS_FSL_USDHC_NUM 3 |
| 29 | #if defined(CONFIG_ENV_IS_IN_MMC) |
Shawn Guo | 49ea0ff | 2012-12-30 14:15:00 +0000 | [diff] [blame] | 30 | #define CONFIG_SYS_MMC_ENV_DEV 2 /* eMMC/uSDHC4 */ |
| 31 | #define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */ |
Shawn Guo | de7d02a | 2012-12-30 14:14:59 +0000 | [diff] [blame] | 32 | #endif |
| 33 | |
Fabio Estevam | bcfc711 | 2012-09-24 08:09:32 +0000 | [diff] [blame] | 34 | #endif /* __MX6QSABRESD_CONFIG_H */ |