summaryrefslogtreecommitdiff
path: root/include/configs/k2hk_evm.h
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>2014-07-04 15:03:27 +0300
committerTom Rini <trini@ti.com>2014-07-25 15:21:06 -0400
commitc6ac7e3bdc195a7dd39b5bf699deceedb9444c0c (patch)
treed7abb462de60c1fbe2c230d07784ae875708afe7 /include/configs/k2hk_evm.h
parent0e7f2dbac6ead25798f81c9f6d5f80b7666916f6 (diff)
downloadu-boot-c6ac7e3bdc195a7dd39b5bf699deceedb9444c0c.tar.gz
k2hk_evm: add script to automate NAND flash process
Add script to automate NAND flash process. As for now the board has two burn scripts - burn to boot from SPI NOR flash and burn to boot from AEMIF NAND flash, rename burn_uboot script to burn_uboot_spi. Also update README to contain NAND burn U-boot process description. Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Acked-by: Murali Karicheri <m-karicheri2@ti.com>
Diffstat (limited to 'include/configs/k2hk_evm.h')
-rw-r--r--include/configs/k2hk_evm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/k2hk_evm.h b/include/configs/k2hk_evm.h
index 3f877418cd..63e02495e1 100644
--- a/include/configs/k2hk_evm.h
+++ b/include/configs/k2hk_evm.h
@@ -221,8 +221,10 @@
"get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0" \
"get_mon_ubi=ubifsload ${addr_mon} ${name_mon}\0" \
"get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}\0" \
- "burn_uboot=sf probe; sf erase 0 0x100000; " \
+ "burn_uboot_spi=sf probe; sf erase 0 0x100000; " \
"sf write ${addr_uboot} 0 ${filesize}\0" \
+ "burn_uboot_nand=nand erase 0 0x100000; " \
+ "nand write ${addr_uboot} 0 ${filesize}\0" \
"args_all=setenv bootargs console=ttyS0,115200n8 rootwait=1\0" \
"args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \
"root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0" \