ddr: altera: sdram: Clean up sdram_calculate_size() part 1
authorMarek Vasut <marex@denx.de>
Sat, 1 Aug 2015 19:44:00 +0000 (21:44 +0200)
committerMarek Vasut <marex@denx.de>
Sat, 8 Aug 2015 12:14:27 +0000 (14:14 +0200)
commitbb056d9c07fd08a743b262b82f26be8fbe710955
treebc687eca0496d12a8c48337b42b061ff42be4d74
parent5af914189ec73b2241ba79950f98849fddaf32a2
ddr: altera: sdram: Clean up sdram_calculate_size() part 1

Pluck out all of the CONFIG_HPS_SDR_CTRLCFG_* macros. This change
makes sdram.c completely clear of these macros and allows removing
of the ugly include of sdram.h . The namespace is now a much nicer
place!

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/ddr/altera/sdram.c