>>>>> "Tom" == Tom Rini <tr...@ti.com> writes:

 Tom> From: Koen Kooi <k...@dominion.thruhere.net>
 Tom> The kernel is loaded from some form of ext[234] or FAT, depending on the
 Tom> distribution used.  We add a bootpart variable to the environment so
 Tom> that we can load from the correct mmc partition as well.

 Tom> Signed-off-by: Koen Kooi <k...@dominion.thruhere.net>
 Tom> Signed-off-by: Tom Rini <tr...@ti.com>
 Tom> ---
 Tom>  include/configs/am335x_evm.h |   10 ++++++----
 Tom>  1 file changed, 6 insertions(+), 4 deletions(-)

 Tom> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
 Tom> index abf4e39..ec4ddbc 100644
 Tom> --- a/include/configs/am335x_evm.h
 Tom> +++ b/include/configs/am335x_evm.h
 Tom> @@ -61,6 +61,7 @@
 Tom>   "mmcdev=0\0" \
 Tom>   "mmcroot=/dev/mmcblk0p2 ro\0" \
 Tom>   "mmcrootfstype=ext4 rootwait\0" \
 Tom> + "bootpart=0:2\0" \

You could argue this should be ${mmcdev}:2 instead.

 Tom> @@ -147,6 +147,8 @@
 Tom>  #define CONFIG_DOS_PARTITION
 Tom>  #define CONFIG_CMD_FAT
 Tom>  #define CONFIG_CMD_EXT2
 Tom> +#define CONFIG_CMD_EXT4
 Tom> +#define CONFIG_CMD_FS_GENERIC

CMD_EXT2 can presumably be dropped now?

Other than that,

Acked-by: Peter Korsgaard <jac...@sunsite.dk>

-- 
Bye, Peter Korsgaard
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to