1 /* 2 * Copyright (c) 2015 Zhang, Keguang <keguang.zhang@gmail.com> 3 * 4 * Loongson 1 NAND platform support. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by the 8 * Free Software Foundation; either version 2 of the License, or (at your 9 * option) any later version. 10 */ 11 12 #ifndef __ASM_MACH_LOONGSON32_DMA_H 13 #define __ASM_MACH_LOONGSON32_DMA_H 14 15 #define LS1X_DMA_CHANNEL0 0 16 #define LS1X_DMA_CHANNEL1 1 17 #define LS1X_DMA_CHANNEL2 2 18 19 struct plat_ls1x_dma { 20 int nr_channels; 21 }; 22 23 extern struct plat_ls1x_dma ls1b_dma_pdata; 24 25 #endif /* __ASM_MACH_LOONGSON32_DMA_H */ 26