Add DDR options setting on MPC8641HPCN board
authorHaiying Wang <Haiying.Wang@freescale.com>
Fri, 3 Oct 2008 16:37:57 +0000 (12:37 -0400)
committerWolfgang Denk <wd@denx.de>
Sat, 18 Oct 2008 19:54:05 +0000 (21:54 +0200)
commitc21617fd265b7c126c6e2f2d8a23cdb00d4fade7
tree50a53d32617be9f11c126caada5ef2f0bf15dde5
parent4ca06607d60d0a6378812ef58fd1eab2a7f77111
Add DDR options setting on MPC8641HPCN board

* Add board specific parameter table to choose correct cpo, clk_adjust,
write_data_delay based on board ddr frequency and n_ranks.

* Set odt_rd_cfg and odt_wr_cfg based on the dimm# and CS#.

Signed-off-by: James Yang <James.Yang@freescale.com>
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
board/freescale/mpc8641hpcn/ddr.c