diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-24 13:03:39 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2016-04-24 13:03:39 +0200 |
commit | 525b311bf869d7e252d744e501e227263a955c8e (patch) | |
tree | 4c644f534e5b577b9256d26b1e9a2e4a0453698e /target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch | |
parent | 0ab31bfced9666f3fb58acdb5833a93e4f4f5f7e (diff) | |
download | upstream-525b311bf869d7e252d744e501e227263a955c8e.tar.gz upstream-525b311bf869d7e252d744e501e227263a955c8e.tar.bz2 upstream-525b311bf869d7e252d744e501e227263a955c8e.zip |
brcm2708: update linux 4.4 patches to latest version
As usual these patches were extracted from the raspberry pi repo:
https://github.com/raspberrypi/linux/tree/rpi-4.4.y
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch b/target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch new file mode 100644 index 0000000000..02de15a6fa --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0270-ARM-bcm2835-clarify-RASPBERRYPI_FIRMWARE-dependency.patch @@ -0,0 +1,36 @@ +From ac82db5c0d1e26b32d285100e423a89b35e188da Mon Sep 17 00:00:00 2001 +From: Arnd Bergmann <arnd@arndb.de> +Date: Thu, 31 Dec 2015 23:39:14 +0100 +Subject: [PATCH 270/304] ARM: bcm2835: clarify RASPBERRYPI_FIRMWARE dependency + +The firmware driver can be a loadable module, but the power domain +can only be built-in, so we get a build error in an allmodconfig +kernel: + +:(.text+0x17e59c): undefined reference to `rpi_firmware_property' +:(.text+0x17e51c): undefined reference to `rpi_firmware_get' +:(.text+0x17e244): undefined reference to `rpi_firmware_property' + +This changes the dependency to only allow the power domain code +to be enabled when the firmware driver is built-in. Other users +of the firmware driver may still be loadable modules and not +everyone needs the power domains, so we don't change the firmware +code. + +Signed-off-by: Arnd Bergmann <arnd@arndb.de> +(cherry picked from commit 22a5b1ddd83b991b96cb635898e011cce48bf6f8) +--- + drivers/soc/bcm/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/soc/bcm/Kconfig ++++ b/drivers/soc/bcm/Kconfig +@@ -1,7 +1,7 @@ + config RASPBERRYPI_POWER + bool "Raspberry Pi power domain driver" + depends on ARCH_BCM2835 || COMPILE_TEST +- depends on RASPBERRYPI_FIRMWARE ++ depends on RASPBERRYPI_FIRMWARE=y + select PM_GENERIC_DOMAINS if PM + select PM_GENERIC_DOMAINS_OF if PM + help |