]> git.sur5r.net Git - u-boot/commit
bootm: Align cache flush end address correctly
authorSimon Glass <sjg@chromium.org>
Thu, 5 May 2016 13:28:07 +0000 (07:28 -0600)
committerAndreas Bießmann <andreas@biessmann.org>
Sun, 12 Jun 2016 21:49:38 +0000 (23:49 +0200)
commitb4d956f6bc0fe6ff9a5776cbce0fe97a344737a3
treecd9de3476a26a2b3a977fcafd03a80cf3fa3edb5
parentb5bd09820c79dc92b3e5fb5be4b47ce22c731443
bootm: Align cache flush end address correctly

Flushing part of the cache should be done on cache boundaries. Trying to
flush part of a cache line is not supported and the request may be ignored
or print warnings.

Adjust the bootm code to align the end address to prevent this problem.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
Tested-on: smartweb, corvus, taurus, axm
Tested-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Andreas Bießmann <andreas@biessmann.org>
common/bootm.c