openwrtv3/target/linux/brcm2708/patches-4.1/0143-Fix-RASPBERRYPI_FIRMWARE-dependents.patch
John Crispin bf28fb50bf brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47258
2015-10-26 09:01:05 +00:00

73 lines
2.3 KiB
Diff

From fb25dfd5b7543d9b777239e76ea12f2b64eb2437 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= <noralf@tronnes.org>
Date: Fri, 24 Jul 2015 19:33:16 +0200
Subject: [PATCH 143/203] Fix RASPBERRYPI_FIRMWARE dependents
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
If forgot this when converting the drivers.
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
---
drivers/cpufreq/Kconfig.arm | 2 +-
drivers/input/touchscreen/Kconfig | 2 +-
drivers/misc/vc04_services/Kconfig | 2 +-
drivers/thermal/Kconfig | 2 +-
drivers/video/fbdev/Kconfig | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -259,7 +259,7 @@ config ARM_SPEAR_CPUFREQ
This adds the CPUFreq driver support for SPEAr SOCs.
config ARM_BCM2835_CPUFREQ
- depends on BCM2708_MBOX
+ depends on RASPBERRYPI_FIRMWARE
bool "BCM2835 Driver"
default y
help
--- a/drivers/input/touchscreen/Kconfig
+++ b/drivers/input/touchscreen/Kconfig
@@ -585,7 +585,7 @@ config TOUCHSCREEN_EDT_FT5X06
config TOUCHSCREEN_RPI_FT5406
tristate "Raspberry Pi FT5406 driver"
- depends on ARCH_BCM2708 || ARCH_BCM2709
+ depends on RASPBERRYPI_FIRMWARE
help
Say Y here to enable the Raspberry Pi memory based FT5406 device
--- a/drivers/misc/vc04_services/Kconfig
+++ b/drivers/misc/vc04_services/Kconfig
@@ -1,6 +1,6 @@
config BCM2708_VCHIQ
tristate "Videocore VCHIQ"
- depends on (MACH_BCM2708 || MACH_BCM2709 || ARCH_BCM2835) && BCM2708_MBOX
+ depends on RASPBERRYPI_FIRMWARE
default y
help
Kernel to VideoCore communication interface for the
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -239,7 +239,7 @@ config INTEL_POWERCLAMP
user interface is exposed via generic thermal framework.
config THERMAL_BCM2835
- depends on BCM2708_MBOX
+ depends on RASPBERRYPI_FIRMWARE
tristate "BCM2835 Thermal Driver"
help
This will enable temperature monitoring for the Broadcom BCM2835
--- a/drivers/video/fbdev/Kconfig
+++ b/drivers/video/fbdev/Kconfig
@@ -226,7 +226,7 @@ comment "Frame buffer hardware drivers"
config FB_BCM2708
tristate "BCM2708 framebuffer support"
- depends on FB && ARM && BCM2708_MBOX
+ depends on FB && RASPBERRYPI_FIRMWARE
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT