diff options
author | Ye Li <ye.li@nxp.com> | 2017-03-10 11:35:39 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2017-04-05 14:06:25 +0800 |
commit | 5827aa3d321d3316ba4100175afb9b39113bf893 (patch) | |
tree | d60f82d903a472fcd10b73fca4e7e4329758ec86 /include/configs/mx6sx_17x17_arm2.h | |
parent | df142b5636929eb52b7e4c312e187a029981bc81 (diff) | |
download | u-boot-imx-5827aa3d321d3316ba4100175afb9b39113bf893.zip u-boot-imx-5827aa3d321d3316ba4100175afb9b39113bf893.tar.gz u-boot-imx-5827aa3d321d3316ba4100175afb9b39113bf893.tar.bz2 |
MLK-14391-1 mx6sxarm2: Add mx6sx 14x14/17x17/19x19 arm2 board codes
Copy the board codes and build configurations for i.MX6SX 14x14/17x17/19x19
ARM2 boards from v2016.03 as the base for converting to OF_CONTROL and
DM driver.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'include/configs/mx6sx_17x17_arm2.h')
-rw-r--r-- | include/configs/mx6sx_17x17_arm2.h | 40 |
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..e99b5df --- /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_TARGET_MX6SX_14X14_ARM2 +#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 |