summaryrefslogtreecommitdiffstats
path: root/lib_ppc/cache.c
Commit message (Collapse)AuthorAgeFilesLines
* ppc: Fix roll over bug in flush_cache()Kumar Gala2009-02-101-2/+4
| | | | | | | | 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>
* lib_ppc: rework the flush_cacheDave Liu2008-12-151-19/+17
| | | | | | | | | | - 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>
* rename CFG_ macros to CONFIG_SYSJean-Christophe PLAGNIOL-VILLARD2008-10-181-4/+4
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* ppc flush_cache: add watch-dog triggering into the loops.Yuri Tikhonov2008-04-291-0/+3
| | | | | | | | | | Some boards (e.g. lwmon5) need rather a frequent watch-dog kicking. Since the time it takes for the flush_cache() function to complete its job depends on the size of data being flushed, one may encounter watch-dog resets on such boards when, for example, download big files over ethernet. Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
* ppc4xx: Rework 4xx cache supportStefan Roese2007-10-311-1/+1
| | | | | | | New cache handling functions added and all existing functions moved from start.S into seperate cache.S. Signed-off-by: Stefan Roese <sr@denx.de>
* * Patch by Martin Winistoerfer, 23 Mar 2003wdenk2003-03-311-0/+3
| | | | | | | | | - Add port to MPC555/556 microcontrollers - Add support for cmi customer board with Intel 28F128J3A, 28F320J3A or 28F640J3A flash. * Patch by Rick Bronson, 28 Mar 2003: - fix common/cmd_nand.c
* Initial revisionwdenk2002-08-171-0/+47
OpenPOWER on IntegriCloud