> Code currently tests for <= 0xff.  Micron manufacturer code is 0xff, so
> Micron memory will not be detected!
>
> Signed-off-by: Steve Sakoman <st...@sakoman.com>
> ---
>  arch/arm/cpu/armv7/omap-common/emif-common.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/cpu/armv7/omap-common/emif-common.c
> b/arch/arm/cpu/armv7/omap-common/emif-common.c
> index 176520c..46be4e8 100644
> --- a/arch/arm/cpu/armv7/omap-common/emif-common.c
> +++ b/arch/arm/cpu/armv7/omap-common/emif-common.c
> @@ -831,7 +831,7 @@ static u8 is_lpddr2_sdram_present(u32 base, u32 cs,
>       }
>
>       mr = get_mr(base, cs, LPDDR2_MR5);
> -     if (mr >= 0xFF) {
> +     if (mr > 0xFF) {
 Looks correct..

Thanks,
 Sricharan
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to