Marek Vasut
6cb9f16781
ddr: altera: Stop using SDR_CTRLGRP_ADDRESS directly
...
Use the proper structure which describes these registers,
especially since this is already in place.
Signed-off-by: Marek Vasut <marex@denx.de>
10 years ago
Marek Vasut
17fdc9167f
ddr: altera: Wrap SOCFPGA_SDR_ADDRESS into SDR_PHYGRP.*ADDRESS
...
Just trim down the constant SOCFPGA_SDR_ADDRESS + SDR_PHYGRP.*ADDRESS
in the code.
Signed-off-by: Marek Vasut <marex@denx.de>
10 years ago
Marek Vasut
c4815f7671
ddr: altera: Pluck out remaining sdr_get_addr() calls
...
Remove the remaining invocations of sdr_get_addr() and the function
itself. This makes the code a bit less cryptic.
Signed-off-by: Marek Vasut <marex@denx.de>
10 years ago
Dinh Nguyen
3da428595e
driver/ddr/altera: Add the sdram calibration portion
...
This patch adds the DDR calibration portion of the Altera SDRAM driver.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com>
10 years ago