blob: a1d92850c82338949195c918b63b8d0a5394519b [file] [log] [blame]
Fabio Estevam7891e252012-09-13 03:18:20 +00001/*
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 Estevambcfc7112012-09-24 08:09:32 +000017#ifndef __MX6QSABRESD_CONFIG_H
18#define __MX6QSABRESD_CONFIG_H
Fabio Estevam7891e252012-09-13 03:18:20 +000019
20#define CONFIG_MACH_TYPE 3980
Fabio Estevambcfc7112012-09-24 08:09:32 +000021#define CONFIG_MXC_UART_BASE UART1_BASE
Otavio Salvador51535d92012-09-26 11:37:01 +000022#define CONFIG_CONSOLE_DEV "ttymxc0"
Otavio Salvador903e7792012-10-02 09:22:10 +000023#define CONFIG_MMCROOT "/dev/mmcblk1p2"
Fabio Estevambcfc7112012-09-24 08:09:32 +000024#define PHYS_SDRAM_SIZE (1u * 1024 * 1024 * 1024)
Fabio Estevam7891e252012-09-13 03:18:20 +000025
Otavio Salvador51535d92012-09-26 11:37:01 +000026#include "mx6qsabre_common.h"
27
Shawn Guode7d02a2012-12-30 14:14:59 +000028#define CONFIG_SYS_FSL_USDHC_NUM 3
29#if defined(CONFIG_ENV_IS_IN_MMC)
Shawn Guo49ea0ff2012-12-30 14:15:00 +000030#define CONFIG_SYS_MMC_ENV_DEV 2 /* eMMC/uSDHC4 */
31#define CONFIG_SYS_MMC_ENV_PART 1 /* Boot partition 1 */
Shawn Guode7d02a2012-12-30 14:14:59 +000032#endif
33
Fabio Estevambcfc7112012-09-24 08:09:32 +000034#endif /* __MX6QSABRESD_CONFIG_H */