1
0
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:
Simon Glass
2019-11-14 12:57:36 -07:00
committed by Tom Rini
parent 62270f4395
commit 6cc915b5fb
6 changed files with 28 additions and 24 deletions

View File

@@ -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