[U-Boot] [PATCH 3/5] mmc: exynos_dw_mmc: add the error control for checking index

Simon Glass sjg at chromium.org
Thu Jun 30 01:05:13 CEST 2016


On 29 June 2016 at 03:46, Jaehoon Chung <jh80.chung at samsung.com> wrote:
> PERIPH_ID_SDMMC4(131) is not continous value with PERIPH_ID_SDMMC0(75).
> If there is no 'index' property in fdt, then dev_index should be
> assigned to dev_id(Peripheral ID).
> At this time, dev_index should be "56". It means Exynos SoC has "56"
> numbers of DWMMC IP. To prevent this behavior, it needs to check the
> maximum device index.
>
> Signed-off-by: Jaehoon Chung <jh80.chung at samsung.com>
> ---
>  drivers/mmc/exynos_dw_mmc.c | 5 +++++
>  1 file changed, 5 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list