[U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config
Robert Nelson
robertcnelson at gmail.com
Tue Apr 2 17:19:43 CEST 2013
On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali <adnan.ali at codethink.co.uk> wrote:
> Enable btrfs support in mx53loco config
>
> Signed-off-by: Adnan Ali <adnan.ali at codethink.co.uk>
> ---
> include/configs/mx53loco.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index a4b610f..62e9a76 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -56,6 +56,8 @@
> #define CONFIG_GENERIC_MMC
> #define CONFIG_CMD_FAT
> #define CONFIG_CMD_EXT2
> +#define CONFIG_CMD_BTR
> +#define CONFIG_CMD_FS_GENERIC
> #define CONFIG_DOS_PARTITION
>
> /* Eth Configs */
> @@ -128,7 +130,7 @@
> "mmcroot=/dev/mmcblk0p3 rw rootwait\0" \
> "mmcargs=setenv bootargs console=ttymxc0,${baudrate} root=${mmcroot}\0" \
> "loadbootscript=" \
> - "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
> + "btrload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
Instead of changing this to btrload for everyone, wouldn't it make
more sense to use the generic "load" command? As your already setting
"CONFIG_CMD_FS_GENERIC"
Once you do that, you might as well also enable:
#define CONFIG_CMD_EXT4
> "bootscript=echo Running bootscript from mmc ...; " \
> "source\0" \
> "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \
> --
> 1.7.9.5
Regards,
--
Robert Nelson
http://www.rcn-ee.com/
More information about the U-Boot
mailing list