MIPS: BCM63XX: Add support for bcm6368 CPU.
Signed-off-by: Maxime Bizon <mbizon@freebox.fr> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2892/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
committed by
Ralf Baechle
parent
6224892c81
commit
04712f3ff6
@@ -99,7 +99,7 @@ static int __init bcm63xx_pci_init(void)
|
||||
unsigned int mem_size;
|
||||
u32 val;
|
||||
|
||||
if (!BCMCPU_IS_6348() && !BCMCPU_IS_6358())
|
||||
if (!BCMCPU_IS_6348() && !BCMCPU_IS_6358() && !BCMCPU_IS_6368())
|
||||
return -ENODEV;
|
||||
|
||||
if (!bcm63xx_pci_enabled)
|
||||
@@ -159,7 +159,7 @@ static int __init bcm63xx_pci_init(void)
|
||||
/* setup PCI to local bus access, used by PCI device to target
|
||||
* local RAM while bus mastering */
|
||||
bcm63xx_int_cfg_writel(0, PCI_BASE_ADDRESS_3);
|
||||
if (BCMCPU_IS_6358())
|
||||
if (BCMCPU_IS_6358() || BCMCPU_IS_6368())
|
||||
val = MPI_SP0_REMAP_ENABLE_MASK;
|
||||
else
|
||||
val = 0;
|
||||
|
Reference in New Issue
Block a user