[LEDE-DEV] [PATCH 1/1] at91: kernel configuration

Sandeep Sheriker Mallikarjun sandeepsheriker.mallikarjun at microchip.com
Thu Jan 4 15:14:39 PST 2018


1. enabled DMA controller options
2. Enabled CMA options
3. enabled VFP options
4. Add Atmel SD/MMC Driver

Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
---
 target/linux/at91/sama5/config-default | 43 ++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/target/linux/at91/sama5/config-default b/target/linux/at91/sama5/config-default
index 00d4cf9..736f76b 100644
--- a/target/linux/at91/sama5/config-default
+++ b/target/linux/at91/sama5/config-default
@@ -34,6 +34,7 @@ CONFIG_MMC_SDHCI=y
 CONFIG_MMC_SDHCI_IO_ACCESSORS=y
 CONFIG_MMC_SDHCI_OF_AT91=y
 CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_ATMELMCI=y
 CONFIG_OUTER_CACHE=y
 CONFIG_OUTER_CACHE_SYNC=y
 CONFIG_PINCTRL_AT91PIO4=y
@@ -48,5 +49,47 @@ CONFIG_SOC_SAMA5D3=y
 CONFIG_SOC_SAMA5D4=y
 CONFIG_SOC_SAM_V7=y
 CONFIG_SPLIT_PTLOCK_CPUS=4
+CONFIG_DMA_SHARED_BUFFER=y
+CONFIG_DMA_CMA=y
+CONFIG_SCSI_DMA=y
+CONFIG_VIDEOBUF2_DMA_CONTIG=y
+CONFIG_SND_DMAENGINE_PCM=y
+CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y
+CONFIG_SND_ATMEL_SOC_DMA=y
+CONFIG_SND_ATMEL_SOC_SSC_DMA=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
+CONFIG_AT_HDMAC=y
+CONFIG_AT_XDMAC=y
+CONFIG_HAS_DMA=y
+CONFIG_CMA=y
+# CONFIG_CMA_DEBUG is not set
+CONFIG_CMA_DEBUGFS=y
+CONFIG_CMA_AREAS=7
+CONFIG_DMA_CMA=y
+#
+# Default contiguous memory area size:
+#
+CONFIG_CMA_SIZE_MBYTES=16
+CONFIG_CMA_SIZE_SEL_MBYTES=y
+# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
+# CONFIG_CMA_SIZE_SEL_MIN is not set
+# CONFIG_CMA_SIZE_SEL_MAX is not set
+CONFIG_CMA_ALIGNMENT=8
+
+CONFIG_BCMA_POSSIBLE=y
+# CONFIG_BCMA is not set
+CONFIG_DRM_GEM_CMA_HELPER=y
+CONFIG_DRM_KMS_CMA_HELPER=y
+ONFIG_DST_CACHE=y
+CONFIG_DCACHE_WORD_ACCESS=y
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+CONFIG_KERNEL_MODE_NEON=y
+
 # CONFIG_SWP_EMULATE is not set
 # CONFIG_THUMB2_KERNEL is not set
-- 
2.7.4




More information about the Lede-dev mailing list