From eb5f0e35077189adf241174b8c8c9ba06ce341cb Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Wed, 2 Oct 2024 14:42:43 -0700 Subject: [PATCH] apm821xx: run make kernel_oldconfig Adjusts the default config to modern kernels. Signed-off-by: Rosen Penev Link: https://github.com/openwrt/openwrt/pull/16580 Signed-off-by: Robert Marko --- target/linux/apm821xx/config-6.6 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/target/linux/apm821xx/config-6.6 b/target/linux/apm821xx/config-6.6 index 8814e5bdca..23342e78aa 100644 --- a/target/linux/apm821xx/config-6.6 +++ b/target/linux/apm821xx/config-6.6 @@ -34,6 +34,8 @@ CONFIG_BOOKE=y CONFIG_BOOKE_OR_40x=y CONFIG_BOOKE_WDT=y # CONFIG_CANYONLANDS is not set +CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5" +CONFIG_CC_NO_ARRAY_BOUNDS=y CONFIG_CLONE_BACKWARDS=y CONFIG_CMDLINE="rootfstype=squashfs noinitrd" CONFIG_CMDLINE_FROM_BOOTLOADER=y @@ -41,9 +43,8 @@ CONFIG_COMMON_CLK=y CONFIG_COMPACT_UNEVICTABLE_DEFAULT=1 CONFIG_COMPAT_32BIT_TIME=y CONFIG_CPU_BIG_ENDIAN=y +CONFIG_CPU_MITIGATIONS=y CONFIG_CRC16=y -# CONFIG_CRC32_SARWATE is not set -CONFIG_CRC32_SLICEBY8=y CONFIG_CRYPTO_DEFLATE=y CONFIG_CRYPTO_JITTERENTROPY=y CONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=y @@ -58,6 +59,7 @@ CONFIG_CRYPTO_RNG2=y # CONFIG_CRYPTO_SHA1_PPC is not set CONFIG_CRYPTO_SHA3=y CONFIG_DATA_SHIFT=12 +CONFIG_DEBUG_INFO=y CONFIG_DMADEVICES=y CONFIG_DMA_DIRECT_REMAP=y CONFIG_DMA_ENGINE=y @@ -73,6 +75,7 @@ CONFIG_EDAC_SUPPORT=y CONFIG_EXCLUSIVE_SYSTEM_RAM=y CONFIG_EXTRA_TARGETS="uImage" CONFIG_FIXED_PHY=y +CONFIG_FORCE_NR_CPUS=y CONFIG_FORCE_PCI=y # CONFIG_FSL_LBC is not set CONFIG_FS_IOMAP=y @@ -80,6 +83,7 @@ CONFIG_FUNCTION_ALIGNMENT=0 CONFIG_FWNODE_MDIO=y CONFIG_FW_LOADER_PAGED_BUF=y CONFIG_FW_LOADER_SYSFS=y +CONFIG_GCC10_NO_ARRAY_BOUNDS=y CONFIG_GENERIC_ALLOCATOR=y CONFIG_GENERIC_ATOMIC64=y CONFIG_GENERIC_BUG=y @@ -167,6 +171,7 @@ CONFIG_NR_CPUS=1 CONFIG_NR_IRQS=512 CONFIG_NVMEM=y CONFIG_NVMEM_LAYOUTS=y +CONFIG_NVMEM_LAYOUT_U_BOOT_ENV=y CONFIG_NVMEM_SYSFS=y CONFIG_NVMEM_U_BOOT_ENV=y CONFIG_OF=y @@ -185,7 +190,6 @@ CONFIG_PAGE_OFFSET=0xc0000000 CONFIG_PAGE_POOL=y CONFIG_PAGE_SIZE_LESS_THAN_256KB=y CONFIG_PAGE_SIZE_LESS_THAN_64KB=y -CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y CONFIG_PCI=y CONFIG_PCIEAER=y CONFIG_PCIEPORTBUS=y @@ -241,14 +245,14 @@ CONFIG_RSEQ=y # CONFIG_SAM440EP is not set # CONFIG_SCOM_DEBUGFS is not set # CONFIG_SEQUOIA is not set -# CONFIG_SERIAL_8250_FSL is not set +CONFIG_SERIAL_8250_FSL=y CONFIG_SERIAL_MCTRL_GPIO=y CONFIG_SERIAL_OF_PLATFORM=y CONFIG_SGL_ALLOC=y -# CONFIG_SMT_NUM_THREADS_DYNAMIC is not set +CONFIG_SMT_NUM_THREADS_DYNAMIC=y CONFIG_SOFTIRQ_ON_OWN_STACK=y CONFIG_SPARSE_IRQ=y -# CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU is not set +CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU=y # CONFIG_STATIC_CALL_SELFTEST is not set CONFIG_SWPHY=y CONFIG_SYSCTL_EXCEPTION_TRACE=y -- 2.30.2