summaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/83xx/km83xx.c
diff options
context:
space:
mode:
authorKevin Hao <haokexin@gmail.com>2016-08-23 10:06:58 +0800
committerScott Wood <oss@buserror.net>2016-09-25 02:38:53 -0500
commitfff69fd03d1290297fcd039b07819fafa69ffc0a (patch)
tree313b7936479c70dbfa0104a4a4fceeb206ba58ad /arch/powerpc/platforms/83xx/km83xx.c
parent4d486e0083796b54d5aeddd7a5794f897fca1008 (diff)
powerpc/83xx: factor out the common codes of setup arch functions
Factor out the common codes of setup arch functions to a separate function. It does make no sense to print a board specific info in setup arch functions, so use a more general one. For ASP8347E board, there is no pci device node. So it is safe to invoke mpc83xx_setup_pci() in its setup arch function even there is no such invocation in its original setup arch function. Signed-off-by: Kevin Hao <haokexin@gmail.com> Signed-off-by: Scott Wood <oss@buserror.net>
Diffstat (limited to 'arch/powerpc/platforms/83xx/km83xx.c')
-rw-r--r--arch/powerpc/platforms/83xx/km83xx.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/83xx/km83xx.c b/arch/powerpc/platforms/83xx/km83xx.c
index e7fbd6366abb..d8642a4afc74 100644
--- a/arch/powerpc/platforms/83xx/km83xx.c
+++ b/arch/powerpc/platforms/83xx/km83xx.c
@@ -130,10 +130,7 @@ static void __init mpc83xx_km_setup_arch(void)
struct device_node *np;
#endif
- if (ppc_md.progress)
- ppc_md.progress("kmpbec83xx_setup_arch()", 0);
-
- mpc83xx_setup_pci();
+ mpc83xx_setup_arch();
#ifdef CONFIG_QUICC_ENGINE
np = of_find_node_by_name(NULL, "par_io");