[OpenWrt-Devel] [PATCH] brcm2708: add missing symbols

Dirk Neukirchen dirkneukirchen at web.de
Fri Feb 5 18:09:04 EST 2016


enable CONFIG_PWM
enable the RASPI PWM stuff
fix buildbot w. 4.1

compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen at web.de>
---
 target/linux/brcm2708/bcm2708/config-4.1 | 3 +++
 target/linux/brcm2708/bcm2708/config-4.4 | 3 +++
 target/linux/brcm2708/bcm2709/config-4.1 | 3 +++
 target/linux/brcm2708/bcm2709/config-4.4 | 3 +++
 4 files changed, 12 insertions(+)

diff --git a/target/linux/brcm2708/bcm2708/config-4.1 b/target/linux/brcm2708/bcm2708/config-4.1
index 49073b3..63801a2 100644
--- a/target/linux/brcm2708/bcm2708/config-4.1
+++ b/target/linux/brcm2708/bcm2708/config-4.1
@@ -34,6 +34,7 @@ CONFIG_ARM_UNWIND=y
 CONFIG_AVERAGE=y
 # CONFIG_BACKLIGHT_CLASS_DEVICE is not set
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_RPI=y
 CONFIG_BCM2708_DT=y
 CONFIG_BCM2708_GPIO=y
 # CONFIG_BCM2708_NOL2CACHE is not set
@@ -287,6 +288,8 @@ CONFIG_PM_SLEEP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_PWM=y
+CONFIG_PWM_BCM2835=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_RAW_DRIVER=y
 # CONFIG_RCU_STALL_COMMON is not set
diff --git a/target/linux/brcm2708/bcm2708/config-4.4 b/target/linux/brcm2708/bcm2708/config-4.4
index 22b8995..1576800 100644
--- a/target/linux/brcm2708/bcm2708/config-4.4
+++ b/target/linux/brcm2708/bcm2708/config-4.4
@@ -32,6 +32,7 @@ CONFIG_ARM_THUMB=y
 CONFIG_ARM_UNWIND=y
 # CONFIG_BACKLIGHT_CLASS_DEVICE is not set
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_RPI=y
 # CONFIG_BCM2708_NOL2CACHE is not set
 CONFIG_BCM2708_VCHIQ=y
 CONFIG_BCM2708_VCMEM=y
@@ -290,6 +291,8 @@ CONFIG_PM_SLEEP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_PWM=y
+CONFIG_PWM_BCM2835=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_RATIONAL=y
 CONFIG_RAW_DRIVER=y
diff --git a/target/linux/brcm2708/bcm2709/config-4.1 b/target/linux/brcm2708/bcm2709/config-4.1
index 5f4b4e4..65b80a3 100644
--- a/target/linux/brcm2708/bcm2709/config-4.1
+++ b/target/linux/brcm2708/bcm2709/config-4.1
@@ -41,6 +41,7 @@ CONFIG_ARM_VIRT_EXT=y
 CONFIG_AVERAGE=y
 # CONFIG_BACKLIGHT_CLASS_DEVICE is not set
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_RPI=y
 CONFIG_BCM2708_GPIO=y
 CONFIG_BCM2708_NOL2CACHE=y
 CONFIG_BCM2708_VCHIQ=y
@@ -305,6 +306,8 @@ CONFIG_PM_SLEEP_SMP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_PWM=y
+CONFIG_PWM_BCM2835=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_RAW_DRIVER=y
 CONFIG_RCU_STALL_COMMON=y
diff --git a/target/linux/brcm2708/bcm2709/config-4.4 b/target/linux/brcm2708/bcm2709/config-4.4
index 99603a0..93fd158 100644
--- a/target/linux/brcm2708/bcm2709/config-4.4
+++ b/target/linux/brcm2708/bcm2709/config-4.4
@@ -38,6 +38,7 @@ CONFIG_ARM_UNWIND=y
 CONFIG_ARM_VIRT_EXT=y
 # CONFIG_BACKLIGHT_CLASS_DEVICE is not set
 CONFIG_BACKLIGHT_LCD_SUPPORT=y
+CONFIG_BACKLIGHT_RPI=y
 CONFIG_BCM2708_NOL2CACHE=y
 CONFIG_BCM2708_VCHIQ=y
 CONFIG_BCM2708_VCMEM=y
@@ -308,6 +309,8 @@ CONFIG_PM_SLEEP_SMP=y
 CONFIG_POWER_SUPPLY=y
 CONFIG_PRINTK_TIME=y
 CONFIG_PROC_PAGE_MONITOR=y
+CONFIG_PWM=y
+CONFIG_PWM_BCM2835=y
 CONFIG_RASPBERRYPI_FIRMWARE=y
 CONFIG_RATIONAL=y
 CONFIG_RAW_DRIVER=y
-- 
2.7.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list