From: Ben Whitten Date: Mon, 18 Sep 2017 12:09:21 +0000 (+0100) Subject: at91: refresh kernel config, enable UBI block and DMA X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3b6f9978d32e3922cfd68c811a9b0f41997743bf;p=openwrt%2Fstaging%2Fdedeckeh.git 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 --- diff --git a/target/linux/at91/config-4.4 b/target/linux/at91/config-4.4 index 526ef0923e..d90f0e7176 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