From: Andre Heider Date: Tue, 8 Oct 2019 19:07:43 +0000 (+0200) Subject: sunxi: add SND_SIMPLE_CARD to kernel config X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4943d3f14bafc9b6ff798711b676a089eb1051a4;p=openwrt%2Fstaging%2Fneocturne.git sunxi: add SND_SIMPLE_CARD to kernel config This is required to expose an ALSA card for quite some boards: $ git grep -l simple-audio-card \ arch/arm/boot/dts/sun?i* \ arch/arm64/boot/dts/allwinner/* arch/arm/boot/dts/sun4i-a10-a1000.dts arch/arm/boot/dts/sun5i-gr8-evb.dts arch/arm/boot/dts/sun6i-a31-i7.dts arch/arm/boot/dts/sun6i-a31s-sina31s.dts arch/arm/boot/dts/sun7i-a20-cubietruck.dts arch/arm/boot/dts/sun7i-a20-itead-ibox.dts arch/arm/boot/dts/sun8i-a33-olinuxino.dts arch/arm/boot/dts/sun8i-a33.dtsi arch/arm/boot/dts/sun8i-a83t-cubietruck-plus.dts arch/arm/boot/dts/sun8i-h3-beelink-x2.dts arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts arch/arm64/boot/dts/allwinner/sun50i-a64-orangepi-win.dts arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts arch/arm64/boot/dts/allwinner/sun50i-a64-teres-i.dts arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts The compressed 32bit kernel increases less than 1K: Before: 3230768 zImage After: 3231664 zImage Signed-off-by: Andre Heider --- diff --git a/target/linux/sunxi/config-4.19 b/target/linux/sunxi/config-4.19 index e3ac9f4f2d..1e2ba0520c 100644 --- a/target/linux/sunxi/config-4.19 +++ b/target/linux/sunxi/config-4.19 @@ -496,6 +496,8 @@ CONFIG_SND_COMPRESS_OFFLOAD=y CONFIG_SND_JACK=y CONFIG_SND_JACK_INPUT_DEV=y CONFIG_SND_PCM=y +CONFIG_SND_SIMPLE_CARD=y +CONFIG_SND_SIMPLE_CARD_UTILS=y CONFIG_SND_SOC=y CONFIG_SND_SOC_I2C_AND_SPI=y # CONFIG_SND_SUN4I_I2S is not set diff --git a/target/linux/sunxi/config-5.4 b/target/linux/sunxi/config-5.4 index fa765b31f8..41aca503b5 100644 --- a/target/linux/sunxi/config-5.4 +++ b/target/linux/sunxi/config-5.4 @@ -484,6 +484,8 @@ CONFIG_SND_COMPRESS_OFFLOAD=y CONFIG_SND_JACK=y CONFIG_SND_JACK_INPUT_DEV=y CONFIG_SND_PCM=y +CONFIG_SND_SIMPLE_CARD=y +CONFIG_SND_SIMPLE_CARD_UTILS=y CONFIG_SND_SOC=y CONFIG_SND_SOC_I2C_AND_SPI=y # CONFIG_SND_SUN4I_I2S is not set