summaryrefslogtreecommitdiff
path: root/doc/README.dk1s10_std32
diff options
context:
space:
mode:
authorRabin Vincent <rabin@rab.in>2009-04-05 13:30:55 +0530
committerAndy Fleming <afleming@freescale.com>2009-06-02 17:18:57 -0500
commit0b453ffe28bb9227d86ddbe0893bd19c93f04ed7 (patch)
tree30ca9a03cccd70c552d211512430fa3431b97c35 /doc/README.dk1s10_std32
parent9b1f942c09dd942e6de3185caa81c111b14de567 (diff)
downloadu-boot-imx-0b453ffe28bb9227d86ddbe0893bd19c93f04ed7.zip
u-boot-imx-0b453ffe28bb9227d86ddbe0893bd19c93f04ed7.tar.gz
u-boot-imx-0b453ffe28bb9227d86ddbe0893bd19c93f04ed7.tar.bz2
mmc: fix response decoding on little endian
The mmc code defines the response as an array of chars. However, it access the response bytes both as (i) an array of four uints (with casts) and (ii) as individual chars. The former case is used more often, including by the driver when it assigns the response. The char-wise accesses are broken on little endian systems because they assume that the bytes in the uints are in big endian byte order. This patch fixes this by changing the response to be an array of four uints and replacing the char-wise accesses with equivalent uint-wise accesses. Signed-off-by: Rabin Vincent <rabin@rab.in>
Diffstat (limited to 'doc/README.dk1s10_std32')
0 files changed, 0 insertions, 0 deletions