Fix T10 kernel compilation

pull/208/head
Dmitry Ermakov 2022-03-14 11:33:38 +03:00
parent 17b41bb465
commit 6785e09782
1 changed files with 5 additions and 4 deletions
br-ext-chip-ingenic/board/t31/kernel/patches

View File

@ -248344,7 +248344,7 @@ new file mode 100644
index 00000000..ec9dc63f
--- /dev/null
+++ b/arch/mips/xburst/soc-t10/include/mach/jzdma.h
@@ -0,0 +1,250 @@
@@ -0,0 +1,251 @@
+/*
+ * Copyright (C) 2010 Ingenic Semiconductor Inc.
+ *
@ -248556,9 +248556,10 @@ index 00000000..ec9dc63f
+ struct scatterlist *sgl;
+ unsigned long sg_len;
+ unsigned short last_sg;
+#define CYCLIC_ACTIVE (1 << 15)
+#define CYCLIC_POSSIBLE (1 << 14)
+ unsigned short cyclic;
+#define FAKECYCLIC_ACTIVE (1 << 15)
+#define FAKECYCLIC_POSSIBLE (1 << 14)
+#define FAKECYCLIC_IDX 0x3fff
+ unsigned short fake_cyclic;
+ unsigned long tx_dcm_def;
+ unsigned long rx_dcm_def;
+ struct dma_slave_config *config;