
setenv sfargs \
  setenv bootargs mem=${memtotal} root=/dev/mtdblock0 noinitrd \
    rootfstype=cramfs console=ttyS0,115200n8 lpj=${lpj} ${android_bootargs} {platform_bootargs}\; \

setenv sfboot \
  if iminfo 0xffd00000\; then \
    run sfargs\; \
    bootm ffd00000 \; \
  fi

setenv bootcmd \
  run scriptcmd\; \
  run mmcboot\; \
  echo No MMC card found\; \
  run sfboot\; \
  echo No kernel found

