summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/configs/igep0046.h69
1 files changed, 67 insertions, 2 deletions
diff --git a/include/configs/igep0046.h b/include/configs/igep0046.h
index 9154a6d..9d33b9f 100644
--- a/include/configs/igep0046.h
+++ b/include/configs/igep0046.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2016 ISEE 2007 SL - http://www.isee.biz
*
- * Configuration settings for the IGEP0046 board
+ * Header file for IGEP0046 board
*
* Author: Jose Miguel Sanchez Sanabria <jsanabria@iseebcn.com>
*
@@ -13,6 +13,9 @@
#include "mx6_common.h"
+/* CPU */
+#define CONFIG_IMX_THERMAL
+
/* GPIO */
#define CONFIG_MXC_GPIO
@@ -52,7 +55,7 @@
/* Miscellaneous configurable options */
#define CONFIG_AUTOBOOT_KEYED
-#define CONFIG_AUTOBOOT_PROMPT "Press ESC to abort autoboot in %d seconds\n", bootdelay
+#define CONFIG_AUTOBOOT_PROMPT "Press ESC to abort autoboot in 3 seconds\n"
#define CONFIG_AUTOBOOT_STOP_STR "\x1b"
#define CONFIG_SYS_LONGHELP
#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
@@ -78,12 +81,74 @@
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
/* MMC Configs */
+#define CONFIG_CMD_MMC
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_EXT4
+#define CONFIG_CMD_EXT4_WRITE
+#define CONFIG_CMD_FAT
+#define CONFIG_MMCROOT "/dev/mmcblk0p2"
#define CONFIG_FSL_ESDHC
#define CONFIG_FSL_USDHC
#define CONFIG_SYS_FSL_ESDHC_ADDR 0
#define CONFIG_SYS_FSL_USDHC_NUM 2
#define CONFIG_DOS_PARTITION
+#define CONFIG_SUPPORT_EMMC_BOOT /* eMMC specific */
+#define CONFIG_BOUNCE_BUFFER
+#define CONFIG_FAT_WRITE
+
+/* EEPROM Configs */
+#define CONFIG_IGEP0046_CFG_EEPROM
+#define CONFIG_SYS_I2C_IGEP0046_CFG_BUS_NUM 2
+#define CONFIG_SYS_I2C_IGEP0046_CFG_BUS_ADDR 0x50
+
+/* NET Configs */
+#define CONFIG_ENV_OVERWRITE /* To allow write MAC into ethaddr variable */
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_MII
+#define CONFIG_FEC_MXC
+#define CONFIG_MII
+#define IMX_FEC_BASE ENET_BASE_ADDR
+#define CONFIG_FEC_XCV_TYPE RGMII
+#define CONFIG_ETHPRIME "FEC"
+#define CONFIG_FEC_MXC_PHYADDR 1
+#define CONFIG_PHYLIB
+#define CONFIG_PHY_MARVELL
+
+/* USB Configs */
+/* Host */
+#define CONFIG_USB
+#define CONFIG_CMD_USB /* Enable USB Commands */
+#define CONFIG_USB_EHCI /* EHCI driver */
+#define CONFIG_USB_EHCI_MX6 /* iMX6 EHCI driver */
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET /* OTG Core Init after Reset*/
+#define CONFIG_USB_HOST_ETHER /* USB Ethernet support */
+#define CONFIG_USB_ETHER_ASIX /* USB Ethernet support hardware adapter */
+#define CONFIG_USB_KEYBOARD /* USB Keyboard support */
+#define CONFIG_USB_STORAGE /* USB Storage support */
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) /* MACRO non-ehci registers in the FSL SOC USB controller */
+#define CONFIG_MXC_USB_FLAGS 0 /* MXC Flag for ehci_hcd_init ?? */
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2 /* Enabled USB controller number (core 0 + core 1) */
+
+/* Device */
+#define CONFIG_CI_UDC /* USB ChipIdea Device driver */
+#define CONFIG_USBD_HS /* USB Device High speed support */
+#define CONFIG_USB_GADGET /* USB Device Gadget Layer support */
+#define CONFIG_USB_GADGET_DUALSPEED /* USB Device High speed support Ethernet */
+#define CONFIG_USB_FUNCTION_MASS_STORAGE /* USB Device Mass Storage support */
+#define CONFIG_CMD_USB_MASS_STORAGE /* USB CMD Mass Storage suppor */
+#define CONFIG_USB_GADGET_DOWNLOAD /* USB Download Gadget support */
+#define CONFIG_USB_GADGET_VBUS_DRAW 2 /* Maximum VBUS power usage (2-500 mA) */
+#define CONFIG_G_DNL_VENDOR_NUM 0x0525 /* Vendor ID of USB Device */
+#define CONFIG_G_DNL_PRODUCT_NUM 0xa4a5 /* Product ID of USB Device */
+#define CONFIG_G_DNL_MANUFACTURER "FSL" /* Manufacturer of USB Device */
+
+/* Environment */
+#define CONFIG_ENV_SIZE (8 * 1024)
+#define CONFIG_ENV_IS_IN_MMC
+
+
#endif /* __IGEP0046_CONFIG_H */