summaryrefslogtreecommitdiff
path: root/include/configs/mx6sx_17x17_arm2.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-04-28 14:43:11 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:56:08 +0800
commitc911d6ce1aba5ac669c4c0cfa86e4f9e83a37ba9 (patch)
tree06691a515d3b76c66dccf91e2b58e260967ae83a /include/configs/mx6sx_17x17_arm2.h
parent6b3769bb839089908940eccbf7c90439a3be5cfd (diff)
downloadu-boot-imx-c911d6ce1aba5ac669c4c0cfa86e4f9e83a37ba9.zip
u-boot-imx-c911d6ce1aba5ac669c4c0cfa86e4f9e83a37ba9.tar.gz
u-boot-imx-c911d6ce1aba5ac669c4c0cfa86e4f9e83a37ba9.tar.bz2
MLK-10774-22 imx:mx6sx_arm2 add mx6sx arm2 bsp
Add bsp and configuration file Signed-off-by: Ye.Li <B37916@freescale.com> Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'include/configs/mx6sx_17x17_arm2.h')
-rw-r--r--include/configs/mx6sx_17x17_arm2.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/configs/mx6sx_17x17_arm2.h b/include/configs/mx6sx_17x17_arm2.h
new file mode 100644
index 0000000..96a50af
--- /dev/null
+++ b/include/configs/mx6sx_17x17_arm2.h
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ *
+ * Configuration settings for the Freescale i.MX6SX 17x17 ARM2 board.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __MX6SX_17X17_ARM2_CONFIG_H
+#define __MX6SX_17X17_ARM2_CONFIG_H
+
+#include "mx6sx_arm2.h"
+
+#ifdef CONFIG_MX6SX_14x14
+#define CONFIG_DEFAULT_FDT_FILE "imx6sx-14x14-arm2.dtb"
+#else
+#define CONFIG_DEFAULT_FDT_FILE "imx6sx-17x17-arm2.dtb"
+#endif
+
+#ifdef CONFIG_SYS_USE_SPINOR /* Pin conflict between SPI-NOR and SD2 */
+#define CONFIG_SYS_FSL_USDHC_NUM 2
+#define CONFIG_SYS_MMC_ENV_DEV 0 /* USDHC3 */
+#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
+#define CONFIG_MMCROOT "/dev/mmcblk2p2" /* USDHC3 */
+#else
+#define CONFIG_SYS_FSL_USDHC_NUM 3
+#define CONFIG_SYS_MMC_ENV_DEV 1 /* USDHC3 */
+#define CONFIG_SYS_MMC_ENV_PART 0 /* user area */
+#define CONFIG_MMCROOT "/dev/mmcblk2p2" /* USDHC3 */
+#endif
+
+#ifdef CONFIG_SYS_USE_EIMNOR
+#undef CONFIG_SYS_FLASH_SECT_SIZE
+#undef CONFIG_SYS_MAX_FLASH_SECT
+#define CONFIG_SYS_FLASH_SECT_SIZE (256 * 1024)
+#define CONFIG_SYS_MAX_FLASH_SECT 512 /* max number of sectors on one chip */
+#define CONFIG_SYS_FLASH_PROTECTION
+#endif
+
+#endif