9
0
Fork 0

pca100: update boot script

Signed-off-by: Luotao Fu <l.fu@pengutronix.de>
This commit is contained in:
Luotao Fu 2009-06-25 18:07:54 +02:00
parent e212343c40
commit 3e0fe1ba46
1 changed files with 1 additions and 8 deletions

View File

@ -12,11 +12,6 @@ if [ x$1 = xnet ]; then
kernel=net
fi
if [ x$1 = xnor ]; then
root=nor
kernel=nor
fi
if [ x$ip = xdhcp ]; then
bootargs="$bootargs ip=dhcp"
else
@ -25,13 +20,11 @@ fi
if [ x$root = xnand ]; then
bootargs="$bootargs root=$rootpart_nand rootfstype=jffs2"
elif [ x$root = xnor ]; then
bootargs="$bootargs root=$rootpart_nor rootfstype=jffs2"
else
bootargs="$bootargs root=/dev/nfs nfsroot=$eth0.serverip:$nfsroot,v3,tcp"
fi
bootargs="$bootargs mtdparts=physmap-flash.0:$nor_parts;imx_nand:$nand_parts"
bootargs="$bootargs mtdparts=mxc_nand:$nand_parts"
if [ $kernel = net ]; then
if [ x$ip = xdhcp ]; then