u-boot/drivers/ddr/altera
Marek Vasut 6d7a33301a ddr: altera: Replace float multiplication with integer one
This gem is really really rare, there was an actual float used in
the Altera DDR init code, which pulled in floating point ops from
the libgcc, just wow.

Since we don't support floating point operations the same way Linux
does not support them, replace this with an integer multiplication
and division combo. This removes some 2kiB of size from the SPL as
the floating point ops are no longer pulled in from libgcc.

This was detected by enabling CONFIG_USE_PRIVATE_LIBGCC=y , which
does not contain the floating point bits.

Signed-off-by: Marek Vasut <marex@denx.de>
2015-08-23 11:56:19 +02:00
..
Makefile driver/ddr/altera: Add the sdram calibration portion 2015-08-08 14:14:05 +02:00
sdram.c ddr: altera: sdram: Make sdram_start and sdram_end into u32 2015-08-08 14:14:28 +02:00
sequencer.c ddr: altera: Replace float multiplication with integer one 2015-08-23 11:56:19 +02:00
sequencer.h ddr: altera: sequencer: Zap SEQ_T(INIT|RESET)_CNTR._VAL 2015-08-08 14:14:29 +02:00