01 Apr, 2015

7 commits

  • Since we are always sourcing arch/mips/bmips/Kconfig and there is no
    dependency on BMIPS_GENERIC, we will offer building BMIPS-related DTBs
    while this is not relevant for the other MIPS platforms.

    Signed-off-by: Florian Fainelli
    Cc: linux-mips@linux-mips.org
    Cc: cernekee@gmail.com
    Cc: jaedon.shin@gmail.com
    Patchwork: https://patchwork.linux-mips.org/patch/9603/
    Signed-off-by: Ralf Baechle

    Florian Fainelli
     
  • Most of the supported chips use legacy (non-DT) bootloaders, so they will
    need to select an appropriate builtin DTB at compile time until the
    bootloader is updated. Provide suitable DTS files, and a means to compile
    one of them into the kernel image.

    Signed-off-by: Kevin Cernekee
    Signed-off-by: Jaedon Shin
    Cc: f.fainelli@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8858/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee
     
  • BCM3384/BCM63xx can use the common drivers/irqchip/irq-bcm7120-l2.c for
    this purpose; BCM7xxx will use drivers/irqchip/irq-bcm7038-l1.c. We no
    longer need this code under arch/mips.

    [ralf@linux-mips.org: Fix conflicts.]

    Signed-off-by: Kevin Cernekee
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8853/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee
     
  • A couple of chips require special handling in order to make SMP secondary
    boot and/or exception vectors work correctly. Take care of these in
    setup.c.

    Signed-off-by: Kevin Cernekee
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8852/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee
     
  • There is no "bcm3384" bus so let's just remove it to avoid confusion.

    Signed-off-by: Kevin Cernekee
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8851/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee
     
  • This is a more standardized way of handling DMA remapping, and it is
    suitable for the memory map found on BCM3384.

    Signed-off-by: Kevin Cernekee
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: arnd@arndb.de
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8850/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee
     
  • This platform is configured primarily through device tree, and we can
    reuse the same code to support a bunch of other chips. Change the name
    to reflect this.

    [ralf@linux-mips.org: Fix conflicts with other patches.]

    Signed-off-by: Kevin Cernekee
    Cc: f.fainelli@gmail.com
    Cc: jaedon.shin@gmail.com
    Cc: abrestic@chromium.org
    Cc: tglx@linutronix.de
    Cc: jason@lakedaemon.net
    Cc: jogo@openwrt.org
    Cc: computersforpeace@gmail.com
    Cc: linux-mips@linux-mips.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Patchwork: https://patchwork.linux-mips.org/patch/8838/
    Signed-off-by: Ralf Baechle

    Kevin Cernekee