mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Wang Huan](/assets/img/avatar_default.png)
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>
6 lines
226 B
Plaintext
6 lines
226 B
Plaintext
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.
|