[source] at91: refresh kernel config, enable UBI block and DMA

LEDE Commits lede-commits at lists.infradead.org
Sat Oct 14 16:11:47 PDT 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/3b6f9978d32e3922cfd68c811a9b0f41997743bf

commit 3b6f9978d32e3922cfd68c811a9b0f41997743bf
Author: Ben Whitten <ben.whitten at gmail.com>
AuthorDate: Mon Sep 18 13:09:21 2017 +0100

    at91: refresh kernel config, enable UBI block and DMA
    
    The platform generates squashfs images in a UBI block but misses the
    kernel module to be able to mount the block.
    DMA is also enabled to allow systems which include them in the DTS to
    use it.
    
    Signed-off-by: Ben Whitten <ben.whitten at gmail.com>
---
 target/linux/at91/config-4.4 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/target/linux/at91/config-4.4 b/target/linux/at91/config-4.4
index 526ef09..d90f0e7 100644
--- a/target/linux/at91/config-4.4
+++ b/target/linux/at91/config-4.4
@@ -39,6 +39,8 @@ CONFIG_ATMEL_AIC_IRQ=y
 CONFIG_ATMEL_PIT=y
 CONFIG_ATMEL_SDRAMC=y
 # CONFIG_ATMEL_TCLIB is not set
+CONFIG_AT_HDMAC=y
+# CONFIG_AT_XDMAC is not set
 CONFIG_AUTO_ZRELADDR=y
 # CONFIG_BLK_DEV_INITRD is not set
 # CONFIG_CACHE_L2X0 is not set
@@ -76,6 +78,9 @@ CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
 # CONFIG_DEBUG_UART_8250 is not set
 # CONFIG_DEBUG_USER is not set
 CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
+CONFIG_DMADEVICES=y
+CONFIG_DMA_ENGINE=y
+CONFIG_DMA_OF=y
 CONFIG_DTC=y
 CONFIG_EDAC_ATOMIC_SCRUB=y
 CONFIG_EDAC_SUPPORT=y
@@ -181,7 +186,7 @@ CONFIG_MTD_NAND_ECC=y
 CONFIG_MTD_PHYSMAP=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_BEB_LIMIT=20
-# CONFIG_MTD_UBI_BLOCK is not set
+CONFIG_MTD_UBI_BLOCK=y
 # CONFIG_MTD_UBI_FASTMAP is not set
 # CONFIG_MTD_UBI_GLUEBI is not set
 CONFIG_MTD_UBI_WL_THRESHOLD=4096



More information about the lede-commits mailing list