19b75bad0SSARTRE Leo /*
29b75bad0SSARTRE Leo  *
39b75bad0SSARTRE Leo  * Congatec Conga-QEVAl board configuration file.
49b75bad0SSARTRE Leo  *
59b75bad0SSARTRE Leo  * Copyright (C) 2010-2011 Freescale Semiconductor, Inc.
69b75bad0SSARTRE Leo  * Based on Freescale i.MX6Q Sabre Lite board configuration file.
79b75bad0SSARTRE Leo  * Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com>
89b75bad0SSARTRE Leo  * Leo Sartre, <lsartre@adeneo-embedded.com>
99b75bad0SSARTRE Leo  *
101a459660SWolfgang Denk  * SPDX-License-Identifier:	GPL-2.0+
119b75bad0SSARTRE Leo  */
129b75bad0SSARTRE Leo 
139b75bad0SSARTRE Leo #ifndef __CONFIG_CGTQMX6EVAL_H
149b75bad0SSARTRE Leo #define __CONFIG_CGTQMX6EVAL_H
159b75bad0SSARTRE Leo 
169b75bad0SSARTRE Leo #include "mx6_common.h"
179b75bad0SSARTRE Leo 
189b75bad0SSARTRE Leo #define CONFIG_MACH_TYPE	4122
199b75bad0SSARTRE Leo 
20d7140351SOtavio Salvador #ifdef CONFIG_SPL
21d7140351SOtavio Salvador #define CONFIG_SPL_LIBCOMMON_SUPPORT
22d7140351SOtavio Salvador #define CONFIG_SPL_MMC_SUPPORT
23d7140351SOtavio Salvador #define CONFIG_SPL_SPI_SUPPORT
24d7140351SOtavio Salvador #define CONFIG_SPL_SPI_FLASH_SUPPORT
25d7140351SOtavio Salvador #define CONFIG_SYS_SPI_U_BOOT_OFFS	(64 * 1024)
26d7140351SOtavio Salvador #define CONFIG_SPL_SPI_LOAD
27d7140351SOtavio Salvador #include "imx6_spl.h"
28d7140351SOtavio Salvador #endif
29d7140351SOtavio Salvador 
309b75bad0SSARTRE Leo /* Size of malloc() pool */
319b75bad0SSARTRE Leo #define CONFIG_SYS_MALLOC_LEN		(10 * 1024 * 1024)
329b75bad0SSARTRE Leo 
339b75bad0SSARTRE Leo #define CONFIG_BOARD_EARLY_INIT_F
34d7140351SOtavio Salvador #define CONFIG_BOARD_LATE_INIT
359b75bad0SSARTRE Leo #define CONFIG_MISC_INIT_R
369b75bad0SSARTRE Leo 
379b75bad0SSARTRE Leo #define CONFIG_MXC_UART
389b75bad0SSARTRE Leo #define CONFIG_MXC_UART_BASE	       UART2_BASE
399b75bad0SSARTRE Leo 
409b75bad0SSARTRE Leo /* MMC Configs */
419b75bad0SSARTRE Leo #define CONFIG_SYS_FSL_ESDHC_ADDR      0
429b75bad0SSARTRE Leo 
4371bcdafeSOtavio Salvador /* SPI NOR */
4471bcdafeSOtavio Salvador #define CONFIG_CMD_SF
4571bcdafeSOtavio Salvador #define CONFIG_SPI_FLASH
4671bcdafeSOtavio Salvador #define CONFIG_SPI_FLASH_STMICRO
4771bcdafeSOtavio Salvador #define CONFIG_SPI_FLASH_SST
4871bcdafeSOtavio Salvador #define CONFIG_MXC_SPI
4971bcdafeSOtavio Salvador #define CONFIG_SF_DEFAULT_BUS		0
5071bcdafeSOtavio Salvador #define CONFIG_SF_DEFAULT_SPEED		20000000
5171bcdafeSOtavio Salvador #define CONFIG_SF_DEFAULT_MODE		(SPI_MODE_0)
5271bcdafeSOtavio Salvador 
539b75bad0SSARTRE Leo /* Miscellaneous commands */
549b75bad0SSARTRE Leo #define CONFIG_CMD_BMODE
559b75bad0SSARTRE Leo 
56862187b7SOtavio Salvador /* Thermal support */
571368f993SAdrian Alonso #define CONFIG_IMX_THERMAL
58862187b7SOtavio Salvador 
594c9929d6SOtavio Salvador /* I2C Configs */
604c9929d6SOtavio Salvador #define CONFIG_CMD_I2C
614c9929d6SOtavio Salvador #define CONFIG_SYS_I2C
624c9929d6SOtavio Salvador #define CONFIG_SYS_I2C_MXC
6303544c66SAlbert ARIBAUD \\(3ADEV\\) #define CONFIG_SYS_I2C_MXC_I2C1		/* enable I2C bus 1 */
6403544c66SAlbert ARIBAUD \\(3ADEV\\) #define CONFIG_SYS_I2C_MXC_I2C2		/* enable I2C bus 2 */
654c9929d6SOtavio Salvador #define CONFIG_SYS_I2C_MXC_I2C2		/* enable I2C bus 2 */
664c9929d6SOtavio Salvador #define CONFIG_SYS_I2C_SPEED		  100000
674c9929d6SOtavio Salvador 
684c9929d6SOtavio Salvador /* PMIC */
694c9929d6SOtavio Salvador #define CONFIG_POWER
704c9929d6SOtavio Salvador #define CONFIG_POWER_I2C
714c9929d6SOtavio Salvador #define CONFIG_POWER_PFUZE100
724c9929d6SOtavio Salvador #define CONFIG_POWER_PFUZE100_I2C_ADDR	0x08
734c9929d6SOtavio Salvador 
7495246ac7SOtavio Salvador /* USB Configs */
7595246ac7SOtavio Salvador #define CONFIG_CMD_USB
7695246ac7SOtavio Salvador #define CONFIG_CMD_FAT
7795246ac7SOtavio Salvador #define CONFIG_USB_EHCI
7895246ac7SOtavio Salvador #define CONFIG_USB_EHCI_MX6
7995246ac7SOtavio Salvador #define CONFIG_USB_STORAGE
8095246ac7SOtavio Salvador #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
8195246ac7SOtavio Salvador #define CONFIG_USB_HOST_ETHER
8295246ac7SOtavio Salvador #define CONFIG_USB_ETHER_ASIX
8395246ac7SOtavio Salvador #define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
8495246ac7SOtavio Salvador #define CONFIG_MXC_USB_FLAGS	0
8595246ac7SOtavio Salvador #define CONFIG_USB_MAX_CONTROLLER_COUNT 2 /* Enabled USB controller number */
8695246ac7SOtavio Salvador #define CONFIG_USB_KEYBOARD
8795246ac7SOtavio Salvador #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
8895246ac7SOtavio Salvador 
893e08e1b7SOtavio Salvador #define CONFIG_CI_UDC
903e08e1b7SOtavio Salvador #define CONFIG_USBD_HS
913e08e1b7SOtavio Salvador #define CONFIG_USB_GADGET_DUALSPEED
923e08e1b7SOtavio Salvador 
933e08e1b7SOtavio Salvador #define CONFIG_USB_GADGET
943e08e1b7SOtavio Salvador #define CONFIG_CMD_USB_MASS_STORAGE
953e08e1b7SOtavio Salvador #define CONFIG_USB_FUNCTION_MASS_STORAGE
963e08e1b7SOtavio Salvador #define CONFIG_USB_GADGET_DOWNLOAD
973e08e1b7SOtavio Salvador #define CONFIG_USB_GADGET_VBUS_DRAW	2
983e08e1b7SOtavio Salvador 
993e08e1b7SOtavio Salvador #define CONFIG_G_DNL_VENDOR_NUM		0x0525
1003e08e1b7SOtavio Salvador #define CONFIG_G_DNL_PRODUCT_NUM	0xa4a5
1013e08e1b7SOtavio Salvador #define CONFIG_G_DNL_MANUFACTURER	"Congatec"
1023e08e1b7SOtavio Salvador 
103*e0a352d1SOtavio Salvador /* USB Device Firmware Update support */
104*e0a352d1SOtavio Salvador #define CONFIG_CMD_DFU
105*e0a352d1SOtavio Salvador #define CONFIG_USB_FUNCTION_DFU
106*e0a352d1SOtavio Salvador #define CONFIG_DFU_MMC
107*e0a352d1SOtavio Salvador #define CONFIG_DFU_SF
108*e0a352d1SOtavio Salvador 
109eb76f13aSOtavio Salvador #define CONFIG_USB_FUNCTION_FASTBOOT
110eb76f13aSOtavio Salvador #define CONFIG_CMD_FASTBOOT
111eb76f13aSOtavio Salvador #define CONFIG_ANDROID_BOOT_IMAGE
112eb76f13aSOtavio Salvador #define CONFIG_FASTBOOT_BUF_ADDR   CONFIG_SYS_LOAD_ADDR
113eb76f13aSOtavio Salvador #define CONFIG_FASTBOOT_BUF_SIZE   0x07000000
114eb76f13aSOtavio Salvador 
1156d551f27SOtavio Salvador /* Framebuffer */
1166d551f27SOtavio Salvador #define CONFIG_VIDEO
1176d551f27SOtavio Salvador #define CONFIG_VIDEO_IPUV3
1186d551f27SOtavio Salvador #define CONFIG_CFB_CONSOLE
1196d551f27SOtavio Salvador #define CONFIG_VGA_AS_SINGLE_DEVICE
1206d551f27SOtavio Salvador #define CONFIG_SYS_CONSOLE_IS_IN_ENV
1216d551f27SOtavio Salvador #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
1226d551f27SOtavio Salvador #define CONFIG_VIDEO_BMP_RLE8
1236d551f27SOtavio Salvador #define CONFIG_SPLASH_SCREEN
1246d551f27SOtavio Salvador #define CONFIG_SPLASH_SCREEN_ALIGN
1256d551f27SOtavio Salvador #define CONFIG_BMP_16BPP
1266d551f27SOtavio Salvador #define CONFIG_VIDEO_LOGO
1276d551f27SOtavio Salvador #define CONFIG_VIDEO_BMP_LOGO
1286d551f27SOtavio Salvador #ifdef CONFIG_MX6DL
1296d551f27SOtavio Salvador #define CONFIG_IPUV3_CLK 198000000
1306d551f27SOtavio Salvador #else
1316d551f27SOtavio Salvador #define CONFIG_IPUV3_CLK 264000000
1326d551f27SOtavio Salvador #endif
1336d551f27SOtavio Salvador #define CONFIG_IMX_HDMI
1346d551f27SOtavio Salvador 
1356731bc8dSOtavio Salvador /* SATA */
1366731bc8dSOtavio Salvador #define CONFIG_CMD_SATA
1376731bc8dSOtavio Salvador #define CONFIG_DWC_AHSATA
1386731bc8dSOtavio Salvador #define CONFIG_SYS_SATA_MAX_DEVICE	1
1396731bc8dSOtavio Salvador #define CONFIG_DWC_AHSATA_PORT_ID	0
1406731bc8dSOtavio Salvador #define CONFIG_DWC_AHSATA_BASE_ADDR	SATA_ARB_BASE_ADDR
1416731bc8dSOtavio Salvador #define CONFIG_LBA48
1426731bc8dSOtavio Salvador #define CONFIG_LIBATA
1436731bc8dSOtavio Salvador 
144f0222902SOtavio Salvador /* Ethernet */
145f0222902SOtavio Salvador #define CONFIG_CMD_PING
146f0222902SOtavio Salvador #define CONFIG_CMD_DHCP
147f0222902SOtavio Salvador #define CONFIG_CMD_MII
148f0222902SOtavio Salvador #define CONFIG_FEC_MXC
149f0222902SOtavio Salvador #define CONFIG_MII
150f0222902SOtavio Salvador #define IMX_FEC_BASE			ENET_BASE_ADDR
151f0222902SOtavio Salvador #define CONFIG_FEC_XCV_TYPE		RGMII
152f0222902SOtavio Salvador #define CONFIG_ETHPRIME			"FEC"
153f0222902SOtavio Salvador #define CONFIG_FEC_MXC_PHYADDR		6
154f0222902SOtavio Salvador #define CONFIG_PHYLIB
155f0222902SOtavio Salvador #define CONFIG_PHY_ATHEROS
156f0222902SOtavio Salvador 
1575b94ce2cSOtavio Salvador /* Command definition */
1585b94ce2cSOtavio Salvador 
1595b94ce2cSOtavio Salvador #define CONFIG_MXC_UART_BASE	UART2_BASE
1605b94ce2cSOtavio Salvador #define CONFIG_CONSOLE_DEV	"ttymxc1"
1615b94ce2cSOtavio Salvador #define CONFIG_MMCROOT		"/dev/mmcblk0p2"
1625b94ce2cSOtavio Salvador #define CONFIG_SYS_MMC_ENV_DEV		0
1639b75bad0SSARTRE Leo 
164d7140351SOtavio Salvador #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
1659b75bad0SSARTRE Leo #define CONFIG_EXTRA_ENV_SETTINGS \
1669b75bad0SSARTRE Leo 	"script=boot.scr\0" \
1674ac0c2bfSOtavio Salvador 	"image=zImage\0" \
168d7140351SOtavio Salvador 	"fdtfile=undefined\0" \
1695b94ce2cSOtavio Salvador 	"fdt_addr_r=0x18000000\0" \
1709b75bad0SSARTRE Leo 	"boot_fdt=try\0" \
1715b94ce2cSOtavio Salvador 	"ip_dyn=yes\0" \
1725b94ce2cSOtavio Salvador 	"console=" CONFIG_CONSOLE_DEV "\0" \
173*e0a352d1SOtavio Salvador 	"dfuspi=dfu 0 sf 0:0:10000000:0\0" \
174*e0a352d1SOtavio Salvador 	"dfu_alt_info_spl=spl raw 0x400\0" \
175*e0a352d1SOtavio Salvador 	"dfu_alt_info_img=u-boot raw 0x10000\0" \
176*e0a352d1SOtavio Salvador 	"dfu_alt_info=spl raw 0x400\0" \
1775b94ce2cSOtavio Salvador 	"bootm_size=0x10000000\0" \
1785b94ce2cSOtavio Salvador 	"mmcdev=" __stringify(CONFIG_SYS_MMC_ENV_DEV) "\0" \
1799b75bad0SSARTRE Leo 	"mmcpart=1\0" \
1805b94ce2cSOtavio Salvador 	"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
1815b94ce2cSOtavio Salvador 	"update_sd_firmware=" \
1825b94ce2cSOtavio Salvador 		"if test ${ip_dyn} = yes; then " \
1835b94ce2cSOtavio Salvador 			"setenv get_cmd dhcp; " \
1845b94ce2cSOtavio Salvador 		"else " \
1855b94ce2cSOtavio Salvador 			"setenv get_cmd tftp; " \
1865b94ce2cSOtavio Salvador 		"fi; " \
1875b94ce2cSOtavio Salvador 		"if mmc dev ${mmcdev}; then "	\
1885b94ce2cSOtavio Salvador 			"if ${get_cmd} ${update_sd_firmware_filename}; then " \
1895b94ce2cSOtavio Salvador 				"setexpr fw_sz ${filesize} / 0x200; " \
1905b94ce2cSOtavio Salvador 				"setexpr fw_sz ${fw_sz} + 1; "	\
1915b94ce2cSOtavio Salvador 				"mmc write ${loadaddr} 0x2 ${fw_sz}; " \
1925b94ce2cSOtavio Salvador 			"fi; "	\
1935b94ce2cSOtavio Salvador 		"fi\0" \
1949b75bad0SSARTRE Leo 	"mmcargs=setenv bootargs console=${console},${baudrate} " \
1959b75bad0SSARTRE Leo 		"root=${mmcroot}\0" \
1969b75bad0SSARTRE Leo 	"loadbootscript=" \
1975b94ce2cSOtavio Salvador 		"fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
1989b75bad0SSARTRE Leo 	"bootscript=echo Running bootscript from mmc ...; " \
1999b75bad0SSARTRE Leo 		"source\0" \
2005b94ce2cSOtavio Salvador 	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
2015b94ce2cSOtavio Salvador 	"loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}\0" \
2029b75bad0SSARTRE Leo 	"mmcboot=echo Booting from mmc ...; " \
2039b75bad0SSARTRE Leo 		"run mmcargs; " \
2049b75bad0SSARTRE Leo 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
2059b75bad0SSARTRE Leo 			"if run loadfdt; then " \
2065b94ce2cSOtavio Salvador 				"bootz ${loadaddr} - ${fdt_addr_r}; " \
2079b75bad0SSARTRE Leo 			"else " \
2089b75bad0SSARTRE Leo 				"if test ${boot_fdt} = try; then " \
2094ac0c2bfSOtavio Salvador 					"bootz; " \
2109b75bad0SSARTRE Leo 				"else " \
2119b75bad0SSARTRE Leo 					"echo WARN: Cannot load the DT; " \
2129b75bad0SSARTRE Leo 				"fi; " \
2139b75bad0SSARTRE Leo 			"fi; " \
2149b75bad0SSARTRE Leo 		"else " \
2154ac0c2bfSOtavio Salvador 			"bootz; " \
2165b94ce2cSOtavio Salvador 		"fi;\0" \
217d7140351SOtavio Salvador 	"findfdt="\
218d7140351SOtavio Salvador 		"if test $board_rev = MX6Q ; then " \
219d7140351SOtavio Salvador 			"setenv fdtfile imx6q-qmx6.dtb; fi; " \
220d7140351SOtavio Salvador 		"if test $board_rev = MX6DL ; then " \
221d7140351SOtavio Salvador 			"setenv fdtfile imx6dl-qmx6.dtb; fi; " \
222d7140351SOtavio Salvador 		"if test $fdtfile = undefined; then " \
223d7140351SOtavio Salvador 			"echo WARNING: Could not determine dtb to use; fi; \0" \
2245b94ce2cSOtavio Salvador 	"netargs=setenv bootargs console=${console},${baudrate} " \
2255b94ce2cSOtavio Salvador 		"root=/dev/nfs " \
2265b94ce2cSOtavio Salvador 		"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
2275b94ce2cSOtavio Salvador 	"netboot=echo Booting from net ...; " \
2285b94ce2cSOtavio Salvador 		"run netargs; " \
2295b94ce2cSOtavio Salvador 		"if test ${ip_dyn} = yes; then " \
2305b94ce2cSOtavio Salvador 			"setenv get_cmd dhcp; " \
2315b94ce2cSOtavio Salvador 		"else " \
2325b94ce2cSOtavio Salvador 			"setenv get_cmd tftp; " \
2335b94ce2cSOtavio Salvador 		"fi; " \
2345b94ce2cSOtavio Salvador 		"${get_cmd} ${image}; " \
2355b94ce2cSOtavio Salvador 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
2365b94ce2cSOtavio Salvador 			"if ${get_cmd} ${fdt_addr_r} ${fdtfile}; then " \
2375b94ce2cSOtavio Salvador 				"bootz ${loadaddr} - ${fdt_addr_r}; " \
2385b94ce2cSOtavio Salvador 			"else " \
2395b94ce2cSOtavio Salvador 				"if test ${boot_fdt} = try; then " \
2405b94ce2cSOtavio Salvador 					"bootz; " \
2415b94ce2cSOtavio Salvador 				"else " \
2425b94ce2cSOtavio Salvador 					"echo WARN: Cannot load the DT; " \
2435b94ce2cSOtavio Salvador 				"fi; " \
2445b94ce2cSOtavio Salvador 			"fi; " \
2455b94ce2cSOtavio Salvador 		"else " \
2465b94ce2cSOtavio Salvador 			"bootz; " \
2475b94ce2cSOtavio Salvador 		"fi;\0" \
24871bcdafeSOtavio Salvador 	"spilock=sf probe && sf protect lock 0x3f0000 0x10000;"\
2499b75bad0SSARTRE Leo 
2509b75bad0SSARTRE Leo #define CONFIG_BOOTCOMMAND \
25171bcdafeSOtavio Salvador 	"run spilock;"	    \
252d7140351SOtavio Salvador 	"run findfdt; "	\
2539b75bad0SSARTRE Leo 	"mmc dev ${mmcdev};" \
2545b94ce2cSOtavio Salvador 	"if mmc rescan; then " \
2559b75bad0SSARTRE Leo 		"if run loadbootscript; then " \
2569b75bad0SSARTRE Leo 		"run bootscript; " \
2579b75bad0SSARTRE Leo 		"else " \
2584ac0c2bfSOtavio Salvador 			"if run loadimage; then " \
2599b75bad0SSARTRE Leo 				"run mmcboot; " \
2605b94ce2cSOtavio Salvador 			"else run netboot; " \
2619b75bad0SSARTRE Leo 			"fi; " \
2629b75bad0SSARTRE Leo 		"fi; " \
2635b94ce2cSOtavio Salvador 	"else run netboot; fi"
2649b75bad0SSARTRE Leo 
2659b75bad0SSARTRE Leo #define CONFIG_SYS_MEMTEST_START       0x10000000
2669b75bad0SSARTRE Leo #define CONFIG_SYS_MEMTEST_END	       0x10010000
2679b75bad0SSARTRE Leo #define CONFIG_SYS_MEMTEST_SCRATCH     0x10800000
2689b75bad0SSARTRE Leo 
2699b75bad0SSARTRE Leo /* Physical Memory Map */
2709b75bad0SSARTRE Leo #define CONFIG_NR_DRAM_BANKS	       1
2719b75bad0SSARTRE Leo #define PHYS_SDRAM		       MMDC0_ARB_BASE_ADDR
2729b75bad0SSARTRE Leo #define PHYS_SDRAM_SIZE			       (1u * 1024 * 1024 * 1024)
2739b75bad0SSARTRE Leo 
2749b75bad0SSARTRE Leo #define CONFIG_SYS_SDRAM_BASE	       PHYS_SDRAM
2759b75bad0SSARTRE Leo #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
2769b75bad0SSARTRE Leo #define CONFIG_SYS_INIT_RAM_SIZE       IRAM_SIZE
2779b75bad0SSARTRE Leo 
2789b75bad0SSARTRE Leo #define CONFIG_SYS_INIT_SP_OFFSET \
2799b75bad0SSARTRE Leo 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
2809b75bad0SSARTRE Leo #define CONFIG_SYS_INIT_SP_ADDR \
2819b75bad0SSARTRE Leo 	(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
2829b75bad0SSARTRE Leo 
283056845c2SPeter Robinson /* Environment organization */
284d5de9108SOtavio Salvador #if defined (CONFIG_ENV_IS_IN_MMC)
2859b75bad0SSARTRE Leo #define CONFIG_ENV_OFFSET		(6 * 64 * 1024)
2869b75bad0SSARTRE Leo #define CONFIG_SYS_MMC_ENV_DEV		0
287d5de9108SOtavio Salvador #endif
288d5de9108SOtavio Salvador 
289d5de9108SOtavio Salvador #define CONFIG_ENV_SIZE			(8 * 1024)
290d5de9108SOtavio Salvador 
291d5de9108SOtavio Salvador #define CONFIG_ENV_IS_IN_SPI_FLASH
292d5de9108SOtavio Salvador #if defined(CONFIG_ENV_IS_IN_SPI_FLASH)
293d5de9108SOtavio Salvador #define CONFIG_ENV_OFFSET		(768 * 1024)
294d5de9108SOtavio Salvador #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
295d5de9108SOtavio Salvador #define CONFIG_ENV_SPI_BUS		CONFIG_SF_DEFAULT_BUS
296d5de9108SOtavio Salvador #define CONFIG_ENV_SPI_CS		CONFIG_SF_DEFAULT_CS
297d5de9108SOtavio Salvador #define CONFIG_ENV_SPI_MODE		CONFIG_SF_DEFAULT_MODE
298d5de9108SOtavio Salvador #define CONFIG_ENV_SPI_MAX_HZ		CONFIG_SF_DEFAULT_SPEED
299d5de9108SOtavio Salvador #endif
3009b75bad0SSARTRE Leo 
3019b75bad0SSARTRE Leo #endif			       /* __CONFIG_CGTQMX6EVAL_H */
302