powerpc/p1010rdb: fix calculating ddr_freq_mhz
authorShengzhou Liu <Shengzhou.Liu@freescale.com>
Tue, 13 Aug 2013 08:41:19 +0000 (16:41 +0800)
committerYork Sun <yorksun@freescale.com>
Tue, 20 Aug 2013 17:46:58 +0000 (10:46 -0700)
commite1a2a3401956f546ac18cdc58716860286868425
tree3bc3f3e1c84e7ccc9870c538b5ce1015f494fabc
parent1c68d01eea92137482b980318e2a7f7c0ebef2d4
powerpc/p1010rdb: fix calculating ddr_freq_mhz

There was a bug for calculating ddr_freq_mhz,
it should be divided by 1000000 rather than 0x1000000.

Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Acked-by: York Sun <yorksun@freescale.com>
board/freescale/p1010rdb/spl_minimal.c