brcm47xx: rename target to bcm47xx
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. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
ARCH:=mipsel
|
||||
BOARD:=brcm47xx
|
||||
BOARD:=bcm47xx
|
||||
BOARDNAME:=Broadcom BCM47xx/53xx (MIPS)
|
||||
FEATURES:=squashfs usb
|
||||
SUBTARGETS:=generic mips74k legacy
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
do_sysinfo_brcm47xx() {
|
||||
do_sysinfo_bcm47xx() {
|
||||
local boardtype="$(nvram get boardtype)"
|
||||
local boardnum="$(nvram get boardnum)"
|
||||
local model="$(sed -ne 's/^machine[ \t]*: //p' /proc/cpuinfo)"
|
||||
@@ -13,4 +13,4 @@ do_sysinfo_brcm47xx() {
|
||||
echo "$model" > /tmp/sysinfo/model
|
||||
}
|
||||
|
||||
boot_hook_add preinit_main do_sysinfo_brcm47xx
|
||||
boot_hook_add preinit_main do_sysinfo_bcm47xx
|
||||
@@ -70,7 +70,7 @@ platform_expected_image() {
|
||||
esac
|
||||
}
|
||||
|
||||
brcm47xx_identify() {
|
||||
bcm47xx_identify() {
|
||||
local magic
|
||||
|
||||
magic=$(get_magic_long "$1")
|
||||
@@ -107,7 +107,7 @@ brcm47xx_identify() {
|
||||
platform_check_image() {
|
||||
[ "$#" -gt 1 ] && return 1
|
||||
|
||||
local file_type=$(brcm47xx_identify "$1")
|
||||
local file_type=$(bcm47xx_identify "$1")
|
||||
local magic
|
||||
local error=0
|
||||
|
||||
@@ -232,7 +232,7 @@ platform_trx_from_lxlold_cmd() {
|
||||
}
|
||||
|
||||
platform_do_upgrade() {
|
||||
local file_type=$(brcm47xx_identify "$1")
|
||||
local file_type=$(bcm47xx_identify "$1")
|
||||
local trx="$1"
|
||||
local cmd=""
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
define KernelPackage/bgmac
|
||||
TITLE:=Broadcom bgmac driver
|
||||
KCONFIG:=CONFIG_BGMAC CONFIG_BGMAC_BCMA
|
||||
DEPENDS:=@TARGET_brcm47xx @!TARGET_brcm47xx_legacy
|
||||
DEPENDS:=@TARGET_bcm47xx @!TARGET_bcm47xx_legacy
|
||||
SUBMENU:=$(NETWORK_DEVICES_MENU)
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/drivers/net/ethernet/broadcom/bgmac-bcma.ko \
|
||||
@@ -1,4 +1,4 @@
|
||||
This generic GPIO watchdog is used on Huawei E970 (brcm47xx)
|
||||
This generic GPIO watchdog is used on Huawei E970 (bcm47xx)
|
||||
|
||||
Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
This generic GPIO watchdog is used on Huawei E970 (brcm47xx)
|
||||
This generic GPIO watchdog is used on Huawei E970 (bcm47xx)
|
||||
|
||||
Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
|
||||
|
||||
Reference in New Issue
Block a user