aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-05-12 22:36:07 +0200
committerMathias Kresin <dev@kresin.me>2017-07-15 23:13:34 +0200
commitf12a32630ff52b5e13397f64e9fb31708e97fb60 (patch)
tree46db1bb2606e05b40aaf2e43e7468531fa8df7b6 /package/boot
parentced05ca9e092817f2f4d4fe25c5c56700838a3ad (diff)
downloadupstream-f12a32630ff52b5e13397f64e9fb31708e97fb60.tar.gz
upstream-f12a32630ff52b5e13397f64e9fb31708e97fb60.tar.bz2
upstream-f12a32630ff52b5e13397f64e9fb31708e97fb60.zip
treewide: use the generic board_name function
Use the generic function instead ot the target specific ones. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'package/boot')
-rw-r--r--package/boot/uboot-envtools/files/ar71xx3
-rw-r--r--package/boot/uboot-envtools/files/cns3xxx3
-rw-r--r--package/boot/uboot-envtools/files/imx63
-rw-r--r--package/boot/uboot-envtools/files/ipq3
-rw-r--r--package/boot/uboot-envtools/files/kirkwood3
-rw-r--r--package/boot/uboot-envtools/files/mvebu3
-rw-r--r--package/boot/uboot-envtools/files/mxs3
-rw-r--r--package/boot/uboot-envtools/files/oxnas3
-rw-r--r--package/boot/uboot-envtools/files/ramips3
9 files changed, 9 insertions, 18 deletions
diff --git a/package/boot/uboot-envtools/files/ar71xx b/package/boot/uboot-envtools/files/ar71xx
index 503e593089..5c7b16c40e 100644
--- a/package/boot/uboot-envtools/files/ar71xx
+++ b/package/boot/uboot-envtools/files/ar71xx
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/ar71xx.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(ar71xx_board_name)
+board=$(board_name)
case "$board" in
a40|\
diff --git a/package/boot/uboot-envtools/files/cns3xxx b/package/boot/uboot-envtools/files/cns3xxx
index a56be15c57..f998de463c 100644
--- a/package/boot/uboot-envtools/files/cns3xxx
+++ b/package/boot/uboot-envtools/files/cns3xxx
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/cns3xxx.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(cns3xxx_board_name)
+board=$(board_name)
case "$board" in
laguna)
diff --git a/package/boot/uboot-envtools/files/imx6 b/package/boot/uboot-envtools/files/imx6
index a78c4fbe53..fec8ce0aa4 100644
--- a/package/boot/uboot-envtools/files/imx6
+++ b/package/boot/uboot-envtools/files/imx6
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/imx6.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(imx6_board_name)
+board=$(board_name)
case "$board" in
*gw5*)
diff --git a/package/boot/uboot-envtools/files/ipq b/package/boot/uboot-envtools/files/ipq
index 16c7ba6bb7..5d0a47790a 100644
--- a/package/boot/uboot-envtools/files/ipq
+++ b/package/boot/uboot-envtools/files/ipq
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/ipq806x.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(ipq806x_board_name)
+board=$(board_name)
case "$board" in
ea8500)
diff --git a/package/boot/uboot-envtools/files/kirkwood b/package/boot/uboot-envtools/files/kirkwood
index 26ae1b09ec..3b770c12f4 100644
--- a/package/boot/uboot-envtools/files/kirkwood
+++ b/package/boot/uboot-envtools/files/kirkwood
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/kirkwood.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(kirkwood_board_name)
+board=$(board_name)
case "$board" in
dockstar|\
diff --git a/package/boot/uboot-envtools/files/mvebu b/package/boot/uboot-envtools/files/mvebu
index 2bbbc23661..e33830e0a7 100644
--- a/package/boot/uboot-envtools/files/mvebu
+++ b/package/boot/uboot-envtools/files/mvebu
@@ -8,11 +8,10 @@
touch /etc/config/ubootenv
-. /lib/mvebu.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(mvebu_board_name)
+board=$(board_name)
case "$board" in
armada-385-linksys-caiman|\
diff --git a/package/boot/uboot-envtools/files/mxs b/package/boot/uboot-envtools/files/mxs
index ab8b4ef937..37d3c96ed4 100644
--- a/package/boot/uboot-envtools/files/mxs
+++ b/package/boot/uboot-envtools/files/mxs
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/mxs.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(mxs_board_name)
+board=$(board_name)
case "$board" in
duckbill)
diff --git a/package/boot/uboot-envtools/files/oxnas b/package/boot/uboot-envtools/files/oxnas
index ac4744e3e2..70b0f1663a 100644
--- a/package/boot/uboot-envtools/files/oxnas
+++ b/package/boot/uboot-envtools/files/oxnas
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/oxnas.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(oxnas_board_name)
+board=$(board_name)
case "$board" in
akitio|\
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index 9ce8c30edd..fa80e95299 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -7,11 +7,10 @@
touch /etc/config/ubootenv
-. /lib/ramips.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(ramips_board_name)
+board=$(board_name)
case "$board" in
all0239-3g|\