u-boot/arch/powerpc
Haijun.Zhang f28bea0003 eSDHC: Calculate envaddr accroding to the address format
On BSC9131, BSC9132, P1010 : For High Capacity SD Cards (> 2 GBytes), the
32-bit source address specifies the memory address in block address
format. Block length is fixed to 512 bytes as per the SD High Capacity
specification. So we need to convert the block address format
to byte address format to calculate the envaddr.

If there is no enough space for environment variables or envaddr
is larger than 4GiB, we relocate the envaddr to 0x400. The address
relocated is in the front of the first partition that is assigned
for sdboot only.

Signed-off-by: Haijun Zhang <haijun.zhang@freescale.com>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Reviewed-by: York Sun <yorksun@freescale.com>
2014-01-22 08:56:44 -08:00
..
cpu powerpc:mpc85xx: Add ifc nand boot support for TPL/SPL 2014-01-21 13:42:01 -08:00
include/asm eSDHC: Calculate envaddr accroding to the address format 2014-01-22 08:56:44 -08:00
lib common/cmd_bootm: extend do_bootm_vxworks to support the new VxWorks boot interface. 2013-12-16 08:59:05 -05:00
config.mk PowerPC: merge commonly-defined flags 2013-12-13 09:17:32 -05:00