diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-08 00:31:09 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-02-08 00:41:48 +0100 |
commit | 77a00027c3b2172ee1779e298ebe206dde02b87a (patch) | |
tree | 928fc994128793637934110bbcc38cfc8690a569 /target/linux/brcm2708 | |
parent | de1f83097a3709d8edc18e093c10fd87c224d8d1 (diff) | |
download | upstream-77a00027c3b2172ee1779e298ebe206dde02b87a.tar.gz upstream-77a00027c3b2172ee1779e298ebe206dde02b87a.tar.bz2 upstream-77a00027c3b2172ee1779e298ebe206dde02b87a.zip |
brcm2708: bcm2709: add support for Raspberry Pi 3
This adds support for Raspberry Pi 3 on the bcm2709 subtarget, in order to
keep 32 bit image support when 64 bit support is added on bcm2710 subtarget.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/brcm2708')
-rw-r--r-- | target/linux/brcm2708/bcm2709/config-4.9 | 2 | ||||
-rw-r--r-- | target/linux/brcm2708/bcm2709/target.mk | 5 | ||||
-rw-r--r-- | target/linux/brcm2708/image/Makefile | 7 |
3 files changed, 8 insertions, 6 deletions
diff --git a/target/linux/brcm2708/bcm2709/config-4.9 b/target/linux/brcm2708/bcm2709/config-4.9 index 6c6fefc696..9828c042eb 100644 --- a/target/linux/brcm2708/bcm2709/config-4.9 +++ b/target/linux/brcm2708/bcm2709/config-4.9 @@ -179,7 +179,7 @@ CONFIG_GENERIC_SMP_IDLE_THREAD=y CONFIG_GENERIC_STRNCPY_FROM_USER=y CONFIG_GENERIC_STRNLEN_USER=y CONFIG_GPIOLIB=y -# CONFIG_GPIO_BCM_VIRT is not set +CONFIG_GPIO_BCM_VIRT=y CONFIG_GPIO_SYSFS=y CONFIG_HANDLE_DOMAIN_IRQ=y CONFIG_HARDIRQS_SW_RESEND=y diff --git a/target/linux/brcm2708/bcm2709/target.mk b/target/linux/brcm2708/bcm2709/target.mk index c0679c79bc..be4f459af9 100644 --- a/target/linux/brcm2708/bcm2709/target.mk +++ b/target/linux/brcm2708/bcm2709/target.mk @@ -1,12 +1,13 @@ # # Copyright (C) 2015 OpenWrt.org +# Copyright (C) 2017 LEDE project # SUBTARGET:=bcm2709 -BOARDNAME:=BCM2709 based boards +BOARDNAME:=BCM2709/BCM2710 32 bit based boards CPU_TYPE:=cortex-a7 CPU_SUBTYPE:=neon-vfpv4 define Target/Description - Build firmware image for Broadcom BCM2709 SoC devices. + Build firmware image for Broadcom BCM2709/BCM2710 32 bit SoC devices. endef diff --git a/target/linux/brcm2708/image/Makefile b/target/linux/brcm2708/image/Makefile index a7993de468..440408b4f7 100644 --- a/target/linux/brcm2708/image/Makefile +++ b/target/linux/brcm2708/image/Makefile @@ -1,6 +1,6 @@ # # Copyright (C) 2012-2015 OpenWrt.org -# Copyright (C) 2016 LEDE project +# Copyright (C) 2016-2017 LEDE project # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -63,8 +63,9 @@ ifeq ($(SUBTARGET),bcm2708) endif define Device/rpi-2 - DEVICE_TITLE := Raspberry Pi 2 B - DEVICE_DTS := bcm2709-rpi-2-b + DEVICE_TITLE := Raspberry Pi 2B/3B/3CM + DEVICE_DTS := bcm2709-rpi-2-b bcm2710-rpi-3-b bcm2710-rpi-cm3 + DEVICE_PACKAGES := brcmfmac-firmware-43430-sdio kmod-brcmfmac wpad-mini endef ifeq ($(SUBTARGET),bcm2709) TARGET_DEVICES += rpi-2 |