u-boot 2011.10rc: fix loading from /boot by adding ext4 support
[glsdk/meta-ti-glsdk.git] / recipes-bsp / u-boot / u-boot / 2011.09git / 0012-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch
1 From 6233c6274e86dad6bac240cf8703e0a0b3e14e27 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Sun, 1 Apr 2012 22:57:37 +0200
4 Subject: [PATCH 12/15] am335x-evm: fix ext2load and specify partition for both fatload and ext2load
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  include/configs/am335x_evm.h |    4 ++--
9  1 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
12 index 5a7e9a8..9a4b407 100755
13 --- a/include/configs/am335x_evm.h
14 +++ b/include/configs/am335x_evm.h
15 @@ -74,8 +74,8 @@
16         "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \
17         "importbootenv=echo Importing environment from mmc ...; " \
18                 "env import -t $loadaddr $filesize\0" \
19 -       "mmc_load_uimage=fatload mmc ${mmc_dev} 0x80007fc0 ${bootfile}\0" \
20 -       "mmc_load_uimage_ext2=ext2load ${mmc_dev} 0x80007fc0 /boot/${bootfile}\0" \
21 +       "mmc_load_uimage=fatload mmc ${mmc_dev}:1 0x80007fc0 ${bootfile}\0" \
22 +       "mmc_load_uimage_ext2=ext2load mmc ${mmc_dev}:2 0x80007fc0 /boot/${bootfile}\0" \
23         "optargs=\0" \
24         "bootargs_defaults=setenv bootargs " \
25                 "console=${console} " \
26 -- 
27 1.7.2.5