From e030c6412c1c6a93302fc43fdcd7f268af970562 Mon Sep 17 00:00:00 2001 From: ElonH Date: Thu, 9 Apr 2020 19:16:32 +0800 Subject: [PATCH 1/2] kernel5.4: missing configuration MTD_SBC_GXX --- target/linux/generic/config-5.4 | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/generic/config-5.4 b/target/linux/generic/config-5.4 index 0293bba497..174a3fb1d5 100644 --- a/target/linux/generic/config-5.4 +++ b/target/linux/generic/config-5.4 @@ -3239,6 +3239,7 @@ CONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1 # CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED is not set # CONFIG_MTD_ROM is not set CONFIG_MTD_ROOTFS_ROOT_DEV=y +# CONFIG_MTD_SBC_GXX is not set # CONFIG_MTD_SLRAM is not set # CONFIG_MTD_SM_COMMON is not set # CONFIG_MTD_SPINAND_MT29F is not set From bfddc0e8b3820a87ad8a6e66a76b0d86bd5b3c55 Mon Sep 17 00:00:00 2001 From: ElonH Date: Thu, 9 Apr 2020 22:49:58 +0800 Subject: [PATCH 2/2] thermal: set tristate as default except mt7621 https://github.com/torvalds/linux/commit/554b3529fe018e74cb5d0d0f476ee793b58b030a previous commit: a7a35df807 --- .../hack-5.4}/999-thermal-tristate.patch | 0 .../linux/ramips/patches-5.4/998-thermal-bool.patch | 11 +++++++++++ 2 files changed, 11 insertions(+) rename target/linux/{x86/patches-5.4 => generic/hack-5.4}/999-thermal-tristate.patch (100%) create mode 100644 target/linux/ramips/patches-5.4/998-thermal-bool.patch diff --git a/target/linux/x86/patches-5.4/999-thermal-tristate.patch b/target/linux/generic/hack-5.4/999-thermal-tristate.patch similarity index 100% rename from target/linux/x86/patches-5.4/999-thermal-tristate.patch rename to target/linux/generic/hack-5.4/999-thermal-tristate.patch diff --git a/target/linux/ramips/patches-5.4/998-thermal-bool.patch b/target/linux/ramips/patches-5.4/998-thermal-bool.patch new file mode 100644 index 0000000000..5d2732ef64 --- /dev/null +++ b/target/linux/ramips/patches-5.4/998-thermal-bool.patch @@ -0,0 +1,11 @@ +--- a/drivers/thermal/Kconfig ++++ b/drivers/thermal/Kconfig +@@ -4,7 +4,7 @@ + # + + menuconfig THERMAL +- tristate "Generic Thermal sysfs driver" ++ bool "Generic Thermal sysfs driver" + help + Generic Thermal Sysfs driver offers a generic mechanism for + thermal management. Usually it's made up of one or more thermal