From cf3364a363bd3a9910cba7c7d4efc5c8a2b4a779 Mon Sep 17 00:00:00 2001 From: Alexey Brodkin Date: Wed, 24 Aug 2016 17:48:10 +0300 Subject: [PATCH] arc770: Update kernel configuration Now when we're switching to FS on SD-card it's necessary to have full stack of MMC block & FC drivers built-in otherwise kernel won't be able to mount FS with needed modules. Also we enable parsing of input parameters passed to the kernel by U-Boot. Otherwise kernel won't know where to look for command line and what's worse device tree blob (we had to disable this by default for cases when kernel is loaded by JTAG and core registers may have undefined state lading to kernel going bonkers). Signed-off-by: Alexey Brodkin --- target/linux/arc770/config-4.4 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/target/linux/arc770/config-4.4 b/target/linux/arc770/config-4.4 index 87fd7e342f2..f484de30be3 100644 --- a/target/linux/arc770/config-4.4 +++ b/target/linux/arc770/config-4.4 @@ -38,18 +38,24 @@ CONFIG_ARC_PAGE_SIZE_8K=y CONFIG_ARC_PLAT_AXS10X=y CONFIG_ARC_PLAT_SIM=y # CONFIG_ARC_PLAT_TB10X is not set -# CONFIG_ARC_UBOOT_SUPPORT is not set +CONFIG_ARC_UBOOT_SUPPORT=y CONFIG_AXS101=y CONFIG_CLKDEV_LOOKUP=y CONFIG_CLONE_BACKWARDS=y CONFIG_COMMON_CLK=y # CONFIG_CPU_BIG_ENDIAN is not set +CONFIG_CRC16=y +CONFIG_CRYPTO_CRC32C=y +CONFIG_CRYPTO_HASH=y +CONFIG_CRYPTO_HASH2=y CONFIG_CRYPTO_RNG2=y CONFIG_CRYPTO_WORKQUEUE=y CONFIG_DTC=y CONFIG_DWMAC_GENERIC=y # CONFIG_DWMAC_SUNXI is not set CONFIG_DW_APB_ICTL=y +CONFIG_EXT4_FS=y +CONFIG_FS_MBCACHE=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_CLOCKEVENTS=y CONFIG_GENERIC_CSUM=y @@ -89,6 +95,7 @@ CONFIG_IRQ_DOMAIN=y CONFIG_IRQ_WORK=y CONFIG_ISA_ARCOMPACT=y # CONFIG_ISA_ARCV2 is not set +CONFIG_JBD2=y CONFIG_KALLSYMS=y CONFIG_LIBFDT=y CONFIG_LINUX_LINK_BASE=0x80000000 @@ -97,6 +104,7 @@ CONFIG_LZO_DECOMPRESS=y CONFIG_MDIO_BOARDINFO=y CONFIG_MFD_SYSCON=y CONFIG_MMC=y +CONFIG_MMC_BLOCK=y CONFIG_MMC_DW=y # CONFIG_MMC_DW_EXYNOS is not set # CONFIG_MMC_DW_K3 is not set -- 2.30.2