mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Adam Ford](/assets/img/avatar_default.png)
With DM_I2C and DM_GPIO working, this patch can enable the GPIO expander on the I2C bus. This GPIO expander is connected to some of the DIP switches and can now read the status of these pins. Signed-off-by: Adam Ford <aford173@gmail.com>
61 lines
1.6 KiB
Plaintext
61 lines
1.6 KiB
Plaintext
CONFIG_ARM=y
|
|
# CONFIG_SYS_THUMB_BUILD is not set
|
|
CONFIG_ARCH_OMAP2PLUS=y
|
|
CONFIG_SYS_TEXT_BASE=0x80100000
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
# CONFIG_SPL_GPIO_SUPPORT is not set
|
|
CONFIG_SYS_MALLOC_F_LEN=0x2000
|
|
CONFIG_TARGET_AM3517_EVM=y
|
|
CONFIG_EMIF4=y
|
|
CONFIG_SPL=y
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
CONFIG_NR_DRAM_BANKS=2
|
|
CONFIG_BOOTDELAY=10
|
|
# CONFIG_USE_BOOTCOMMAND is not set
|
|
CONFIG_VERSION_VARIABLE=y
|
|
CONFIG_SPL_SYS_MALLOC_SIMPLE=y
|
|
# CONFIG_SPL_EXT_SUPPORT is not set
|
|
CONFIG_SPL_MTD_SUPPORT=y
|
|
CONFIG_SYS_PROMPT="AM3517_EVM # "
|
|
# CONFIG_CMD_IMI is not set
|
|
CONFIG_CMD_SPL=y
|
|
CONFIG_CMD_SPL_NAND_OFS=0xaa0000
|
|
CONFIG_CMD_SPL_WRITE_SIZE=0x20000
|
|
# CONFIG_CMD_EEPROM is not set
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_GPT is not set
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_SPI is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_CMD_CACHE=y
|
|
# CONFIG_CMD_TIME is not set
|
|
CONFIG_MTDIDS_DEFAULT="nand0=omap2-nand.0"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=omap2-nand.0:512k(MLO),1920k(u-boot),256k(u-boot-env),8m(kernel),512k(dtb),-(rootfs)"
|
|
CONFIG_CMD_UBI=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_SPL_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="am3517-evm"
|
|
CONFIG_SPL_OF_PLATDATA=y
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=y
|
|
CONFIG_DM_PCA953X=y
|
|
CONFIG_MMC_OMAP_HS=y
|
|
CONFIG_NAND=y
|
|
CONFIG_SYS_NAND_BUSWIDTH_16BIT=y
|
|
CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
|
|
CONFIG_SYS_NAND_U_BOOT_OFFS=0x80000
|
|
CONFIG_SPL_NAND_SIMPLE=y
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_EMAC=y
|
|
# CONFIG_TWL4030_POWER is not set
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_CONS_INDEX=3
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_AM35X=y
|
|
CONFIG_BCH=y
|
|
# CONFIG_SPL_OF_LIBFDT is not set
|