diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-12-15 10:34:09 +0100 |
---|---|---|
committer | Lukasz Majewski <l.majewski@samsung.com> | 2014-12-18 12:26:06 +0100 |
commit | 7da6fa27168c468e58814d54fe3f66109036ec2e (patch) | |
tree | 17b26df37857b10b0da0971dabdeca166cf4caf2 /board/ti/beagle | |
parent | 267abc626da609560aecab83e06b187954974ba6 (diff) | |
download | u-boot-imx-7da6fa27168c468e58814d54fe3f66109036ec2e.zip u-boot-imx-7da6fa27168c468e58814d54fe3f66109036ec2e.tar.gz u-boot-imx-7da6fa27168c468e58814d54fe3f66109036ec2e.tar.bz2 |
dfu: mmc: check if mmc device exists in mmc_block_op()
The function mmc_block_op() is the last function before
the physicall data write, but the mmc device pointer is not
checked. If mmc device not exists, then data abort will occur.
To avoid this, first the mmc device pointer is checked.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[TestHW: Exynos4412-Trats2]
Diffstat (limited to 'board/ti/beagle')
0 files changed, 0 insertions, 0 deletions