1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 00:32:04 +02:00

esdhc: Add CONFIG_SYS_FSL_ESDHC_LE and CONFIG_SYS_FSL_ESDHC_BE macros

For LS102xA, the processor is in little-endian mode, while esdhc IP is
in big-endian mode. CONFIG_SYS_FSL_ESDHC_LE and CONFIG_SYS_FSL_ESDHC_BE
are added. So accessing ESDHC registers can be determined by ESDHC IP's
endian mode.

Signed-off-by: Alison Wang <alison.wang@freescale.com>
This commit is contained in:
Wang Huan
2014-09-05 13:52:39 +08:00
committed by York Sun
parent 52d00a812a
commit c82e9de400
2 changed files with 18 additions and 1 deletions

5
doc/README.fsl-esdhc Normal file
View File

@@ -0,0 +1,5 @@
CONFIG_SYS_FSL_ESDHC_LE means ESDHC IP is in little-endian mode.
CONFIG_SYS_FSL_ESDHC_BE means ESDHC IP is in big-endian mode.
Accessing ESDHC registers can be determined by ESDHC IP's endian
mode or processor's endian mode.