X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=common%2Fddr_spd.c;h=7a388bb9fa10ac03915224110ebef119d9ae83e3;hb=6c169c12d7782335be2f1d303622bcd0e1d00a02;hp=c058e4f18a314c9fbc1890591d38bcb53ef0d803;hpb=ed9953d6903c9673135a96ae1644f61cb0eac5ce;p=karo-tx-uboot.git diff --git a/common/ddr_spd.c b/common/ddr_spd.c index c058e4f18a..7a388bb9fa 100644 --- a/common/ddr_spd.c +++ b/common/ddr_spd.c @@ -18,13 +18,17 @@ spd_check(const u8 *buf, u8 spd_rev, u8 spd_cksum) /* * Check SPD revision supported - * Rev 1.2 or less supported by this code + * Rev 1.X or less supported by this code */ - if (spd_rev > 0x12) { + if (spd_rev >= 0x20) { printf("SPD revision %02X not supported by this code\n", spd_rev); return 1; } + if (spd_rev > 0x13) { + printf("SPD revision %02X not verified by this code\n", + spd_rev); + } /* * Calculate checksum