summaryrefslogtreecommitdiff
path: root/post
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:36 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:14 -0500
commit6cc915b5fb2e3467b20735b112a7463cc77ec3c3 (patch)
tree333c09c4aff924b1913865d5f174e47b37217220 /post
parent62270f4395f86bd5231fcb9c1710e42be7d67d60 (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 'post')
-rw-r--r--post/lib_powerpc/cpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/post/lib_powerpc/cpu.c b/post/lib_powerpc/cpu.c
index 109be38e16..6713039330 100644
--- a/post/lib_powerpc/cpu.c
+++ b/post/lib_powerpc/cpu.c
@@ -57,12 +57,12 @@ ulong cpu_post_makecr (long v)
int cpu_post_test (int flags)
{
- int ic = icache_status ();
+ int ic = icache_status();
int ret = 0;
WATCHDOG_RESET();
if (ic)
- icache_disable ();
+ icache_disable();
if (ret == 0)
ret = cpu_post_test_cmp ();
@@ -110,7 +110,7 @@ int cpu_post_test (int flags)
WATCHDOG_RESET();
if (ic)
- icache_enable ();
+ icache_enable();
WATCHDOG_RESET();