brcm2708: rename target to bcm27xx

This change makes the names of Broadcom targets consistent by using
the common notation based on SoC/CPU ID (which is used internally
anyway), bcmXXXX instead of brcmXXXX.
This is even used for target TITLE in make menuconfig already,
only the short target name used brcm so far.

Despite, since subtargets range from bcm2708 to bcm2711, it seems
appropriate to use bcm27xx instead of bcm2708 (again, as already done
for BOARDNAME).

This also renames the packages brcm2708-userland and brcm2708-gpu-fw.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
Adrian Schmutzler 2020-02-08 21:58:55 +01:00
parent e7bfda2c24
commit 7d7aa2fd92
853 changed files with 45 additions and 45 deletions

View File

@ -262,7 +262,7 @@ menu "Target Images"
int "Kernel partition size (in MB)"
depends on GRUB_IMAGES || USES_BOOT_PART
default 8 if TARGET_apm821xx_sata
default 64 if TARGET_brcm2708
default 64 if TARGET_bcm27xx
default 16
config TARGET_ROOTFS_PARTSIZE

View File

@ -550,7 +550,7 @@ if KERNEL_CGROUPS
config KERNEL_BLK_DEV_THROTTLING
bool "Enable throttling policy"
default y if TARGET_brcm2708
default y if TARGET_bcm27xx
config KERNEL_BLK_DEV_THROTTLING_LOW
bool "Block throttling .low limit interface support (EXPERIMENTAL)"

View File

@ -34,7 +34,7 @@ endef
define Package/cypress-nvram-43430-sdio-rpi-3b
$(Package/cypress-nvram-default)
TITLE:=CYW43430 NVRAM for Raspberry Pi 3B
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define Package/cypress-nvram-43430-sdio-rpi-3b/install
@ -50,7 +50,7 @@ $(eval $(call BuildPackage,cypress-nvram-43430-sdio-rpi-3b))
define Package/cypress-nvram-43430-sdio-rpi-zero-w
$(Package/cypress-nvram-default)
TITLE:=CYW43430 NVRAM for Raspberry Pi Zero W
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define Package/cypress-nvram-43430-sdio-rpi-zero-w/install
@ -66,7 +66,7 @@ $(eval $(call BuildPackage,cypress-nvram-43430-sdio-rpi-zero-w))
define Package/cypress-nvram-43455-sdio-rpi-3b-plus
$(Package/cypress-nvram-default)
TITLE:=CYW43455 NVRAM for Raspberry Pi 3B+
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define Package/cypress-nvram-43455-sdio-rpi-3b-plus/install
@ -82,7 +82,7 @@ $(eval $(call BuildPackage,cypress-nvram-43455-sdio-rpi-3b-plus))
define Package/cypress-nvram-43455-sdio-rpi-4b
$(Package/cypress-nvram-default)
TITLE:=CYW43455 NVRAM for Raspberry Pi 4B
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define Package/cypress-nvram-43455-sdio-rpi-4b/install

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=brcm2708-gpu-fw
PKG_NAME:=bcm27xx-gpu-fw
PKG_VERSION:=2020-01-30
PKG_RELEASE:=63bdbe0ea609a69f5c0a2212d608ef3d9915a7ad
@ -133,16 +133,16 @@ define Download/start4x_elf
endef
$(eval $(call Download,start4x_elf))
define Package/brcm2708-gpu-fw
define Package/bcm27xx-gpu-fw
SECTION:=boot
CATEGORY:=Boot Loaders
DEPENDS:=@TARGET_brcm2708
TITLE:=brcm2708-gpu-fw
DEFAULT:=y if TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
TITLE:=bcm27xx-gpu-fw
DEFAULT:=y if TARGET_bcm27xx
endef
define Package/brcm2708-gpu-fw/description
GPU and kernel boot firmware for brcm2708.
define Package/bcm27xx-gpu-fw/description
GPU and kernel boot firmware for bcm27xx.
endef
define Build/Prepare
@ -168,7 +168,7 @@ define Build/Compile
true
endef
define Package/brcm2708-gpu-fw/install
define Package/bcm27xx-gpu-fw/install
true
endef
@ -189,4 +189,4 @@ define Build/InstallDev
$(CP) $(PKG_BUILD_DIR)/fixup4x.dat $(KERNEL_BUILD_DIR)
endef
$(eval $(call BuildPackage,brcm2708-gpu-fw))
$(eval $(call BuildPackage,bcm27xx-gpu-fw))

View File

@ -125,7 +125,7 @@ $(eval $(call KernelPackage,mii))
define KernelPackage/mdio-gpio
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:= Supports GPIO lib-based MDIO busses
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
KCONFIG:= \
CONFIG_MDIO_BITBANG \
CONFIG_MDIO_GPIO
@ -320,7 +320,7 @@ $(eval $(call KernelPackage,switch-rtl8306))
define KernelPackage/switch-rtl8366-smi
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Realtek RTL8366 SMI switch interface support
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_bcm27xx_bcm2708||TARGET_samsung||TARGET_tegra):kmod-of-mdio
KCONFIG:=CONFIG_RTL8366_SMI
FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)

