[U-Boot] [PATCH 2/2] powerpc/85xx: Enable eSDHC boot support on P2020 DS

Kumar Gala galak at kernel.crashing.org
Tue Apr 5 05:32:48 CEST 2011


On Jan 29, 2011, at 5:29 PM, Kumar Gala wrote:

> From: Jerry Huang <Chang-Ming.Huang at freescale.com>
> 
> We implement our own mmc_get_env_addr since the environment variables are
> written to just after the u-boot image on SDCard, so we must read the MBR
> to get the start address and code length of the u-boot image, then
> calculate the address of the env.
> 
> Signed-off-by: Jerry Huang <Chang-Ming.Huang at freescale.com>
> Signed-off-by: Zhao Chenhui <b35336 at freescale.com>
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> board/freescale/common/Makefile    |    1 +
> board/freescale/common/sdhc_boot.c |   64 ++++++++++++++++++++++++++++++++++++
> board/freescale/p2020ds/tlb.c      |   13 +++++++-
> boards.cfg                         |    1 +
> include/configs/P2020DS.h          |   25 ++++++++++++++
> 5 files changed, 103 insertions(+), 1 deletions(-)
> create mode 100644 board/freescale/common/sdhc_boot.c

applied to 85xx

- k


More information about the U-Boot mailing list