commit | 82a276413632536d52227831ad8bc0286af17549 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Sat Aug 01 19:33:40 2015 +0200 |
committer | Marek Vasut <marex@denx.de> | Sat Aug 08 14:14:25 2015 +0200 |
tree | 1ff7bf0757109141220d3a1d7261f435e1a5b5c5 | |
parent | 724c50fc8916effdd4e0f0b7a1be193d01ed4a16 [diff] |
ddr: altera: sdram: Clean up set_sdr_ctrlcfg() Get rid of the constant clrsetbits_le32(), instead prepare the whole content of the register once and write it at the end of the function. The big plan here is to remove all the CONFIG_HPS_SDR_ macros, hide them in QTS compatibility layer in board implementation and pass only a small structure into the driver. Signed-off-by: Marek Vasut <marex@denx.de>