]> git.dujemihanovic.xyz Git - u-boot.git/commit
powerpc/mpc8xxx: check SPD length before using part number
authorYork Sun <yorksun@freescale.com>
Thu, 26 May 2011 23:25:50 +0000 (07:25 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 11 Jul 2011 18:24:19 +0000 (13:24 -0500)
commitd2246549c7a71a3fca240e78bbcda6951195cfe3
tree9b12c4b0157679266a0ea859a7fd390e61414014
parente090aa7cf05fe3cde7ce751cbb4f0c59cc113035
powerpc/mpc8xxx: check SPD length before using part number

Only use DDR DIMM part number if SPD has valid length, to prevent from
display garbage in case SPD doesn't cover these fields.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c