]> git.sur5r.net Git - u-boot/commitdiff
km/common: use u-boot.kwb for u-boot update function on arm
authorHolger Brunck <holger.brunck@keymile.com>
Mon, 4 Jul 2011 22:24:00 +0000 (22:24 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 28 Jul 2011 13:39:44 +0000 (15:39 +0200)
Now we use the standard u-boot make to build the Kirkwood binary.
The output file is u-boot.kwb. So use this name for the tftp
update function to avoid confusion, because this is the binary we
need on Kirkwood.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
cc: Valentin Longchamp <valentin.longchamp@keymile.com>
cc: Heiko Schocher <hs@denx.de>
cc: Wolfgang Denk <wd@denx.de>

include/configs/km/keymile-common.h
include/configs/km/km-powerpc.h
include/configs/km/km_arm.h

index 6a31d265e7b9b4728f1c797655e9d1d99a21f522..d749b2bceaa1bcf54251f0184a275d4c4485d154 100644 (file)
        "stderr=serial\0"                                               \
        "stdin=serial\0"                                                \
        "stdout=serial\0"                                               \
-       "u-boot="xstr(CONFIG_HOSTNAME) "/u-boot.bin\0"                  \
        ""
 #endif /* CONFIG_KM_DEF_ENV */
 
index 4cec57cf3128634a7caa61f1ed0e371675613d9a..7610358d8ea468f20fa56e9b6a0ca3b6cbaa1416 100644 (file)
@@ -75,6 +75,7 @@
                "cramfsload ${fdt_addr_r} "                             \
                "fdt_0x${IVM_BoardId}_0x${IVM_HWKey}.dtb\0"             \
        "fdt_addr_r=" xstr(CONFIG_KM_FDT_ADDR) "\0"                     \
+       "u-boot="xstr(CONFIG_HOSTNAME) "/u-boot.bin\0"                  \
        "update="                                                       \
                "protect off " xstr(BOOTFLASH_START) " +${filesize} && "\
                "erase " xstr(BOOTFLASH_START) "  +${filesize} && "     \
index 23717f4cbd1cbed3547f6a7505f34cb6a485a463..d41fcb760eff32a0eecfe4be48fb38b9de4c1da3 100644 (file)
@@ -74,6 +74,7 @@
 #define CONFIG_KM_DEF_ENV_CPU                                          \
        "boot=bootm ${load_addr_r} - -\0"                               \
        "cramfsloadfdt=true\0"                                          \
+       "u-boot="xstr(CONFIG_HOSTNAME) "/u-boot.kwb\0"                  \
        CONFIG_KM_DEF_ENV_UPDATE                                        \
        ""