summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-03-17 16:56:40 +0100
committerFelix Fietkau <nbd@nbd.name>2017-03-22 11:43:22 +0100
commiteb98bf605ebf193e0e5a634a983443ff554f2236 (patch)
treefe693e0549cabfb9aa8a234f6a0b67de30135222 /package
parent0d271cef8071d0698246b4b50a610b5ff718af01 (diff)
downloadmtk-20170518-eb98bf605ebf193e0e5a634a983443ff554f2236.zip
mtk-20170518-eb98bf605ebf193e0e5a634a983443ff554f2236.tar.gz
mtk-20170518-eb98bf605ebf193e0e5a634a983443ff554f2236.tar.bz2
pistachio: remove pistachio_board_name, use the generic function
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/pistachio3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/boot/uboot-envtools/files/pistachio b/package/boot/uboot-envtools/files/pistachio
index 56bac35..ac82d9d 100644
--- a/package/boot/uboot-envtools/files/pistachio
+++ b/package/boot/uboot-envtools/files/pistachio
@@ -10,11 +10,10 @@
touch /etc/config/ubootenv
-. /lib/pistachio.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(pistachio_board_name)
+board=$(board_name)
case "$board" in
marduk)