powerpc/mpc8xxx: Merge entries in DDR speed table
authorYork Sun <yorksun@freescale.com>
Mon, 3 Oct 2011 16:19:53 +0000 (09:19 -0700)
committerKumar Gala <galak@kernel.crashing.org>
Sun, 9 Oct 2011 22:57:53 +0000 (17:57 -0500)
commit712cf7ab0b58e51a69e339397457d3591b6b650e
tree423007606295f192d23950f35d6b7cca16abb000
parentebfdacb42b5e29ed847a8bee05affc24e3d4eb10
powerpc/mpc8xxx: Merge entries in DDR speed table

It is not necessary to keep multiple entries for the same setting in DDR
speed tables. Merge them for smaller tables. Also restructure the tables
for smaller size. Cleanup some typedefs.

Enforce strict checking for speed table. If DIMM is running at higher than
known speed, try to use the highest speed setting. If rank is unknown, it
has to panic.

Removed ODT overriding for P2020DS as it is not necessary.

Signed-off-by: York Sun <yorksun@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/corenet_ds/ddr.c
board/freescale/mpc8349emds/ddr.c
board/freescale/mpc8572ds/ddr.c
board/freescale/mpc8641hpcn/ddr.c
board/freescale/p1022ds/ddr.c
board/freescale/p2020ds/ddr.c
board/freescale/p2041rdb/ddr.c