View File

@ -449,7 +449,7 @@ define KernelPackage/brcmfmac/config
config BRCMFMAC_SDIO
bool "Enable SDIO bus interface support"
default y if TARGET_brcm2708
default y if TARGET_bcm27xx
default y if TARGET_sunxi
default n
help

View File

@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=brcm2708-userland
PKG_NAME:=bcm27xx-userland
PKG_VERSION:=42ec119e03eb8dffc7c83e2ac0e665e333abbef6
PKG_RELEASE:=1
@ -34,19 +34,19 @@ include $(INCLUDE_DIR)/cmake.mk
TAR_OPTIONS:=--strip-components 1 $(TAR_OPTIONS)
TAR_CMD=$(HOST_TAR) -C $(1) $(TAR_OPTIONS)
define Package/brcm2708-userland
define Package/bcm27xx-userland
SECTION:=utils
CATEGORY:=Utilities
DEPENDS:=@TARGET_brcm2708
TITLE:=BCM2708 userland tools
DEFAULT:=y if TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
TITLE:=BCM27xx userland tools
DEFAULT:=y if TARGET_bcm27xx
endef
define Package/brcm2708-userland/description
BCM2708 userland tools including vcgencmd and tvservice.
define Package/bcm27xx-userland/description
BCM27xx userland tools including vcgencmd and tvservice.
endef
define Package/brcm2708-userland/install
define Package/bcm27xx-userland/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtparam $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dtoverlay $(1)/usr/bin
@ -61,4 +61,4 @@ define Package/brcm2708-userland/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/ $(1)/usr/
endef
$(eval $(call BuildPackage,brcm2708-userland))
$(eval $(call BuildPackage,bcm27xx-userland))

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
ARCH:=arm
BOARD:=brcm2708
BOARD:=bcm27xx
BOARDNAME:=Broadcom BCM27xx
FEATURES:=ext4 audio usb usbgadget display gpio fpu squashfs rootfs-part boot-part
MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
@ -23,7 +23,7 @@ endef
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += \
brcm2708-gpu-fw \
bcm27xx-gpu-fw \
kmod-usb-hid \
kmod-sound-core kmod-sound-arm-bcm2835 \
kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1 \

View File

