#include <configs/dhsom.config>

CONFIG_SYS_BOOTCOUNT_SINGLEWORD=y
CONFIG_FIT=y
CONFIG_OF_CONTROL=y
CONFIG_HUSH_PARSER=y
CONFIG_SYS_PROMPT="u-boot=> "

CONFIG_SPL=y
CONFIG_SPL_GPIO=y
CONFIG_SPL_LIBCOMMON_SUPPORT=y
CONFIG_SPL_LIBGENERIC_SUPPORT=y
CONFIG_SPL_MMC=y
CONFIG_SPL_SERIAL=y
CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_WATCHDOG=y
# CONFIG_SPL_DM_SERIAL is not set
# CONFIG_SPL_DM_USB is not set

CONFIG_CMD_DFU=y
CONFIG_CMD_FUSE=y
CONFIG_CMD_SYSBOOT=y

CONFIG_ENV_OVERWRITE=y
CONFIG_ENV_IS_NOWHERE=y
CONFIG_ENV_IS_IN_SPI_FLASH=y
CONFIG_ENV_SECT_SIZE_AUTO=y
CONFIG_ENV_REDUNDANT=y
CONFIG_ENV_RELOC_GD_ENV_ADDR=y

CONFIG_REGMAP=y
CONFIG_SYSCON=y

CONFIG_DM_GPIO=y
CONFIG_GPIO_HOG=y
CONFIG_MXC_GPIO=y

CONFIG_DM_I2C=y
CONFIG_I2C_EEPROM=y
CONFIG_SYS_I2C_EEPROM_ADDR=0x50

CONFIG_LED=y
CONFIG_LED_BLINK=y
CONFIG_LED_GPIO=y

CONFIG_FSL_USDHC=y
CONFIG_PARTITION_TYPE_GUID=y
CONFIG_SUPPORT_EMMC_BOOT=y

CONFIG_IPV6=y
CONFIG_FEC_MXC=y
CONFIG_IP_DEFRAG=y
CONFIG_MII=y
CONFIG_NETCONSOLE=y
CONFIG_NET_RANDOM_ETHADDR=y
CONFIG_PHY_ANEG_TIMEOUT=20000
CONFIG_PHY_MICREL=y
CONFIG_PHY_MICREL_KSZ90X1=y
CONFIG_PROT_TCP_SACK=y
CONFIG_TFTP_TSIZE=y

CONFIG_MTD=y
CONFIG_MTDIDS_DEFAULT="nor0=flash@0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=flash@0:-(sf)"
CONFIG_MXC_SPI=y
CONFIG_DM_SPI=y
CONFIG_DM_SPI_FLASH=y
CONFIG_SPI=y
CONFIG_SPI_FLASH_MTD=y
CONFIG_SPI_FLASH_SFDP_SUPPORT=y
CONFIG_SPI_FLASH_WINBOND=y

CONFIG_PINCTRL=y

CONFIG_DM_REGULATOR=y
CONFIG_DM_REGULATOR_FIXED=y

CONFIG_DM_SERIAL=y
CONFIG_MXC_UART=y

CONFIG_IMX_WATCHDOG=y
CONFIG_SYSRESET=y
CONFIG_SYSRESET_WATCHDOG=y

CONFIG_DM_THERMAL=y
CONFIG_IMX_TMU=y

CONFIG_USB=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_ETHER_ASIX=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="DH electronics"
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_HOST_ETHER=y
CONFIG_USB_STORAGE=y
