MIPS: Alchemy: Unify Devboard support.
This patch merges support for all DB1xxx and PB1xxx boards into a single image, along with a new single defconfig for them. Run-tested on DB1300 and DB1500. Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com> Cc: Linux-MIPS <linux-mips@linux-mips.org> Patchwork: https://patchwork.linux-mips.org/patch/6577/ Patchwork: https://patchwork.linux-mips.org/patch/6659/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Cette révision appartient à :

révisé par
Ralf Baechle

Parent
88e9a93c9d
révision
970e268d6e
@@ -999,6 +999,15 @@ static int __init au1550_spi_init(void)
|
||||
* create memory device with 8 bits dev_devwidth
|
||||
* needed for proper byte ordering to spi fifo
|
||||
*/
|
||||
switch (alchemy_get_cputype()) {
|
||||
case ALCHEMY_CPU_AU1550:
|
||||
case ALCHEMY_CPU_AU1200:
|
||||
case ALCHEMY_CPU_AU1300:
|
||||
break;
|
||||
default:
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
if (usedma) {
|
||||
ddma_memid = au1xxx_ddma_add_device(&au1550_spi_mem_dbdev);
|
||||
if (!ddma_memid)
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur