@ -119,7 +119,7 @@
# define CONFIG_EXTRA_ENV_SETTINGS \
" script=boot.scr \0 " \
" uimage=u Image\0 " \
" image=z Image\0 " \
" fdt_file= " CONFIG_DEFAULT_FDT_FILE " \0 " \
" fdt_addr=0x18000000 \0 " \
" boot_fdt=try \0 " \
@ -150,22 +150,22 @@
" fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script}; \0 " \
" bootscript=echo Running bootscript from mmc ...; " \
" source \0 " \
" loadu image=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${u image} \0 " \
" loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} \0 " \
" loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} \0 " \
" mmcboot=echo Booting from mmc ...; " \
" run mmcargs; " \
" if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
" if run loadfdt; then " \
" bootm ${loadaddr} - ${fdt_addr}; " \
" bootz ${loadaddr} - ${fdt_addr}; " \
" else " \
" if test ${boot_fdt} = try; then " \
" bootm ; " \
" bootz ; " \
" else " \
" echo WARN: Cannot load the DT; " \
" fi; " \
" fi; " \
" else " \
" bootm ; " \
" bootz ; " \
" fi; \0 " \
" netargs=setenv bootargs console=${console},${baudrate} " \
" root=/dev/nfs " \
@ -177,19 +177,19 @@
" else " \
" setenv get_cmd tftp; " \
" fi; " \
" ${get_cmd} ${u image}; " \
" ${get_cmd} ${image}; " \
" if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
" if ${get_cmd} ${fdt_addr} ${fdt_file}; then " \
" bootm ${loadaddr} - ${fdt_addr}; " \
" bootz ${loadaddr} - ${fdt_addr}; " \
" else " \
" if test ${boot_fdt} = try; then " \
" bootm ; " \
" bootz ; " \
" else " \
" echo WARN: Cannot load the DT; " \
" fi; " \
" fi; " \
" else " \
" bootm ; " \
" bootz ; " \
" fi; \0 "
# define CONFIG_BOOTCOMMAND \
@ -198,7 +198,7 @@
" if run loadbootscript; then " \
" run bootscript; " \
" else " \
" if run loadu image; then " \
" if run loadimage; then " \
" run mmcboot; " \
" else run netboot; " \
" fi; " \