9
0
Fork 0

defaultenv: fix adding of nand_parts

Really add nand_parts if nand_parts are set, not nor_parts.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2010-08-24 22:26:11 +02:00 committed by Sascha Hauer
parent 5baf768b51
commit 1707064e6e
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if [ -n $nor_parts ]; then
fi
if [ -n $nand_parts ]; then
mtdparts="${mtdparts}$nand_device:${nor_parts};"
mtdparts="${mtdparts}${nand_device}:${nand_parts};"
fi
if [ -n $mtdparts ]; then