summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2018-07-21 18:12:12 -0500
committerTom Rini <trini@konsulko.com>2018-07-24 09:25:23 -0400
commit44d1b7deeb1fb32e631581c82936ca607a6fbfcc (patch)
tree9c373c29ef44105d23933c3c1c17c0577d973fcd /configs
parenta745a3369a5a72974e88221980a56f3e5727c8e2 (diff)
configs: am3517-evm: Setup NAND booting
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/am3517_evm_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/am3517_evm_defconfig b/configs/am3517_evm_defconfig
index 3b8e2900eb..41ab3fd373 100644
--- a/configs/am3517_evm_defconfig
+++ b/configs/am3517_evm_defconfig
@@ -18,6 +18,9 @@ CONFIG_SPL_SYS_MALLOC_SIMPLE=y
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
@@ -37,6 +40,8 @@ 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