diff options
author | Lu Lin <b37454@freescale.com> | 2013-08-15 14:15:40 +0800 |
---|---|---|
committer | Lu Lin <b37454@freescale.com> | 2013-08-22 16:07:59 +0800 |
commit | 40f717dc3c704a6104c399afd7f7b44a4a2d532b (patch) | |
tree | 1e57bcccd3f635c88cd991000fe66cfb9337e5f8 /include | |
parent | ee70bdf2b1843632c823c48cf7ce6e73c53cf70c (diff) | |
download | u-boot-imx-40f717dc3c704a6104c399afd7f7b44a4a2d532b.zip u-boot-imx-40f717dc3c704a6104c399afd7f7b44a4a2d532b.tar.gz u-boot-imx-40f717dc3c704a6104c399afd7f7b44a4a2d532b.tar.bz2 |
ENGR00276276 Add config file for uboot that used for mfgtool.
this patch adds the config file to build uboot of mx6qsabresd for mfgtool.
Signed-off-by: Lu Lin <b37454@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/mx6qsabresd_mfg.h | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/include/configs/mx6qsabresd_mfg.h b/include/configs/mx6qsabresd_mfg.h new file mode 100644 index 0000000..d3613ab --- /dev/null +++ b/include/configs/mx6qsabresd_mfg.h @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2012-2013 Freescale Semiconductor, Inc. + * + * Configuration settings for the Freescale i.MX6Q SabreSD board. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __MX6QSABRESD_MFG_CONFIG_H +#define __MX6QSABRESD_MFG_CONFIG_H + +#define CONFIG_MACH_TYPE 3980 +#define CONFIG_MXC_UART_BASE UART1_BASE +#define CONFIG_CONSOLE_DEV "ttymxc0" +#define CONFIG_MMCROOT "/dev/mmcblk0p2" + +#include "mx6qsabre_common.h" +#include <asm/imx-common/gpio.h> + +#define CONFIG_SYS_FSL_USDHC_NUM 3 +#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC3 */ +#define CONFIG_SYS_MMC_ENV_PART 0 /* user partition */ + +#ifdef CONFIG_SYS_USE_SPINOR +#define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(4, 9)<<8)) +#endif + +#define CONFIG_MFG + +#ifdef CONFIG_ENV_IS_IN_MMC +#undef CONFIG_ENV_IS_IN_MMC +#endif + +#define CONFIG_ENV_IS_NOWHERE 1 + +#ifdef CONFIG_BOOTDELAY +#undef CONFIG_BOOTDELAY +#endif +#define CONFIG_BOOTDELAY 0 + +#ifdef CONFIG_BOOTARGS +#undef CONFIG_BOOTARGS +#endif +#define CONFIG_BOOTARGS "console=ttymxc0,115200 "\ + "rdinit=/linuxrc "\ + "enable_wait_mode=off" + +#ifdef CONFIG_BOOTCOMMAND +#undef CONFIG_BOOTCOMMAND +#endif +#define CONFIG_BOOTCOMMAND "bootm 0x12000000 0x12C00000 0x18000000" + +#endif /* __MX6QSABRESD_CONFIG_H */ |