On Jan 29, 2011, at 5:29 PM, Kumar Gala wrote: > From: Jerry Huang <chang-ming.hu...@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.hu...@freescale.com> > Signed-off-by: Zhao Chenhui <b35...@freescale.com> > Signed-off-by: Kumar Gala <ga...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot