]> git.sur5r.net Git - u-boot/commitdiff
Socrates: Config file cleanup.
authorSergei Poselenov <sposelenov@emcraft.com>
Mon, 26 May 2008 16:16:04 +0000 (18:16 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 27 May 2008 10:51:00 +0000 (12:51 +0200)
Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
include/configs/socrates.h

index 5d37383beef6ee1b3532eb45e439ac9e14ab63e9..6bdef34d161d468a20267564c9041d5e0102d786 100644 (file)
 #undef CONFIG_BOOTARGS         /* the boot command will set bootargs   */
 
 #define        CONFIG_EXTRA_ENV_SETTINGS                                       \
-       "bootfile=/tftpboot/socrates/uImage\0"                          \
+       "bootfile=$hostname/uImage\0"                                   \
        "netdev=eth0\0"                                                 \
        "consdev=ttyS0\0"                                               \
+       "hostname=socrates\0"                                           \
        "nfsargs=setenv bootargs root=/dev/nfs rw "                     \
                "nfsroot=$serverip:$rootpath\0"                         \
        "ramargs=setenv bootargs root=/dev/ram rw\0"                    \
                "tftp ${fdt_addr_r} ${fdt_file}; "                      \
                "run nfsargs addip addcons;"                            \
                "bootm ${kernel_addr_r} - ${fdt_addr_r}\0"              \
-       "fdt_file=socrates/socrates.dtb\0"                                      \
+       "fdt_file=$hostname/socrates.dtb\0"                                     \
        "fdt_addr_r=B00000\0"                                           \
        "fdt_addr=FC1E0000\0"                                           \
        "rootpath=/opt/eldk/ppc_85xx\0"                                 \
        "kernel_addr_r=200000\0"                                        \
        "ramdisk_addr=FC200000\0"                                       \
        "ramdisk_addr_r=400000\0"                                       \
-       "load=tftp 100000 /tftpboot/$hostname/u-boot.bin\0"             \
+       "load=tftp 100000 $hostname/u-boot.bin\0"               \
        "update=protect off fffc0000 ffffffff;era fffc0000 ffffffff;"   \
                "cp.b 100000 fffc0000 40000;"                           \
                "setenv filesize;saveenv\0"                             \