dma.h 448 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Copyright (c) 2015 Zhang, Keguang <[email protected]>
  4. *
  5. * Loongson 1 NAND platform support.
  6. */
  7. #ifndef __ASM_MACH_LOONGSON32_DMA_H
  8. #define __ASM_MACH_LOONGSON32_DMA_H
  9. #define LS1X_DMA_CHANNEL0 0
  10. #define LS1X_DMA_CHANNEL1 1
  11. #define LS1X_DMA_CHANNEL2 2
  12. struct plat_ls1x_dma {
  13. int nr_channels;
  14. };
  15. extern struct plat_ls1x_dma ls1b_dma_pdata;
  16. #endif /* __ASM_MACH_LOONGSON32_DMA_H */