summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Waters <justin.waters@timesys.com>2012-04-18 16:27:58 -0400
committerJustin Waters <justin.waters@timesys.com>2012-04-18 16:27:58 -0400
commit1341f103ac87882633b019a5a137056818234248 (patch)
tree088006a2be951720af91d911b4a05dd423d61f05
parent4f60d7e7027af17ceffc1a38e6dbe4e3e95c71ec (diff)
u-boot-2011.06-omap3logic-BSP-2.0-5p1-default-env
-rw-r--r--include/configs/omap3logic.h26
1 files changed, 22 insertions, 4 deletions
diff --git a/include/configs/omap3logic.h b/include/configs/omap3logic.h
index 1aaf292089..f797cbcce7 100644
--- a/include/configs/omap3logic.h
+++ b/include/configs/omap3logic.h
@@ -386,8 +386,8 @@
"echo \"\"; " \
"setenv bootm_arg1 ${loadaddr};" \
"else if test $kernel_location = 'tftp'; then " \
- "echo \"== Loading kernel file $kernelimage to $loadaddr ==\"; " \
- "tftpboot $loadaddr $kernelimage; " \
+ "echo \"== Loading kernel file $tftpdir$kernelimage to $loadaddr ==\"; " \
+ "tftpboot $loadaddr $tftpdir$kernelimage; " \
"echo \"\"; " \
"setenv bootm_arg1 ${loadaddr};" \
"else "\
@@ -403,8 +403,8 @@
"echo \"\"; " \
"setenv bootm_arg2 ${ramdiskaddr}; " \
"else if test $rootfs_location = 'tftp'; then " \
- "echo \"== Loading rootfs file $ramdiskimage to $ramdiskaddr ==\"; " \
- "tftpboot $ramdiskaddr $ramdiskimage;" \
+ "echo \"== Loading rootfs file $tftpdir$ramdiskimage to $ramdiskaddr ==\"; " \
+ "tftpboot $ramdiskaddr $tftpdir$ramdiskimage;" \
"echo \"\"; " \
"setenv bootm_arg2 ${ramdiskaddr}; " \
"else if test $rootfs_location = '/dev'; then " \
@@ -473,9 +473,27 @@
" run set_rootfs_type; " \
" run dump_bootargs; " \
" run dump_run_bootm; " \
+ "nfsboot=" \
+ " setenv kernel_location tftp; " \
+ " setenv rootfs_location nfs; " \
+ " setenv rootfs_type nfs; " \
+ " run defaultboot; " \
+ "\0" \
+ "mtdboot=" \
+ " setenv kernel_location mmc; " \
+ " setenv rootfs_location mmc; " \
+ " setenv rootfs_type ramdisk; " \
+ " run defaultboot; " \
+ "\0" \
+ "ramboot=" \
+ " setenv kernel_location tftp; " \
+ " setenv rootfs_location tftp; " \
+ " setenv rootfs_type ramdisk; " \
+ " run defaultboot; " \
"\0"
+
#define CONFIG_AUTO_COMPLETE 1
/*
* Miscellaneous configurable options