aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorSimon Glass2019-12-28 10:44:57 -0700
committerTom Rini2020-01-17 13:27:28 -0500
commit6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (patch)
treedfcc38b006edd64b9e8a31e7499eb32e55933591 /board
parent35a3f871fcf6a80ff42885782c3ba10d7fc62046 (diff)
common: Move upmconfig() to ppc.h
This file is only used by PowerPC so move it to an arch-specific header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r--board/socrates/socrates.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c
index 5f58b4c21bd..f1dec6c6fae 100644
--- a/board/socrates/socrates.c
+++ b/board/socrates/socrates.c
@@ -165,11 +165,11 @@ void local_bus_init (void)
/* Init UPMA for FPGA access */
out_be32 (&lbc->mamr, 0x44440); /* Use a customer-supplied value */
- upmconfig (UPMA, (uint *)UPMTableA, sizeof(UPMTableA)/sizeof(int));
+ upmconfig(UPMA, (uint *)UPMTableA, sizeof(UPMTableA) / sizeof(int));
/* Init UPMB for Lime controller access */
out_be32 (&lbc->mbmr, 0x444440); /* Use a customer-supplied value */
- upmconfig (UPMB, (uint *)UPMTableB, sizeof(UPMTableB)/sizeof(int));
+ upmconfig(UPMB, (uint *)UPMTableB, sizeof(UPMTableB) / sizeof(int));
}
#ifdef CONFIG_BOARD_EARLY_INIT_R