mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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 <[email protected]> Cc: Linux-MIPS <[email protected]> Patchwork: https://patchwork.linux-mips.org/patch/6577/ Patchwork: https://patchwork.linux-mips.org/patch/6659/ Signed-off-by: Ralf Baechle <[email protected]>
This commit is contained in:
parent
88e9a93c9d
commit
970e268d6e
12 changed files with 339 additions and 863 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue