]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib_ppc: rework the flush_cache
authorDave Liu <daveliu@freescale.com>
Fri, 5 Dec 2008 07:36:14 +0000 (15:36 +0800)
committerWolfgang Denk <wd@denx.de>
Mon, 15 Dec 2008 21:31:39 +0000 (22:31 +0100)
commite39cd81c44740d7355d277ed3d38536cbe1e003d
treedf5c04d382dfae5522f163d3ad3375ec45b5527a
parent63240ba88cd6a220057a0f28e5bf97f5b17ac84b
lib_ppc: rework the flush_cache

- It is possible to miss flush/invalidate the last
  cache line, we fix it at here.
- add the volatile and memory clobber.

They are pointed by Scott Wood.

Signed-off-by: Dave Liu <daveliu@freescale.com>
lib_ppc/cache.c