diff options
| author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2018-02-09 12:09:27 +0100 |
|---|---|---|
| committer | Jaehoon Chung <jh80.chung@samsung.com> | 2018-02-19 16:59:21 +0900 |
| commit | a0276f3eeed539cbc5ecba694030519dcd1fe308 (patch) | |
| tree | 7e111a98370c6852c70608440836b38f9939e710 /scripts/basic/Makefile | |
| parent | 127a6011eead5fb7fbb9c62826034892591bc712 (diff) | |
| download | u-boot-a0276f3eeed539cbc5ecba694030519dcd1fe308.tar.gz u-boot-a0276f3eeed539cbc5ecba694030519dcd1fe308.tar.xz u-boot-a0276f3eeed539cbc5ecba694030519dcd1fe308.zip | |
mmc: Fix bug in sd_set_card_speed()
After settings the speed of the sd with the switch command, a check is
done to make sure that the new speed has been set. The current check has a
masking error: speed are encoded on 4 bits only.
Fix it by masking the upper bits.
This fixes a problem seen with QEmu emulating a vexpress-a15.
Reported-by: Jonathan Gray <jsg@jsg.id.au>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Jonathan Gray <jsg@jsg.id.au>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions
