-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3072d65
commit 5ae46c7
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
recipes-kernel/kernel-modules/akida-pcie-driver/0002-Force-32bit-PCIe-accesses.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/Makefile b/Makefile | ||
index 7b0921b..d35d276 100644 | ||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -58,6 +58,11 @@ ifeq ($(CONFIG_ARCH_BCM2835),y) | ||
ccflags-y += -DAKIDA_DW_EDMA_FORCE_32BIT | ||
endif | ||
|
||
+ifeq ($(CONFIG_SOC_IMX8M),y) | ||
+# Kernel built to support a i.MX8M -> Force 32bit PCIe accesses | ||
+ccflags-y += -DAKIDA_DW_EDMA_FORCE_32BIT | ||
+endif | ||
+ | ||
obj-m := akida-pcie.o | ||
|
||
akida-pcie-y += akida-pcie-core.o |