cmd_cache: use cache/invalidate functions available in common.h
authorStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Mon, 31 Oct 2011 18:21:12 +0000 (18:21 +0000)
committerWolfgang Denk <wd@denx.de>
Tue, 6 Mar 2012 21:12:54 +0000 (22:12 +0100)
commit23498935faa59922c90f636e1ce8364510803819
tree00cb71bb2b6a2547bc5e5952befe9cf5dced582f
parent1064d980be0f55af0eb6e52050aa6ee4b500c3d6
cmd_cache: use cache/invalidate functions available in common.h

flush_dcache()/flush_icache() aren't defined in common.h,
flush_dcache_all()/invalidate_icache_all() however are.

Let the icache and dcache commands use those instead.

Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Acked-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_cache.c