uboot-kirkwood: fix malformed boot configuration
[openwrt/staging/mkresin.git] / package / boot / uboot-kirkwood / patches / 120-iconnect.patch
index dcccf58eaf77d82ce1479c819103701eec334dbe..114aa1559da26d95f37eda483cf3503d2ad8c454 100644 (file)
  #define CONFIG_EXTRA_ENV_SETTINGS \
        "console=console=ttyS0,115200\0"        \
        "mtdids=nand0=orion_nand\0"             \
-       "mtdparts="CONFIG_MTDPARTS_DEFAULT      \
+-      "mtdparts="CONFIG_MTDPARTS_DEFAULT      \
 -      "kernel=/boot/uImage\0"                 \
 -      "bootargs_root=noinitrd ubi.mtd=2 root=ubi0:rootfs rootfstype=ubifs\0"
++      "mtdparts="CONFIG_MTDPARTS_DEFAULT "\0" \
 +      "bootargs_root=\0"
 
  /*