mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
44d1b7deeb
The NAND offsets for the kernel and U-Boot were missing. This patch sets up the offsets so the AM3517-EVM can boot from NAND when DIP switches S7:1 and S7:4 are to the OFF position Signed-off-by: Adam Ford <aford173@gmail.com>
53 lines
1.5 KiB
Text
53 lines
1.5 KiB
Text
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_DEFAULT_DEVICE_TREE="am3517-evm"
|
|
CONFIG_DISTRO_DEFAULTS=y
|
|
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_SPL_OF_PLATDATA=y
|
|
# CONFIG_ENV_IS_IN_FAT is not set
|
|
CONFIG_ENV_IS_IN_NAND=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_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
|