u-boot-brain/arch/powerpc/include/asm
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
..
arch-mpc83xx Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
4xx_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
4xx_pcie.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
5xx_immap.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
8xx_immap.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
apm821xx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
atomic.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
bitops.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
byteorder.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
cache.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
config_mpc85xx.h eSDHC: Calculate envaddr accroding to the address format 2014-01-22 08:56:44 -08:00
config_mpc86xx.h Driver/DDR: Moving Freescale DDR driver to a common driver 2013-11-25 11:43:43 -08:00
config.h Driver/DDR: Moving Freescale DDR driver to a common driver 2013-11-25 11:43:43 -08:00
cpm_85xx.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
cpm_8260.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
e300.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
errno.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dma.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
fsl_dtsec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_enet.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_errata.h powerpc/85xx: update erratum a006379 2014-01-21 13:39:19 -08:00
fsl_fman.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_i2c.h fsl_i2c: add workaround for the erratum I2C A004447 2013-08-20 11:15:31 +02:00
fsl_law.h powerpc/85xx: Add C29x SoC support 2013-08-09 12:41:42 -07:00
fsl_lbc.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_liodn.h powerpc/srio: Update the SRIO LIODN registers and ID table macro 2013-08-09 12:41:37 -07:00
fsl_memac.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_mpc83xx_serdes.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_pci.h PCIe:change the method to get the address of a requested capability in configuration space. 2013-10-16 16:15:17 -07:00
fsl_portals.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_secure_boot.h powerpc: add CONFIG_SECURE_BOOT condition into fsl_secure_boot.h 2013-10-16 16:13:10 -07:00
fsl_serdes.h net/fman: Add support for 10GEC3 and 10GEC4 2013-11-25 11:43:47 -08:00
fsl_srio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
fsl_tgec.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
global_data.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
gpio.h mpc83xx: Add a GPIO driver for the MPC83XX family 2012-01-09 20:10:33 -06:00
immap_83xx.h Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx 2013-11-25 11:43:46 -08:00
immap_85xx.h powerpc/mpc85xx: Add support for single source clocking 2014-01-02 14:10:13 -08:00
immap_86xx.h Driver/DDR: combine ccsr_ddr for 83xx, 85xx and 86xx 2013-11-25 11:43:46 -08:00
immap_512x.h powerpc/usb:Differentiate USB controller base address 2013-10-24 09:35:09 -07:00
immap_8260.h powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7 2013-06-11 22:01:45 +02:00
immap_qe.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
interrupt.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
io.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
iopin_8xx.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
iopin_85xx.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
iopin_8260.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
m8260_pci.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
mc146818rtc.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
mmu.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
mp.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8xxx_spi.h mpc8308: support for Freescale MPC8308 cpu 2010-07-09 15:00:54 -05:00
mpc85xx_gpio.h mpc85xx: Fix the offset of register address error 2013-11-25 11:40:05 -08:00
mpc512x.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
mpc8349_pci.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pci_io.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
pnp.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
posix_types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
ppc4xx_config.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx-ebc.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx-emac.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc4xx-gpio.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
ppc4xx-i2c.h Merge branch 'master' of git://git.denx.de/u-boot-i2c 2013-07-24 09:50:24 -04:00
ppc4xx-isram.h cosmetic: remove empty lines at the top of file 2013-11-08 09:41:37 -05:00
ppc4xx-mal.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc4xx-sdram.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx-uic.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc4xx.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc405.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc405ep.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405ex.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405ez.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc405gp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440.h SPDX: fix IBM-pibs license identifier 2013-09-20 10:30:54 -04:00
ppc440ep_gr.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440epx_grx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440gp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440gx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440sp.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc440spe.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc460ex_gt.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
ppc460sx.h Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
processor.h powerpc/mpc85xx: Add T2080/T2081 SoC support 2013-11-25 11:44:25 -08:00
ptrace.h include: delete include/linux/config.h 2013-11-08 15:25:13 -05:00
residual.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
sections.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
sigcontext.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
signal.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
spl.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
status_led.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
string.h Add strcasecmp() and strncasecmp() 2012-12-11 13:17:34 -07:00
types.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
u-boot.h ppc4xx: Remove support for PPC405CR CPUs 2013-08-20 11:35:24 -04:00
unaligned.h Move arch/ppc to arch/powerpc 2010-04-21 23:42:38 +02:00
xilinx_irq.h Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00