Skip to content

Commit

Permalink
brcm2708: bcm2709: add support for Raspberry Pi 3
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Noltari committed Feb 7, 2017
1 parent de1f830 commit 77a0002
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion target/linux/brcm2708/bcm2709/config-4.9
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions target/linux/brcm2708/bcm2709/target.mk
Original file line number Diff line number Diff line change
@@ -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
7 changes: 4 additions & 3 deletions target/linux/brcm2708/image/Makefile
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 77a0002

Please sign in to comment.