generic: lzma-loader: fix cache invalidation
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Mar 2016 13:15:09 +0000 (13:15 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 21 Mar 2016 13:15:09 +0000 (13:15 +0000)
commit7743929424efa2d638444e8494cfa747b32a47be
tree8b94973c5cd125e77a30f3e989e49fce87678902
parent0ff7597fcde5d14008f4c4c9290de485d408c679
generic: lzma-loader: fix cache invalidation

The current code only partially invalidates both caches
because the cache size and cache-line size values are
incorrectly passed to the C code.

Fix the assembly code to pass the arguments in the correct
order.

Tested on RB532.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49056 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/image/lzma-loader/src/start.S