u-boot-brain/arch
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
..
arm ARM: bcm2835: fix mailbox timeout 2014-01-20 17:11:39 -05:00
avr32 avr32: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
blackfin Merge branch 'master' of git://git.denx.de/u-boot-blackfin 2013-12-16 09:13:25 -05:00
m68k include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
microblaze Makefile: rename all libraries to built-in.o 2013-11-17 14:11:32 -05:00
mips malta: enable PIIX4 SERIRQ 2013-11-26 21:49:34 +01:00
nds32 nds32: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
nios2 nios2: convert makefiles to Kbuild style 2013-11-01 11:42:11 -04:00
openrisc openrisc: convert makefiles to Kbuild style 2013-10-31 13:26:45 -04:00
powerpc eSDHC: Calculate envaddr accroding to the address format 2014-01-22 08:56:44 -08:00
sandbox sandbox: Add a prototype for cleanup_before_linux() 2014-01-08 17:26:01 -07:00
sh sh: sh2: Remove CONFIG_SH2A definition from asm/processor.h 2014-01-09 13:22:22 +09:00
sparc sparc: Correct arch/sparc/cpu/leon3/start.S from SPDX conversion 2013-11-25 10:41:55 -05:00
x86 cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00