diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:36 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:14 -0500 |
commit | 6cc915b5fb2e3467b20735b112a7463cc77ec3c3 (patch) | |
tree | 333c09c4aff924b1913865d5f174e47b37217220 /board/cobra5272 | |
parent | 62270f4395f86bd5231fcb9c1710e42be7d67d60 (diff) |
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>
Diffstat (limited to 'board/cobra5272')
-rw-r--r-- | board/cobra5272/flash.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/board/cobra5272/flash.c b/board/cobra5272/flash.c index e5edc2a040..9bf824889a 100644 --- a/board/cobra5272/flash.c +++ b/board/cobra5272/flash.c @@ -164,8 +164,8 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) * chip is in programming mode. */ - cflag = icache_status (); - icache_disable (); + cflag = icache_status(); + icache_disable(); iflag = disable_interrupts (); printf ("\n"); @@ -237,7 +237,7 @@ int flash_erase (flash_info_t * info, int s_first, int s_last) enable_interrupts (); if (cflag) - icache_enable (); + icache_enable(); return rc; } @@ -267,8 +267,8 @@ static int write_word (flash_info_t * info, ulong dest, ulong data) * chip is in programming mode. */ - cflag = icache_status (); - icache_disable (); + cflag = icache_status(); + icache_disable(); iflag = disable_interrupts (); MEM_FLASH_ADDR1 = CMD_UNLOCK1; @@ -303,7 +303,7 @@ static int write_word (flash_info_t * info, ulong dest, ulong data) enable_interrupts (); if (cflag) - icache_enable (); + icache_enable(); return rc; } |