]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: fix extlinux.conf search location
authorStephen Warren <swarren@nvidia.com>
Thu, 19 Jun 2014 16:52:58 +0000 (10:52 -0600)
committerTom Warren <twarren@nvidia.com>
Thu, 19 Jun 2014 17:47:20 +0000 (10:47 -0700)
extlinux.conf is stored in /boot/extlinux/extlinux.conf rather than
/boot/extlinux.conf. Adjust Tegra's default boot scripts to use the
correct location. This change aligns Tegra's boot scripts with rpi_b.h
and also the location that the Fedora installer actually puts the file.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
include/configs/tegra-common-post.h

index 76dad4e88cd932da1b803ad80badc74f748ffd22..8cfc17a93c745c925ca59904d570ca79892a2822 100644 (file)
        \
        "do_sysboot_boot="                                                \
                "sysboot ${devtype} ${devnum}:${rootpart} any "           \
-                       "${scriptaddr} ${prefix}extlinux.conf\0"          \
+                       "${scriptaddr} ${prefix}extlinux/extlinux.conf\0" \
        \
        "sysboot_boot="                                                   \
                "if test -e ${devtype} ${devnum}:${rootpart} "            \
-                               "${prefix}extlinux.conf; then "           \
-                       "echo Found extlinux config "                     \
-                               "${prefix}extlinux.conf; "                \
+                               "${prefix}extlinux/extlinux.conf; then "  \
+                       "echo Found ${prefix}extlinux/extlinux.conf; "    \
                        "run do_sysboot_boot; "                           \
                        "echo SCRIPT FAILED: continuing...; "             \
                "fi\0"                                                    \