mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-09 14:23:28 +09:00
![Adam Ford](/assets/img/avatar_default.png)
Historically there have been various boot options, SPI flash, NAND or NOR. The NOR flash is mutually exclusive with MMC, but it isn't mutually exclusive with NAND or SPI Flash, so this patch enables both NAND flash and SPI Flash when booting from NOR. Signed-off-by: Adam Ford <aford173@gmail.com>
81 lines
2.1 KiB
Plaintext
81 lines
2.1 KiB
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_DAVINCI=y
|
|
CONFIG_SYS_TEXT_BASE=0x60000000
|
|
CONFIG_TARGET_DA850EVM=y
|
|
CONFIG_DA850_LOWLEVEL=y
|
|
CONFIG_TI_COMMON_CMD_OPTIONS=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x800
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_SYS_EXTRA_OPTIONS="USE_NOR,DIRECT_NOR_BOOT"
|
|
CONFIG_BOOTDELAY=3
|
|
CONFIG_USE_BOOTARGS=y
|
|
CONFIG_BOOTARGS="mem=32M console=ttyS2,115200n8 root=/dev/mtdblock2 rw noinitrd ip=dhcp"
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_VERSION_VARIABLE=y
|
|
# CONFIG_DISPLAY_CPUINFO is not set
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_BOARD_EARLY_INIT_F=y
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="U-Boot > "
|
|
# CONFIG_CMD_BOOTZ is not set
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CRC32_VERIFY=y
|
|
CONFIG_CMD_DM=y
|
|
# CONFIG_CMD_GPT is not set
|
|
# CONFIG_CMD_MMC is not set
|
|
CONFIG_CMD_MTD=y
|
|
CONFIG_CMD_NAND=y
|
|
# CONFIG_CMD_PART is not set
|
|
# CONFIG_CMD_SF is not set
|
|
# CONFIG_CMD_SPI is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
# CONFIG_CMD_TIME is not set
|
|
CONFIG_CMD_MTDPARTS=y
|
|
CONFIG_MTDIDS_DEFAULT="nor0=physmap-flash.2,nor1=spi1.0,nand0=nand512"
|
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=physmap-flash.2:1m(u-boot),128k(u-boot-env),-(spare);spi1.0:32k(SPL),480k(u-boot),64k(u-boot-env),7552k(kernel-spare),64k(MAC-Address);nand512:128k(u-boot env),512k(u-boot),128k(spl-os),8m(kernel),-(rootfs)"
|
|
CONFIG_CMD_DIAG=y
|
|
CONFIG_OF_CONTROL=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="da850-evm"
|
|
CONFIG_ENV_IS_IN_FLASH=y
|
|
CONFIG_DM=y
|
|
CONFIG_BLK=y
|
|
CONFIG_DA8XX_GPIO=y
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_DAVINCI=y
|
|
# CONFIG_MMC is not set
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_CFI_DRIVER=y
|
|
CONFIG_SYS_FLASH_USE_BUFFER_WRITE=y
|
|
CONFIG_FLASH_CFI_MTD=y
|
|
CONFIG_SYS_FLASH_PROTECTION=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_NAND=y
|
|
CONFIG_NAND_DAVINCI=y
|
|
CONFIG_DM_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH=y
|
|
CONFIG_SPI_FLASH_STMICRO=y
|
|
CONFIG_SPI_FLASH_WINBOND=y
|
|
CONFIG_SPI_FLASH_MTD=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_MII=y
|
|
CONFIG_DRIVER_TI_EMAC=y
|
|
CONFIG_PHY=y
|
|
CONFIG_PHY_DA8XX_USB=y
|
|
CONFIG_PINCTRL=y
|
|
CONFIG_PINCTRL_SINGLE=y
|
|
CONFIG_SPECIFY_CONSOLE_INDEX=y
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_SYS_NS16550=y
|
|
CONFIG_SPI=y
|
|
CONFIG_DM_SPI=y
|
|
CONFIG_DAVINCI_SPI=y
|
|
CONFIG_USB=y
|
|
CONFIG_DM_USB=y
|
|
CONFIG_USB_OHCI_HCD=y
|
|
CONFIG_USB_OHCI_DA8XX=y
|
|
CONFIG_USB_MUSB_HOST=y
|
|
CONFIG_USB_MUSB_DA8XX=y
|
|
CONFIG_USB_MUSB_PIO_ONLY=y
|
|
CONFIG_USB_STORAGE=y
|