summaryrefslogtreecommitdiffstats
path: root/defaultenv
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-02-06 08:46:58 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-02-12 09:33:43 +0100
commit7649473f40fc037263c1c0a9f54ffa5434080d78 (patch)
treeb71e0376c2dad7f604611eeeafca36bf8cb98894 /defaultenv
parent99bed342782b4cd0f3f9b943f858971c29936e10 (diff)
downloadbarebox-7649473f40fc037263c1c0a9f54ffa5434080d78.tar.gz
mtd: nand: remove automatically created bb devices
the bb devices which are created in add_mtd_device() must be removed in del_mtd_device(). Also remove deletion of the bb devices in the mtdparts-add environment file. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'defaultenv')
-rw-r--r--defaultenv/defaultenv-2-base/bin/mtdparts-add3
1 files changed, 0 insertions, 3 deletions
diff --git a/defaultenv/defaultenv-2-base/bin/mtdparts-add b/defaultenv/defaultenv-2-base/bin/mtdparts-add
index 05ab638..f49561c 100644
--- a/defaultenv/defaultenv-2-base/bin/mtdparts-add
+++ b/defaultenv/defaultenv-2-base/bin/mtdparts-add
@@ -30,9 +30,6 @@ if [ -z "${parts}" ]; then
fi
if [ -e /tmp/mtdparts/${device} ]; then
- if [ -n "/dev/${device}.*.bb" ]; then
- nand -d /dev/${device}.*.bb
- fi
delpart /dev/${device}.*
fi