From 6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:44:57 -0700 Subject: 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 --- board/socrates/socrates.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/socrates') diff --git a/board/socrates/socrates.c b/board/socrates/socrates.c index 5f58b4c21b..f1dec6c6fa 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 -- cgit v1.2.3