@ -5,4 +5,4 @@
# See /LICENSE for more information.
#
include $(TOPDIR)/target/linux/brcm2708/modules/*.mk
include $(TOPDIR)/target/linux/bcm27xx/modules/*.mk

View File

@ -10,7 +10,7 @@ define KernelPackage/hwmon-raspberrypi
KCONFIG:=CONFIG_SENSORS_RASPBERRYPI_HWMON
FILES:=$(LINUX_DIR)/drivers/hwmon/raspberrypi-hwmon.ko
AUTOLOAD:=$(call AutoLoad,60,raspberrypi-hwmon)
$(call AddDepends/hwmon,@TARGET_brcm2708)
$(call AddDepends/hwmon,@TARGET_bcm27xx)
endef
define KernelPackage/hwmon-raspberrypi/description
@ -23,7 +23,7 @@ $(eval $(call KernelPackage,hwmon-raspberrypi))
define KernelPackage/hwmon-rpi-poe-fan
SUBMENU:=$(HWMON_MENU)
TITLE:=Raspberry Pi PoE HAT fan
DEPENDS:=@TARGET_brcm2708 +kmod-hwmon-core
DEPENDS:=@TARGET_bcm27xx +kmod-hwmon-core
KCONFIG:=CONFIG_SENSORS_RPI_POE_FAN
FILES:=$(LINUX_DIR)/drivers/hwmon/rpi-poe-fan.ko
AUTOLOAD:=$(call AutoProbe,rpi-poe-fan)

View File

@ -11,7 +11,7 @@ I2C_BCM2835_MODULES:=\
define KernelPackage/i2c-bcm2835
$(call i2c_defaults,$(I2C_BCM2835_MODULES),59)
TITLE:=Broadcom BCM2835 I2C master controller driver
DEPENDS:=@TARGET_brcm2708 +kmod-i2c-core
DEPENDS:=@TARGET_bcm27xx +kmod-i2c-core
endef
define KernelPackage/i2c-bcm2835/description

View File

@ -13,7 +13,7 @@ define KernelPackage/pwm-bcm2835
CONFIG_PWM_BCM2835
FILES:=$(LINUX_DIR)/drivers/pwm/pwm-bcm2835.ko
AUTOLOAD:=$(call AutoLoad,60,pwm-bcm2835)
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define KernelPackage/pwm-bcm2835/description
@ -30,7 +30,7 @@ define KernelPackage/random-bcm2835
CONFIG_HW_RANDOM_BCM2835
FILES:=$(LINUX_DIR)/drivers/char/hw_random/bcm2835-rng.ko
AUTOLOAD:=$(call AutoLoad,11,bcm2835-rng)
DEPENDS:=@TARGET_brcm2708 +kmod-random-core
DEPENDS:=@TARGET_bcm27xx +kmod-random-core
endef
define KernelPackage/random-bcm2835/description
@ -46,7 +46,7 @@ define KernelPackage/smi-bcm2835
KCONFIG:=CONFIG_BCM2835_SMI
FILES:=$(LINUX_DIR)/drivers/misc/bcm2835_smi.ko
AUTOLOAD:=$(call AutoLoad,20,bcm2835_smi)
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define KernelPackage/smi-bcm2835/description
@ -63,7 +63,7 @@ define KernelPackage/smi-bcm2835-dev
KCONFIG:=CONFIG_BCM2835_SMI_DEV
FILES:=$(LINUX_DIR)/drivers/char/broadcom/bcm2835_smi_dev.ko
AUTOLOAD:=$(call AutoLoad,21,bcm2835_smi_dev)
DEPENDS:=@TARGET_brcm2708 +kmod-smi-bcm2835
DEPENDS:=@TARGET_bcm27xx +kmod-smi-bcm2835
endef
define KernelPackage/smi-bcm2835-dev/description

View File

@ -14,7 +14,7 @@ define KernelPackage/sound-arm-bcm2835
FILES:= \
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-audio/snd-bcm2835.ko
AUTOLOAD:=$(call AutoLoad,68,snd-bcm2835)
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
$(call AddDepends/sound)
endef
@ -36,7 +36,7 @@ define KernelPackage/sound-soc-bcm2835-i2s
FILES:= \
$(LINUX_DIR)/sound/soc/bcm/snd-soc-bcm2835-i2s.ko
AUTOLOAD:=$(call AutoLoad,68,snd-soc-bcm2835-i2s)
DEPENDS:=@TARGET_brcm2708 +kmod-sound-soc-core
DEPENDS:=@TARGET_bcm27xx +kmod-sound-soc-core
$(call AddDepends/sound)
endef

View File

@ -14,7 +14,7 @@ define KernelPackage/spi-bcm2835
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835.ko
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835)
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define KernelPackage/spi-bcm2835/description
@ -33,7 +33,7 @@ define KernelPackage/spi-bcm2835-aux
CONFIG_SPI_MASTER=y
FILES:=$(LINUX_DIR)/drivers/spi/spi-bcm2835aux.ko
AUTOLOAD:=$(call AutoLoad,89,spi-bcm2835aux)
DEPENDS:=@TARGET_brcm2708
DEPENDS:=@TARGET_bcm27xx
endef
define KernelPackage/spi-bcm2835-aux/description

View File

@ -13,7 +13,7 @@ define KernelPackage/camera-bcm2835
FILES:= \
$(LINUX_DIR)/drivers/staging/vc04_services/bcm2835-camera/bcm2835-v4l2.ko
AUTOLOAD:=$(call AutoLoad,65,bcm2835-v4l2)
$(call AddDepends/video,@TARGET_brcm2708 +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vchiq-mmal-bcm2835 +kmod-video-videobuf2)
endef
define KernelPackage/camera-bcm2835/description
@ -28,7 +28,7 @@ define KernelPackage/drm-vc4
SUBMENU:=$(VIDEO_MENU)
TITLE:=Broadcom VC4 Graphics
DEPENDS:= \
@TARGET_brcm2708 +kmod-drm \
@TARGET_bcm27xx +kmod-drm \
+kmod-sound-core \
+kmod-sound-soc-core
KCONFIG:= \
@ -56,7 +56,7 @@ define KernelPackage/vc-sm-cma
CONFIG_BCM_VC_SM_CMA
FILES:= \
$(LINUX_DIR)/drivers/staging/vc04_services/vc-sm-cma/vc-sm-cma.ko
$(call AddDepends/video,@TARGET_brcm2708)
$(call AddDepends/video,@TARGET_bcm27xx)
endef
define KernelPackage/vc-sm-cma/description
@ -74,7 +74,7 @@ define KernelPackage/vchiq-mmal-bcm2835
CONFIG_VIDEO_CODEC_BCM2835=n
FILES:= \
$(LINUX_DIR)/drivers/staging/vc04_services/vchiq-mmal/bcm2835-mmal-vchiq.ko
$(call AddDepends/video,@TARGET_brcm2708 +kmod-vc-sm-cma)
$(call AddDepends/video,@TARGET_bcm27xx +kmod-vc-sm-cma)
endef
define KernelPackage/vchiq-mmal-bcm2835/description

Some files were not shown because too many files have changed in this diff Show More