Searched hist:c7fd27ccfb3225ffaf2ad88c44a89eeccc1008ac (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/common/ |
| H A D | ddr_spd.c | c7fd27ccfb3225ffaf2ad88c44a89eeccc1008ac Mon Mar 28 15:35:48 UTC 2011 Kyle Moffett <Kyle.D.Moffett@boeing.com> 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 <Kyle.D.Moffett@boeing.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Kim Phillips <kim.phillips@freescale.com> Acked-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | ddr_spd.h | c7fd27ccfb3225ffaf2ad88c44a89eeccc1008ac Mon Mar 28 15:35:48 UTC 2011 Kyle Moffett <Kyle.D.Moffett@boeing.com> 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 <Kyle.D.Moffett@boeing.com> Cc: Andy Fleming <afleming@gmail.com> Cc: Kim Phillips <kim.phillips@freescale.com> Acked-by: York Sun <yorksun@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
|