From: Florian Fainelli Date: Mon, 14 Sep 2015 19:13:44 +0000 (-0700) Subject: ARM: brcmstb: Setup BIU control registers during boot X-Git-Tag: firefly_0821_release~176^2~730^2~12^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c4a8ea9e0698945b182ba1e1063a0981b1f35139;p=firefly-linux-kernel-4.4.55.git ARM: brcmstb: Setup BIU control registers during boot Call brcmstb_biuctrl_init() in brcmstb's init_irq machine descriptor callback since we need to setup the Bus Interface Unit before SMP in particular, but we also need to be able to remap registers. Acked-by: Gregory Fong Signed-off-by: Florian Fainelli --- diff --git a/arch/arm/mach-bcm/brcmstb.c b/arch/arm/mach-bcm/brcmstb.c index 3a60f7ee3f0c..99a67cfb7c0d 100644 --- a/arch/arm/mach-bcm/brcmstb.c +++ b/arch/arm/mach-bcm/brcmstb.c @@ -12,11 +12,19 @@ */ #include +#include #include +#include #include #include +static void __init brcmstb_init_irq(void) +{ + irqchip_init(); + brcmstb_biuctrl_init(); +} + static const char *const brcmstb_match[] __initconst = { "brcm,bcm7445", "brcm,brcmstb", @@ -25,4 +33,5 @@ static const char *const brcmstb_match[] __initconst = { DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)") .dt_compat = brcmstb_match, + .init_irq = brcmstb_init_irq, MACHINE_END