From da529d54107b1c1fe281274c723ea4789838c54b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
Date: Sat, 15 Apr 2017 08:21:50 +0200
Subject: [PATCH] brcm2708: disable CONFIG_BCM2835_THERMAL by default
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

This fixes:
  Thermal sensors on bcm2835 SoC (BCM2835_THERMAL) [N/m/y/?] (NEW) aborted!

This symbol depends on ARCH_BCM2835 so it should be OK to disable it at
brcm2708 target only.

Fixes: 7d32caa61fb0 ("brcm2708: backport upstream sdhost controller driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
---
 target/linux/brcm2708/bcm2708/config-4.9 | 1 +
 target/linux/brcm2708/bcm2709/config-4.9 | 1 +
 target/linux/brcm2708/bcm2710/config-4.9 | 1 +
 3 files changed, 3 insertions(+)

diff --git a/target/linux/brcm2708/bcm2708/config-4.9 b/target/linux/brcm2708/bcm2708/config-4.9
index c1bed074c3..96d8735b4d 100644
--- a/target/linux/brcm2708/bcm2708/config-4.9
+++ b/target/linux/brcm2708/bcm2708/config-4.9
@@ -45,6 +45,7 @@ CONFIG_BCM2708_VCMEM=y
 CONFIG_BCM2835_FAST_MEMCPY=y
 CONFIG_BCM2835_MBOX=y
 # CONFIG_BCM2835_SMI is not set
+# CONFIG_BCM2835_THERMAL is not set
 CONFIG_BCM2835_TIMER=y
 CONFIG_BCM2835_WDT=y
 CONFIG_BCM_VCIO=y
diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9
index 0c9adec710..0d5f326a06 100644
--- a/target/linux/brcm2708/bcm2709/config-4.9
+++ b/target/linux/brcm2708/bcm2709/config-4.9
@@ -52,6 +52,7 @@ CONFIG_BCM2708_VCMEM=y
 # CONFIG_BCM2835_DEVGPIOMEM is not set
 CONFIG_BCM2835_MBOX=y
 # CONFIG_BCM2835_SMI is not set
+# CONFIG_BCM2835_THERMAL is not set
 CONFIG_BCM2835_TIMER=y
 CONFIG_BCM2835_WDT=y
 CONFIG_BCM_VCIO=y
diff --git a/target/linux/brcm2708/bcm2710/config-4.9 b/target/linux/brcm2708/bcm2710/config-4.9
index e07d8cf4e6..b7ce5797e1 100644
--- a/target/linux/brcm2708/bcm2710/config-4.9
+++ b/target/linux/brcm2708/bcm2710/config-4.9
@@ -71,6 +71,7 @@ CONFIG_BCM2708_VCMEM=y
 # CONFIG_BCM2835_DEVGPIOMEM is not set
 CONFIG_BCM2835_MBOX=y
 # CONFIG_BCM2835_SMI is not set
+# CONFIG_BCM2835_THERMAL is not set
 CONFIG_BCM2835_WDT=y
 # CONFIG_BCM_PDC_MBOX is not set
 # CONFIG_BCM_VCIO is not set
-- 
GitLab