From 293de84e8acf89cb670d2e16922f7517a7cf6c78 Mon Sep 17 00:00:00 2001 From: Olli Date: Fri, 5 Mar 2021 23:09:04 +0100 Subject: [PATCH] Removed b53 fixup --- build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sh b/build.sh index 9f91dcc2..45a48674 100755 --- a/build.sh +++ b/build.sh @@ -247,6 +247,14 @@ if [ "$OMR_TARGET" = "bpi-r1" ]; then echo "CONFIG_${i}=y" >> "$OMR_TARGET/source/target/linux/sunxi/cortexa7/config-5.4" done echo "done" + else + # Remove swconfig parts + echo -n "Removing unneeded B53 swconfig parts from kernel 5.4..." + for i in SWCONFIG_B53_PHY_FIXUP SWCONFIG_B53_SPI_DRIVER SWCONFIG_B53_MMAP_DRIVER SWCONFIG_B53_SRAB_DRIVER; do + sed -i "s/CONFIG_${i}/# CONFIG_${i} is not set/" "$OMR_TARGET/source/target/linux/sunxi/config-5.4" + sed -i "s/CONFIG_${i}/# CONFIG_${i} is not set/" "$OMR_TARGET/source/target/linux/sunxi/cortexa7/config-5.4" + done + echo "done" fi # Add led support