mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
arm: powerpc: Tidy up code style for cache functions
Remove the unwanted space before the bracket. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -28,21 +28,25 @@ int icache_status (void)
|
||||
return i;
|
||||
}
|
||||
|
||||
void icache_enable (void) {
|
||||
void icache_enable(void)
|
||||
{
|
||||
MSRSET(0x20);
|
||||
}
|
||||
|
||||
void icache_disable(void) {
|
||||
void icache_disable(void)
|
||||
{
|
||||
/* we are not generate ICACHE size -> flush whole cache */
|
||||
flush_cache(0, 32768);
|
||||
MSRCLR(0x20);
|
||||
}
|
||||
|
||||
void dcache_enable (void) {
|
||||
void dcache_enable(void)
|
||||
{
|
||||
MSRSET(0x80);
|
||||
}
|
||||
|
||||
void dcache_disable(void) {
|
||||
void dcache_disable(void)
|
||||
{
|
||||
#ifdef XILINX_USE_DCACHE
|
||||
flush_cache(0, XILINX_DCACHE_BYTE_SIZE);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user