summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-06-13 08:50:58 -0400
committerTom Rini <trini@konsulko.com>2016-06-13 08:50:58 -0400
commitfd9102dafea5c6959401d0dbc5293a56d2261878 (patch)
tree5aad4472b833800daab260c94062fbaed2468d39 /common
parenta52142855a1345c233af8bb76fb1ad4d3048e008 (diff)
parentc1631c8a04f53e694dd73bbb987b97eed5188517 (diff)
downloadtalos-obmc-uboot-fd9102dafea5c6959401d0dbc5293a56d2261878.tar.gz
talos-obmc-uboot-fd9102dafea5c6959401d0dbc5293a56d2261878.zip
Merge branch 'master' of git://git.denx.de/u-boot-atmel
Diffstat (limited to 'common')
-rw-r--r--common/bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bootm.c b/common/bootm.c
index 49414142dc..2431019b3f 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -445,7 +445,7 @@ static int bootm_load_os(bootm_headers_t *images, unsigned long *load_end,
bootstage_error(BOOTSTAGE_ID_DECOMP_IMAGE);
return err;
}
- flush_cache(load, *load_end - load);
+ flush_cache(load, ALIGN(*load_end - load, ARCH_DMA_MINALIGN));
debug(" kernel loaded at 0x%08lx, end = 0x%08lx\n", load, *load_end);
bootstage_mark(BOOTSTAGE_ID_KERNEL_LOADED);
OpenPOWER on IntegriCloud