u-boot/drivers/ddr/altera
Marek Vasut b2dfd100bc ddr: altera: Clean up set_rank_and_odt_mask() part 1
First, invert the logic of the if (odt_mode == ...) conditional to make
the OFF mode harder to miss. It is a short piece of code right at the
end, so move it up.

Also, clean up data types and constify where applicable and clean up
the cs_and_odt_mask assignment. No functional change.

Signed-off-by: Marek Vasut <marex@denx.de>
2015-08-08 14:14:15 +02:00
..
Makefile driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sdram.c ddr: altera: Wrap SOCFPGA_SDR_ADDRESS into SDR_PHYGRP.*ADDRESS 2015-08-08 14:14:11 +02:00
sequencer_auto_ac_init.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_auto_inst_init.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_auto.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer_defines.h driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sequencer.c ddr: altera: Clean up set_rank_and_odt_mask() part 1 2015-08-08 14:14:15 +02:00
sequencer.h ddr: altera: Clean up mem_config() 2015-08-08 14:14:14 +02:00