Skip to content
Snippets Groups Projects
Commit 067c853f authored by Marek Vasut's avatar Marek Vasut
Browse files

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: default avatarMarek Vasut <marex@denx.de>
parent f3671697
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment