From 1a8800458bd12febff981fadc86b2cdf0abaf827 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 9 Apr 2014 16:03:52 +0200 Subject: mtd: nand: create bb devices automatically When a mtd device can have bad blocks we want to create a bb device, so do this automatically. This allows us to drop bb device creation from the environment. Signed-off-by: Sascha Hauer --- defaultenv/defaultenv-1/bin/init | 1 - 1 file changed, 1 deletion(-) (limited to 'defaultenv/defaultenv-1') diff --git a/defaultenv/defaultenv-1/bin/init b/defaultenv/defaultenv-1/bin/init index adb3c43a66..4781b5a963 100644 --- a/defaultenv/defaultenv-1/bin/init +++ b/defaultenv/defaultenv-1/bin/init @@ -16,7 +16,6 @@ fi if [ -e /dev/nand0 -a -n "$nand_parts" ]; then addpart /dev/nand0 $nand_parts - nand -a /dev/nand0.* fi if [ -f /env/bin/init_board ]; then -- cgit v1.2.3