ddr: socfpga: Fix IO in Arria10 DDR driver
authorMarek Vasut <marex@denx.de>
Tue, 5 Mar 2019 17:37:02 +0000 (18:37 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 9 Mar 2019 16:59:13 +0000 (17:59 +0100)
commit71fc4825f72cc8f9a066e0a23d71e86242738561
tree320012410fbc7a749ea74a458a507e91ff42e391
parent532a54e65278564ac16878cda7146d247d8b3193
ddr: socfpga: Fix IO in Arria10 DDR driver

The Altera Arria10 DDR driver was using constants in a few places
instead of reading registers associated with those constants, fix
this.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <chin.liang.see@intel.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/ddr/altera/sdram_arria10.c