summaryrefslogtreecommitdiff
path: root/include/configs/socfpga_sockit.h
diff options
context:
space:
mode:
authorChin Liang See <clsee@altera.com>2015-12-22 15:32:41 +0800
committerMarek Vasut <marex@denx.de>2015-12-22 21:30:01 +0100
commit5abbdfadbe8ded75e240de693794c96e214b561b (patch)
tree75126556d6bc361d8bde9b02e9595b059ddd8a8e /include/configs/socfpga_sockit.h
parentd6d55cdeca49dc37e41b080e0a34431424925e88 (diff)
downloadu-boot-5abbdfadbe8ded75e240de693794c96e214b561b.tar.gz
arm: socfpga: sockit: Update qspiboot to use UBIFS
Update the qspiboot console command to use UBIFS instead of old jffs2 file system. Signed-off-by: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Dinh Nguyen <dinh.linux@gmail.com> Cc: Pavel Machek <pavel@denx.de> Cc: Marek Vasut <marex@denx.de> Cc: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/socfpga_sockit.h')
-rw-r--r--include/configs/socfpga_sockit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/socfpga_sockit.h b/include/configs/socfpga_sockit.h
index 39f0b09826..95e7ba61ce 100644
--- a/include/configs/socfpga_sockit.h
+++ b/include/configs/socfpga_sockit.h
@@ -67,6 +67,9 @@
"load mmc 0:1 ${loadaddr} ${bootimage};" \
"load mmc 0:1 ${fdt_addr} ${fdtimage}\0" \
"qspiload=sf probe && mtdparts default && run ubiload\0" \
+ "qspiboot=setenv bootargs " CONFIG_BOOTARGS \
+ " ubi.mtd=1,64 root=ubi0:rootfs rw rootfstype=ubifs;"\
+ "bootz ${loadaddr} - ${fdt_addr}\0" \
"ubiload=ubi part UBI && ubifsmount ubi0 && " \
"ubifsload ${loadaddr} /boot/${bootimage} && " \
"ubifsload ${fdt_addr} /boot/${fdtimage}\0"