#Tegra
c_add tegra 'run config_default; u_extraargs="\$u_extraargs console=ttyS0,115200n8"; u_k_addr=4080000; u_ramfs_addr=4800000; u_dtb_addr=4000000; skip_dtb=""; pass_dtb=1; u_iodevs="usb mmc"; u_fs=ext2; u_boot=bootz; setenv fdt_high 0x2C000000; setenv initrd_high 0x2C000000; u_devpart="0:1 0:2 1:1 1:2"; u_dtb=\${soc}-\${board}.dtb'

cat << EOF

if test -n \$soc; then
  if test \$soc = tegra2; then
    setenv soc tegra20
  fi
  if test \$soc = tegra3; then
    setenv soc tegra30
  fi
  if test \$soc = tegra20 || test \$soc = tegra30 || test \$soc = tegra114 ; then
    run config_tegra
  fi
fi

EOF
