bootm: Align cache flush end address correctly
authorSimon Glass <[email protected]>
Thu, 5 May 2016 13:28:07 +0000 (07:28 -0600)
committerAndreas Bießmann <[email protected]>
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 <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Tested-on: smartweb, corvus, taurus, axm
Tested-by: Heiko Schocher <[email protected]>
Reviewed-by: Joe Hershberger <[email protected]>
Reviewed-by: Andreas Bießmann <[email protected]>
common/bootm.c