xref: /rk3399_rockchip-uboot/include/configs/ge_bx50v3.h (revision fc44902a0d447d561a6a30c8d3e3e1ecf535ff9d)
1f9162b15SAkshay Bhat /*
2f9162b15SAkshay Bhat  * Copyright (C) 2015 Timesys Corporation
3f9162b15SAkshay Bhat  * Copyright (C) 2015 General Electric Company
4f9162b15SAkshay Bhat  * Copyright (C) 2014 Advantech
5f9162b15SAkshay Bhat  * Copyright (C) 2012 Freescale Semiconductor, Inc.
6f9162b15SAkshay Bhat  *
7f9162b15SAkshay Bhat  * Configuration settings for the GE MX6Q Bx50v3 boards.
8f9162b15SAkshay Bhat  *
9f9162b15SAkshay Bhat  * SPDX-License-Identifier:	GPL-2.0+
10f9162b15SAkshay Bhat  */
11f9162b15SAkshay Bhat 
12f9162b15SAkshay Bhat #ifndef __GE_BX50V3_CONFIG_H
13f9162b15SAkshay Bhat #define __GE_BX50V3_CONFIG_H
14f9162b15SAkshay Bhat 
15f9162b15SAkshay Bhat #include <asm/arch/imx-regs.h>
16f9162b15SAkshay Bhat #include <asm/imx-common/gpio.h>
17f9162b15SAkshay Bhat 
18f9162b15SAkshay Bhat #if defined(CONFIG_TARGET_GE_B450V3)
19f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME	"General Electric B450v3"
20f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE	"/boot/imx6q-b450v3.dtb"
21f9162b15SAkshay Bhat #elif defined(CONFIG_TARGET_GE_B650V3)
22f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME	"General Electric B650v3"
23f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE	"/boot/imx6q-b650v3.dtb"
24f9162b15SAkshay Bhat #elif defined(CONFIG_TARGET_GE_B850V3)
25f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME	"General Electric B850v3"
26f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE	"/boot/imx6q-b850v3.dtb"
27f9162b15SAkshay Bhat #else
28f9162b15SAkshay Bhat #define CONFIG_BOARD_NAME	"General Electric BA16 Generic"
29f9162b15SAkshay Bhat #define CONFIG_DEFAULT_FDT_FILE	"/boot/imx6q-ba16.dtb"
30f9162b15SAkshay Bhat #endif
31f9162b15SAkshay Bhat 
32f9162b15SAkshay Bhat #define CONFIG_MXC_UART_BASE	UART3_BASE
33f9162b15SAkshay Bhat #define CONFIG_CONSOLE_DEV	"ttymxc2"
34f9162b15SAkshay Bhat 
35f9162b15SAkshay Bhat #define PHYS_SDRAM_SIZE		(2u * 1024 * 1024 * 1024)
36f9162b15SAkshay Bhat 
37f9162b15SAkshay Bhat #define CONFIG_SUPPORT_EMMC_BOOT
38f9162b15SAkshay Bhat 
39f9162b15SAkshay Bhat #define CONFIG_BOOTDELAY               1
40f9162b15SAkshay Bhat 
41f9162b15SAkshay Bhat #include "mx6_common.h"
42f9162b15SAkshay Bhat #include <linux/sizes.h>
43f9162b15SAkshay Bhat 
44f9162b15SAkshay Bhat #define CONFIG_DISPLAY_CPUINFO
45f9162b15SAkshay Bhat #define CONFIG_DISPLAY_BOARDINFO
46f9162b15SAkshay Bhat 
47f9162b15SAkshay Bhat #define CONFIG_CMDLINE_TAG
48f9162b15SAkshay Bhat #define CONFIG_SETUP_MEMORY_TAGS
49f9162b15SAkshay Bhat #define CONFIG_INITRD_TAG
50f9162b15SAkshay Bhat #define CONFIG_REVISION_TAG
51f9162b15SAkshay Bhat #define CONFIG_SYS_MALLOC_LEN		(10 * SZ_1M)
52f9162b15SAkshay Bhat 
53f9162b15SAkshay Bhat #define CONFIG_BOARD_EARLY_INIT_F
54f9162b15SAkshay Bhat #define CONFIG_BOARD_LATE_INIT
55f9162b15SAkshay Bhat 
56f9162b15SAkshay Bhat #define CONFIG_MXC_GPIO
57f9162b15SAkshay Bhat #define CONFIG_MXC_UART
58f9162b15SAkshay Bhat 
59f9162b15SAkshay Bhat #define CONFIG_CMD_FUSE
60f9162b15SAkshay Bhat #define CONFIG_MXC_OCOTP
61f9162b15SAkshay Bhat 
62f9162b15SAkshay Bhat /* SATA Configs */
63f9162b15SAkshay Bhat #define CONFIG_CMD_SATA
64f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA
65f9162b15SAkshay Bhat #define CONFIG_SYS_SATA_MAX_DEVICE	1
66f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA_PORT_ID	0
67f9162b15SAkshay Bhat #define CONFIG_DWC_AHSATA_BASE_ADDR	SATA_ARB_BASE_ADDR
68f9162b15SAkshay Bhat #define CONFIG_LBA48
69f9162b15SAkshay Bhat #define CONFIG_LIBATA
70f9162b15SAkshay Bhat 
71f9162b15SAkshay Bhat /* MMC Configs */
72f9162b15SAkshay Bhat #define CONFIG_FSL_ESDHC
73f9162b15SAkshay Bhat #define CONFIG_FSL_USDHC
74f9162b15SAkshay Bhat #define CONFIG_SYS_FSL_ESDHC_ADDR      0
75f9162b15SAkshay Bhat #define CONFIG_MMC
76f9162b15SAkshay Bhat #define CONFIG_GENERIC_MMC
77f9162b15SAkshay Bhat #define CONFIG_BOUNCE_BUFFER
78f9162b15SAkshay Bhat #define CONFIG_DOS_PARTITION
79f9162b15SAkshay Bhat 
80f9162b15SAkshay Bhat /* USB Configs */
81*fc44902aSAndrew Shadura #ifdef CONFIG_USB
82f9162b15SAkshay Bhat #define CONFIG_USB_EHCI
83f9162b15SAkshay Bhat #define CONFIG_USB_EHCI_MX6
84f9162b15SAkshay Bhat #define CONFIG_USB_STORAGE
85f9162b15SAkshay Bhat #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
86f9162b15SAkshay Bhat #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
87f9162b15SAkshay Bhat #define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
88f9162b15SAkshay Bhat #define CONFIG_MXC_USB_FLAGS	0
89f9162b15SAkshay Bhat #define CONFIG_USB_KEYBOARD
90f9162b15SAkshay Bhat #define CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP
91f9162b15SAkshay Bhat 
92f9162b15SAkshay Bhat #define CONFIG_CI_UDC
93f9162b15SAkshay Bhat #define CONFIG_USBD_HS
94f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_DUALSPEED
95f9162b15SAkshay Bhat #define CONFIG_USB_GADGET
96f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_DOWNLOAD
97f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_MASS_STORAGE
98f9162b15SAkshay Bhat #define CONFIG_USB_FUNCTION_MASS_STORAGE
99f9162b15SAkshay Bhat #define CONFIG_USB_GADGET_VBUS_DRAW 2
100f9162b15SAkshay Bhat #define CONFIG_G_DNL_VENDOR_NUM   0x0525
101f9162b15SAkshay Bhat #define CONFIG_G_DNL_PRODUCT_NUM  0xa4a5
102f9162b15SAkshay Bhat #define CONFIG_G_DNL_MANUFACTURER "Advantech"
103*fc44902aSAndrew Shadura #endif
104f9162b15SAkshay Bhat 
105f9162b15SAkshay Bhat /* Networking Configs */
106f9162b15SAkshay Bhat #define CONFIG_FEC_MXC
107f9162b15SAkshay Bhat #define CONFIG_MII
108f9162b15SAkshay Bhat #define IMX_FEC_BASE			ENET_BASE_ADDR
109f9162b15SAkshay Bhat #define CONFIG_FEC_XCV_TYPE		RGMII
110f9162b15SAkshay Bhat #define CONFIG_ETHPRIME		"FEC"
111f9162b15SAkshay Bhat #define CONFIG_FEC_MXC_PHYADDR		4
112f9162b15SAkshay Bhat #define CONFIG_PHYLIB
113f9162b15SAkshay Bhat #define CONFIG_PHY_ATHEROS
114f9162b15SAkshay Bhat 
115f9162b15SAkshay Bhat /* Serial Flash */
116f9162b15SAkshay Bhat #ifdef CONFIG_CMD_SF
117f9162b15SAkshay Bhat #define CONFIG_MXC_SPI
118f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_BUS		0
119f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_CS		0
120f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_SPEED	20000000
121f9162b15SAkshay Bhat #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
122f9162b15SAkshay Bhat #endif
123f9162b15SAkshay Bhat 
124f9162b15SAkshay Bhat /* allow to overwrite serial and ethaddr */
125f9162b15SAkshay Bhat #define CONFIG_ENV_OVERWRITE
126f9162b15SAkshay Bhat #define CONFIG_CONS_INDEX	1
127f9162b15SAkshay Bhat #define CONFIG_BAUDRATE	115200
128f9162b15SAkshay Bhat 
129f9162b15SAkshay Bhat /* Command definition */
130f9162b15SAkshay Bhat #define CONFIG_CMD_BMODE
131f9162b15SAkshay Bhat 
132f9162b15SAkshay Bhat #define CONFIG_LOADADDR	0x12000000
133f9162b15SAkshay Bhat #define CONFIG_SYS_TEXT_BASE	0x17800000
134f9162b15SAkshay Bhat 
135f9162b15SAkshay Bhat #define CONFIG_EXTRA_ENV_SETTINGS \
136f9162b15SAkshay Bhat 	"script=boot.scr\0" \
137f9162b15SAkshay Bhat 	"image=/boot/uImage\0" \
138f9162b15SAkshay Bhat 	"uboot=u-boot.imx\0" \
139f9162b15SAkshay Bhat 	"fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
140f9162b15SAkshay Bhat 	"fdt_addr=0x18000000\0" \
141f9162b15SAkshay Bhat 	"boot_fdt=yes\0" \
142f9162b15SAkshay Bhat 	"ip_dyn=yes\0" \
143f9162b15SAkshay Bhat 	"console=" CONFIG_CONSOLE_DEV "\0" \
144f9162b15SAkshay Bhat 	"fdt_high=0xffffffff\0"	  \
145f9162b15SAkshay Bhat 	"initrd_high=0xffffffff\0" \
146f9162b15SAkshay Bhat 	"sddev=0\0" \
147f9162b15SAkshay Bhat 	"emmcdev=1\0" \
148f9162b15SAkshay Bhat 	"partnum=1\0" \
149f9162b15SAkshay Bhat 	"update_sd_firmware=" \
150f9162b15SAkshay Bhat 		"if test ${ip_dyn} = yes; then " \
151f9162b15SAkshay Bhat 			"setenv get_cmd dhcp; " \
152f9162b15SAkshay Bhat 		"else " \
153f9162b15SAkshay Bhat 			"setenv get_cmd tftp; " \
154f9162b15SAkshay Bhat 		"fi; " \
155f9162b15SAkshay Bhat 		"if mmc dev ${mmcdev}; then "	\
156f9162b15SAkshay Bhat 			"if ${get_cmd} ${update_sd_firmware_filename}; then " \
157f9162b15SAkshay Bhat 				"setexpr fw_sz ${filesize} / 0x200; " \
158f9162b15SAkshay Bhat 				"setexpr fw_sz ${fw_sz} + 1; "	\
159f9162b15SAkshay Bhat 				"mmc write ${loadaddr} 0x2 ${fw_sz}; " \
160f9162b15SAkshay Bhat 			"fi; "	\
161f9162b15SAkshay Bhat 		"fi\0" \
162f9162b15SAkshay Bhat 	"update_sf_uboot=" \
163f9162b15SAkshay Bhat 		"if tftp $loadaddr $uboot; then " \
164f9162b15SAkshay Bhat 			"sf probe; " \
165f9162b15SAkshay Bhat 			"sf erase 0 0xC0000; " \
166f9162b15SAkshay Bhat 			"sf write $loadaddr 0x400 $filesize; " \
167f9162b15SAkshay Bhat 			"echo 'U-Boot upgraded. Please reset'; " \
168f9162b15SAkshay Bhat 		"fi\0" \
169f9162b15SAkshay Bhat 	"setargs=setenv bootargs console=${console},${baudrate} " \
170f9162b15SAkshay Bhat 		"root=/dev/${rootdev} rw rootwait cma=128M\0" \
171f9162b15SAkshay Bhat 	"loadbootscript=" \
172f9162b15SAkshay Bhat 		"ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${script};\0" \
173f9162b15SAkshay Bhat 	"bootscript=echo Running bootscript from ${dev}:${devnum}:${partnum};" \
174f9162b15SAkshay Bhat 		" source\0" \
175f9162b15SAkshay Bhat 	"loadimage=" \
176f9162b15SAkshay Bhat 		"ext2load ${dev} ${devnum}:${partnum} ${loadaddr} ${image}\0" \
177f9162b15SAkshay Bhat 	"loadfdt=ext2load ${dev} ${devnum}:${partnum} ${fdt_addr} ${fdt_file}\0" \
178f9162b15SAkshay Bhat 	"tryboot=" \
179f9162b15SAkshay Bhat 		"if run loadbootscript; then " \
180f9162b15SAkshay Bhat 			"run bootscript; " \
181f9162b15SAkshay Bhat 		"else " \
182f9162b15SAkshay Bhat 			"if run loadimage; then " \
183f9162b15SAkshay Bhat 				"run doboot; " \
184f9162b15SAkshay Bhat 			"fi; " \
185f9162b15SAkshay Bhat 		"fi;\0" \
186f9162b15SAkshay Bhat 	"doboot=echo Booting from ${dev}:${devnum}:${partnum} ...; " \
187f9162b15SAkshay Bhat 		"run setargs; " \
188f9162b15SAkshay Bhat 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
189f9162b15SAkshay Bhat 			"if run loadfdt; then " \
190f9162b15SAkshay Bhat 				"bootm ${loadaddr} - ${fdt_addr}; " \
191f9162b15SAkshay Bhat 			"else " \
192f9162b15SAkshay Bhat 				"if test ${boot_fdt} = try; then " \
193f9162b15SAkshay Bhat 					"bootm; " \
194f9162b15SAkshay Bhat 				"else " \
195f9162b15SAkshay Bhat 					"echo WARN: Cannot load the DT; " \
196f9162b15SAkshay Bhat 				"fi; " \
197f9162b15SAkshay Bhat 			"fi; " \
198f9162b15SAkshay Bhat 		"else " \
199f9162b15SAkshay Bhat 			"bootm; " \
200f9162b15SAkshay Bhat 		"fi;\0" \
201f9162b15SAkshay Bhat 	"netargs=setenv bootargs console=${console},${baudrate} " \
202f9162b15SAkshay Bhat 		"root=/dev/nfs " \
203f9162b15SAkshay Bhat 		"ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \
204f9162b15SAkshay Bhat 	"netboot=echo Booting from net ...; " \
205f9162b15SAkshay Bhat 		"run netargs; " \
206f9162b15SAkshay Bhat 		"if test ${ip_dyn} = yes; then " \
207f9162b15SAkshay Bhat 			"setenv get_cmd dhcp; " \
208f9162b15SAkshay Bhat 		"else " \
209f9162b15SAkshay Bhat 			"setenv get_cmd tftp; " \
210f9162b15SAkshay Bhat 		"fi; " \
211f9162b15SAkshay Bhat 		"${get_cmd} ${image}; " \
212f9162b15SAkshay Bhat 		"if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
213f9162b15SAkshay Bhat 			"if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
214f9162b15SAkshay Bhat 				"bootm ${loadaddr} - ${fdt_addr}; " \
215f9162b15SAkshay Bhat 			"else " \
216f9162b15SAkshay Bhat 				"if test ${boot_fdt} = try; then " \
217f9162b15SAkshay Bhat 					"bootm; " \
218f9162b15SAkshay Bhat 				"else " \
219f9162b15SAkshay Bhat 					"echo WARN: Cannot load the DT; " \
220f9162b15SAkshay Bhat 				"fi; " \
221f9162b15SAkshay Bhat 			"fi; " \
222f9162b15SAkshay Bhat 		"else " \
223f9162b15SAkshay Bhat 			"bootm; " \
224f9162b15SAkshay Bhat 		"fi;\0" \
225f9162b15SAkshay Bhat 
226*fc44902aSAndrew Shadura #define CONFIG_MMCBOOTCOMMAND \
227f9162b15SAkshay Bhat 	"setenv dev mmc; " \
228f9162b15SAkshay Bhat 	"setenv rootdev mmcblk0p1; " \
229f9162b15SAkshay Bhat 	\
230f9162b15SAkshay Bhat 	"setenv devnum ${sddev}; " \
231f9162b15SAkshay Bhat 	"if mmc dev ${devnum}; then " \
232f9162b15SAkshay Bhat 		"run tryboot; " \
233f9162b15SAkshay Bhat 		"setenv rootdev mmcblk1p1; " \
234f9162b15SAkshay Bhat 	"fi; " \
235f9162b15SAkshay Bhat 	\
236f9162b15SAkshay Bhat 	"setenv devnum ${emmcdev}; " \
237f9162b15SAkshay Bhat 	"if mmc dev ${devnum}; then " \
238f9162b15SAkshay Bhat 		"run tryboot; " \
239f9162b15SAkshay Bhat 	"fi; " \
240*fc44902aSAndrew Shadura 
241*fc44902aSAndrew Shadura #define CONFIG_USBBOOTCOMMAND \
242*fc44902aSAndrew Shadura 	"usb start; " \
243*fc44902aSAndrew Shadura 	"setenv dev usb; " \
244*fc44902aSAndrew Shadura 	"setenv devnum 0; " \
245*fc44902aSAndrew Shadura 	"setenv rootdev sda1; " \
246*fc44902aSAndrew Shadura 	"run tryboot; " \
247f9162b15SAkshay Bhat 	\
248*fc44902aSAndrew Shadura 	CONFIG_MMCBOOTCOMMAND \
249f9162b15SAkshay Bhat 	"bmode usb; " \
250f9162b15SAkshay Bhat 
251*fc44902aSAndrew Shadura #ifdef CONFIG_CMD_USB
252*fc44902aSAndrew Shadura #define CONFIG_BOOTCOMMAND CONFIG_USBBOOTCOMMAND
253*fc44902aSAndrew Shadura #else
254*fc44902aSAndrew Shadura #define CONFIG_BOOTCOMMAND CONFIG_MMCBOOTCOMMAND
255*fc44902aSAndrew Shadura #endif
256*fc44902aSAndrew Shadura 
257f9162b15SAkshay Bhat #define CONFIG_ARP_TIMEOUT     200UL
258f9162b15SAkshay Bhat 
259f9162b15SAkshay Bhat /* Miscellaneous configurable options */
260f9162b15SAkshay Bhat #define CONFIG_SYS_LONGHELP
261f9162b15SAkshay Bhat #define CONFIG_AUTO_COMPLETE
262f9162b15SAkshay Bhat 
263f9162b15SAkshay Bhat /* Print Buffer Size */
264f9162b15SAkshay Bhat #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
265f9162b15SAkshay Bhat #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE
266f9162b15SAkshay Bhat 
267f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_START       0x10000000
268f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_END         0x10010000
269f9162b15SAkshay Bhat #define CONFIG_SYS_MEMTEST_SCRATCH     0x10800000
270f9162b15SAkshay Bhat 
271f9162b15SAkshay Bhat #define CONFIG_SYS_LOAD_ADDR           CONFIG_LOADADDR
272f9162b15SAkshay Bhat 
273f9162b15SAkshay Bhat #define CONFIG_CMDLINE_EDITING
274f9162b15SAkshay Bhat #define CONFIG_STACKSIZE               (128 * 1024)
275f9162b15SAkshay Bhat 
276f9162b15SAkshay Bhat /* Physical Memory Map */
277f9162b15SAkshay Bhat #define CONFIG_NR_DRAM_BANKS           1
278f9162b15SAkshay Bhat #define PHYS_SDRAM                     MMDC0_ARB_BASE_ADDR
279f9162b15SAkshay Bhat 
280f9162b15SAkshay Bhat #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM
281f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_RAM_ADDR       IRAM_BASE_ADDR
282f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_RAM_SIZE       IRAM_SIZE
283f9162b15SAkshay Bhat 
284f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_SP_OFFSET \
285f9162b15SAkshay Bhat 	(CONFIG_SYS_INIT_RAM_SIZE - GENERATED_GBL_DATA_SIZE)
286f9162b15SAkshay Bhat #define CONFIG_SYS_INIT_SP_ADDR \
287f9162b15SAkshay Bhat 	(CONFIG_SYS_INIT_RAM_ADDR + CONFIG_SYS_INIT_SP_OFFSET)
288f9162b15SAkshay Bhat 
289f9162b15SAkshay Bhat /* FLASH and environment organization */
290f9162b15SAkshay Bhat #define CONFIG_SYS_NO_FLASH
291f9162b15SAkshay Bhat 
292f9162b15SAkshay Bhat #define CONFIG_ENV_IS_IN_SPI_FLASH
293f9162b15SAkshay Bhat #define CONFIG_ENV_SIZE		(8 * 1024)
294f9162b15SAkshay Bhat #define CONFIG_ENV_OFFSET		(768 * 1024)
295f9162b15SAkshay Bhat #define CONFIG_ENV_SECT_SIZE		(64 * 1024)
296f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_BUS		CONFIG_SF_DEFAULT_BUS
297f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_CS		CONFIG_SF_DEFAULT_CS
298f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_MODE		CONFIG_SF_DEFAULT_MODE
299f9162b15SAkshay Bhat #define CONFIG_ENV_SPI_MAX_HZ		CONFIG_SF_DEFAULT_SPEED
300f9162b15SAkshay Bhat 
301f9162b15SAkshay Bhat #ifndef CONFIG_SYS_DCACHE_OFF
302f9162b15SAkshay Bhat #endif
303f9162b15SAkshay Bhat 
304f9162b15SAkshay Bhat #define CONFIG_SYS_FSL_USDHC_NUM	3
305f9162b15SAkshay Bhat 
30607aa030aSAndrew Shadura #define CONFIG_SYS_CONSOLE_IS_IN_ENV
30707aa030aSAndrew Shadura #define CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE
30807aa030aSAndrew Shadura 
309f9162b15SAkshay Bhat /* Framebuffer */
31007aa030aSAndrew Shadura #ifdef CONFIG_VIDEO
311f9162b15SAkshay Bhat #define CONFIG_VIDEO_IPUV3
312f9162b15SAkshay Bhat #define CONFIG_CFB_CONSOLE
313f9162b15SAkshay Bhat #define CONFIG_VGA_AS_SINGLE_DEVICE
314f9162b15SAkshay Bhat #define CONFIG_VIDEO_BMP_RLE8
315f9162b15SAkshay Bhat #define CONFIG_SPLASH_SCREEN
316f9162b15SAkshay Bhat #define CONFIG_SPLASH_SCREEN_ALIGN
317f9162b15SAkshay Bhat #define CONFIG_BMP_16BPP
318f9162b15SAkshay Bhat #define CONFIG_VIDEO_LOGO
319f9162b15SAkshay Bhat #define CONFIG_VIDEO_BMP_LOGO
320f9162b15SAkshay Bhat #define CONFIG_IPUV3_CLK 260000000
321f9162b15SAkshay Bhat #define CONFIG_IMX_HDMI
322f9162b15SAkshay Bhat #define CONFIG_IMX_VIDEO_SKIP
32307aa030aSAndrew Shadura #endif
324f9162b15SAkshay Bhat 
32554971ac6SAkshay Bhat #define CONFIG_PWM_IMX
32654971ac6SAkshay Bhat #define CONFIG_IMX6_PWM_PER_CLK	66000000
32754971ac6SAkshay Bhat 
328f9162b15SAkshay Bhat #undef CONFIG_CMD_PCI
329f9162b15SAkshay Bhat #ifdef CONFIG_CMD_PCI
330f9162b15SAkshay Bhat #define CONFIG_PCI
331f9162b15SAkshay Bhat #define CONFIG_PCI_PNP
332f9162b15SAkshay Bhat #define CONFIG_PCI_SCAN_SHOW
333f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX
334f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX_PERST_GPIO	IMX_GPIO_NR(7, 12)
335f9162b15SAkshay Bhat #define CONFIG_PCIE_IMX_POWER_GPIO	IMX_GPIO_NR(1, 5)
336f9162b15SAkshay Bhat #endif
337f9162b15SAkshay Bhat 
338f9162b15SAkshay Bhat /* I2C Configs */
339f9162b15SAkshay Bhat #define CONFIG_SYS_I2C
340f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC
341f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_SPEED		  100000
342f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C1
343f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C2
344f9162b15SAkshay Bhat #define CONFIG_SYS_I2C_MXC_I2C3
345f9162b15SAkshay Bhat 
346f9162b15SAkshay Bhat #endif	/* __GE_BX50V3_CONFIG_H */
347