]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
powerpc/85xx: Remove DATARATE_*_MHZ defines in static ddr init
authorKumar Gala <galak@kernel.crashing.org>
Tue, 25 Jan 2011 05:36:17 +0000 (23:36 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:40 +0000 (09:24 -0500)
commit5cfbc458d4957a186d1433cf1c14e8f4e6d4431f
tree96bc8fc9e7b5208e681cfee684724efb20b1af2b
parentaa8d3fb8f4d383e7371f8f678ca3db1ca7d0ae32
powerpc/85xx: Remove DATARATE_*_MHZ defines in static ddr init

Rather than having #defines DATARATE_*_MHZ, lets just match what we do on
the SPD code and convert the DDR frequency into MHZ and just compare
with a constant.

Based on patch from Poonam Aggrwal.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/corenet_ds/ddr.c
board/freescale/corenet_ds/p4080ds_ddr.c
board/freescale/p1_p2_rdb/ddr.c