recipes-kernel: Add GLSDK specific kernel tree for omap-a15
[glsdk/meta-ti-glsdk.git] / recipes-bsp / u-boot / u-boot / 2011.09git / 0010-am335x-switch-to-ext4-mode.patch
1 From 9e1a99476875b1f1e6e34e70d9bf6e77d3ac8fba Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Wed, 4 Apr 2012 00:06:31 +0200
4 Subject: [PATCH 10/10] am335x: switch to ext4 mode
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  include/configs/am335x_evm.h |    7 ++++---
9  1 file changed, 4 insertions(+), 3 deletions(-)
11 diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
12 index e42febe..e2be380 100755
13 --- a/include/configs/am335x_evm.h
14 +++ b/include/configs/am335x_evm.h
15 @@ -75,7 +75,7 @@
16         "importbootenv=echo Importing environment from mmc ...; " \
17                 "env import -t $loadaddr $filesize\0" \
18         "mmc_load_uimage=fatload mmc ${mmc_dev}:1 ${kloadaddr} ${bootfile}\0" \
19 -       "mmc_load_uimage_ext2=ext2load mmc ${mmc_dev}:2 ${kloadaddr} /boot/${bootfile}\0" \
20 +       "mmc_load_uimage_ext4=ext4load mmc ${mmc_dev}:2 ${kloadaddr} /boot/${bootfile}\0" \
21         "bootargs_defaults=setenv bootargs " \
22                 "console=${console} " \
23                 "${optargs}\0" \
24 @@ -101,7 +101,7 @@
25                 "nfsroot=${serverip}:${rootpath},${nfsopts} rw " \
26                 "ip=dhcp\0" \
27         "mmc_boot=run mmc_args; " \
28 -               "run mmc_load_uimage_ext2; " \
29 +               "run mmc_load_uimage_ext4; " \
30                 "bootm ${kloadaddr}\0" \
31         "nand_boot=echo Booting from nand ...; " \
32                 "run nand_args; " \
33 @@ -139,7 +139,7 @@
34                         "echo Running uenvcmd ...;" \
35                         "run uenvcmd;" \
36                 "fi;" \
37 -               "if run mmc_load_uimage_ext2; then " \
38 +               "if run mmc_load_uimage_ext4; then " \
39                         "run mmc_args;" \
40                         "bootm ${kloadaddr};" \
41                 "fi;" \
42 @@ -426,6 +426,7 @@
43  #define CONFIG_DOS_PARTITION
44  #define CONFIG_CMD_FAT
45  #define CONFIG_CMD_EXT2
46 +#define CONFIG_CMD_EXT4
47  #endif
48  
49  /* Unsupported features */
50 -- 
51 1.7.10