blob: 96a50af20a316b848bcd46fbd59efe9ab7ef328f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
|