diff options
| author | Kim Phillips <kim.phillips@freescale.com> | 2009-02-23 15:42:44 -0600 |
|---|---|---|
| committer | Kim Phillips <kim.phillips@freescale.com> | 2009-02-23 15:42:44 -0600 |
| commit | 741a1ea97335c88747a2de6677b92458d6ada00b (patch) | |
| tree | 83ee5d31a46d2f1132eb0c968874b765704bd7df /common/cmd_bootm.c | |
| parent | 7511835b29f2074ebfa8ea794f0303ec8e49542b (diff) | |
| parent | 32688e572ff96715b41420e9a7f280db6c399b65 (diff) | |
| download | olio-uboot-2014.01-741a1ea97335c88747a2de6677b92458d6ada00b.tar.xz olio-uboot-2014.01-741a1ea97335c88747a2de6677b92458d6ada00b.zip | |
Merge branch 'master' of git://git.denx.de/u-boot
Diffstat (limited to 'common/cmd_bootm.c')
| -rw-r--r-- | common/cmd_bootm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 07f6c6bca..6fdeef49a 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -340,8 +340,10 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress) } else { printf (" Loading %s ... ", type_name); - memmove_wd ((void *)load, - (void *)image_start, image_len, CHUNKSZ); + if (load != image_start) { + memmove_wd ((void *)load, + (void *)image_start, image_len, CHUNKSZ); + } } *load_end = load + image_len; puts("OK\n"); |