diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2016-07-22 17:22:50 +0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-07-31 07:24:20 -0600 |
commit | 46683f3da191a4c2156d5473c23b9923c461912c (patch) | |
tree | 215fabaa1e45e5bbc1f8e1766c2c152f63445696 /arch/arm/mach-rockchip/rk3036/Kconfig | |
parent | 5c928d02044345b843202f23540c3765468c1d6f (diff) | |
download | u-boot-imx-46683f3da191a4c2156d5473c23b9923c461912c.zip u-boot-imx-46683f3da191a4c2156d5473c23b9923c461912c.tar.gz u-boot-imx-46683f3da191a4c2156d5473c23b9923c461912c.tar.bz2 |
mmc-uclass: correct the device number
Not like the mmc-legacy which the devnum starts from 1, it starts from 0
in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num().
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'arch/arm/mach-rockchip/rk3036/Kconfig')
0 files changed, 0 insertions, 0 deletions