]> Git Repo - J-u-boot.git/commit
mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements
authorKyle Moffett <[email protected]>
Mon, 28 Mar 2011 15:35:48 +0000 (11:35 -0400)
committerKumar Gala <[email protected]>
Mon, 4 Apr 2011 14:24:43 +0000 (09:24 -0500)
commitc7fd27ccfb3225ffaf2ad88c44a89eeccc1008ac
tree9286d6c8bc3c4422e4d6a21252957be3117555a7
parente820a131f4084397a212c6ffe3ed8ea0ce43631f
mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements

The numeric constants in the switch statements are replaced by #defines
added to the common ddr_spd.h header.  This dramatically improves the
readability of the switch statments.

In addition, a few of the longer lines were cleaned up, and the DDR2
type for an SO-RDIMM module was added to the DDR2 switch statement.

Signed-off-by: Kyle Moffett <[email protected]>
Cc: Andy Fleming <[email protected]>
Cc: Kim Phillips <[email protected]>
Acked-by: York Sun <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
arch/powerpc/cpu/mpc8xxx/ddr/ddr2_dimm_params.c
arch/powerpc/cpu/mpc8xxx/ddr/ddr3_dimm_params.c
common/ddr_spd.c
include/ddr_spd.h
This page took 0.042386 seconds and 4 git commands to generate.