diff options
Diffstat (limited to 'recipes-bsp/u-boot/u-boot/2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch')
-rw-r--r-- | recipes-bsp/u-boot/u-boot/2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot/2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch b/recipes-bsp/u-boot/u-boot/2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch new file mode 100644 index 00000000..ba7cf033 --- /dev/null +++ b/recipes-bsp/u-boot/u-boot/2011.09git/0007-am335x-evm-fix-ext2load-and-specify-partition-for-bo.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From 160a0a0145cbe4bca9c0f71286fc8529e57c21c4 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 07/10] am335x-evm: fix ext2load and specify partition for | ||
5 | both fatload and ext2load | ||
6 | |||
7 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
8 | --- | ||
9 | include/configs/am335x_evm.h | 5 ++--- | ||
10 | 1 file changed, 2 insertions(+), 3 deletions(-) | ||
11 | |||
12 | diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h | ||
13 | index 3d37058..a81d716 100755 | ||
14 | --- a/include/configs/am335x_evm.h | ||
15 | +++ b/include/configs/am335x_evm.h | ||
16 | @@ -74,9 +74,8 @@ | ||
17 | "loadbootenv=fatload mmc ${mmc_dev} ${loadaddr} ${bootenv}\0" \ | ||
18 | "importbootenv=echo Importing environment from mmc ...; " \ | ||
19 | "env import -t $loadaddr $filesize\0" \ | ||
20 | - "mmc_load_uimage=fatload mmc ${mmc_dev} ${kloadaddr} ${bootfile}\0" \ | ||
21 | - "mmc_load_uimage_ext2=ext2load ${mmc_dev} ${kloadaddr} /boot/${bootfile}\0" \ | ||
22 | - "optargs=\0" \ | ||
23 | + "mmc_load_uimage=fatload mmc ${mmc_dev}:1 ${kloadaddr} ${bootfile}\0" \ | ||
24 | + "mmc_load_uimage_ext2=ext2load mmc ${mmc_dev}:2 ${kloadaddr} /boot/${bootfile}\0" \ | ||
25 | "bootargs_defaults=setenv bootargs " \ | ||
26 | "console=${console} " \ | ||
27 | "${optargs}\0" \ | ||
28 | -- | ||
29 | 1.7.10 | ||
30 | |||