u-boot/board/freescale/common
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
..
p_corenet Makefile: delete unnecessary CPPFLAGS settings 2013-12-13 09:18:45 -05:00
cadmus.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cadmus.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cds_pci_ft.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
cds_via.c Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
eeprom.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
fman.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fman.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ics307_clk.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ics307_clk.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
idt8t49n222a_serdes_clk.c powerpc/mpc85xx: Cleanup license header in source files 2013-08-12 15:04:24 -07:00
idt8t49n222a_serdes_clk.h powerpc/mpc85xx: Cleanup license header in source files 2013-08-12 15:04:24 -07:00
Makefile board: powerpc: convert makefiles to Kbuild style 2013-11-01 11:42:12 -04:00
ngpixis.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ngpixis.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pixis.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pixis.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
pq-mds-pib.c ppc/85xx: Add PIB/ATM support for MPC8569mds 2010-01-25 22:13:26 -06:00
pq-mds-pib.h mpc83xx: Split PIB init code from pci.c and add Qoc3 ATM card support 2007-08-16 23:12:11 -05:00
qixis.c powerpc/mpc8xxx: Add memory reset control 2013-08-09 12:41:39 -07:00
qixis.h powerpc/t1040qds: Add T1040QDS board 2013-10-16 16:15:16 -07:00
sdhc_boot.c eSDHC: Calculate envaddr accroding to the address format 2014-01-22 08:56:44 -08:00
sgmii_riser.c powerpc/sgmii: To support PHY link state auto detect in SGMII mode 2012-08-08 18:32:15 -05:00
sgmii_riser.h Fixup SGMII PHY ids in the device tree 2009-02-16 18:05:54 -06:00
sys_eeprom.c powerpc/eeprom: update MAX_NUM_PORTS to adapt non-256-bytes EEPROM 2013-10-16 16:15:17 -07:00
via.h Move the MPC8541/MPC8555/MPC8548 CDS board under board/freescale. 2007-12-11 22:34:20 -06:00
vsc3316_3308.c powerpc/common/vsc3316: remove const from vsc3316_config parameter define 2013-08-20 10:46:26 -07:00
vsc3316_3308.h powerpc/common/vsc3316: remove const from vsc3316_config parameter define 2013-08-20 10:46:26 -07:00