summaryrefslogtreecommitdiff
path: root/lib_ppc/bat_rw.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2009-02-06 14:08:06 (GMT)
committerWolfgang Denk <wd@denx.de>2009-02-09 23:47:18 (GMT)
commitbced7ccefa08512c54a6d146658ff7dbc33d5dfe (patch)
tree0f87a4b5540da1d8f3f9c732960699a11cba0337 /lib_ppc/bat_rw.c
parent87c9063963561d3d01064be34d0c30855a56587b (diff)
downloadu-boot-fsl-qoriq-bced7ccefa08512c54a6d146658ff7dbc33d5dfe.tar.xz
ppc: Fix roll over bug in flush_cache()
If we call flush_cache(0xfffff000, 0x1000) it would never terminate the loop since end = 0xffffffff and we'd roll over our counter from 0xfffffe0 to 0 (assuming a 32-byte cache line) Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'lib_ppc/bat_rw.c')
0 files changed, 0 insertions, 0 deletions