]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
TQM85xx: minor config file cleanup
authorWolfgang Denk <wd@denx.de>
Thu, 14 May 2009 22:16:02 +0000 (00:16 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 9 Jun 2009 21:05:44 +0000 (23:05 +0200)
Remove "saveenv" from "update" definition: the environment is outside
the U-Boot image on TQM85xx and therefor not affected by updates.

Also "beautify" code a bit (vertical alignment).

Signed-off-by: Wolfgang Denk <wd@denx.de>
include/configs/TQM85xx.h

index 26b12f9acff22bfce2e9b2d4bad3749ecd923032..08465010e04f6d3ca618cb60221b6fd2c1b147e8 100644 (file)
 #define        CONFIG_EXTRA_ENV_SETTINGS                                       \
        CONFIG_ENV_BOOTFILE                                             \
        CONFIG_ENV_FDT_FILE                                             \
-       CONFIG_ENV_CONSDEV                                                      \
+       CONFIG_ENV_CONSDEV                                              \
        "netdev=eth0\0"                                                 \
        "nfsargs=setenv bootargs root=/dev/nfs rw "                     \
                "nfsroot=$serverip:$rootpath\0"                         \
        "fdt_addr=ffec0000\0"                                           \
        "kernel_addr=ffd00000\0"                                        \
        "ramdisk_addr=ff800000\0"                                       \
-       CONFIG_ENV_UBOOT                                                        \
+       CONFIG_ENV_UBOOT                                                \
        "load=tftp 100000 $uboot\0"                                     \
        "update=protect off $uboot_addr +$filesize;"                    \
                "erase $uboot_addr +$filesize;"                         \
-               "cp.b 100000 $uboot_addr $filesize;"                    \
-               "setenv filesize;saveenv\0"                             \
+               "cp.b 100000 $uboot_addr $filesize"                     \
        "upd=run load update\0"                                         \
        ""
 #define CONFIG_BOOTCOMMAND     "run flash_self"