powerpc/85xx: Enable eSDHC boot support on P2020 DS
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@freescale.com> Signed-off-by:
Zhao Chenhui <b35336@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
Showing
- board/freescale/common/Makefile 1 addition, 0 deletionsboard/freescale/common/Makefile
- board/freescale/common/sdhc_boot.c 64 additions, 0 deletionsboard/freescale/common/sdhc_boot.c
- board/freescale/p2020ds/tlb.c 12 additions, 1 deletionboard/freescale/p2020ds/tlb.c
- boards.cfg 1 addition, 0 deletionsboards.cfg
- include/configs/P2020DS.h 25 additions, 0 deletionsinclude/configs/P2020DS.h
Loading
Please register or sign in to comment