Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • stable
  • extraversion
  • early-display
  • variant-emmc-nvme-boot
  • 2024-07-19
  • 2024-06-30
  • 2023-10-18
  • 2023-10-10
  • 2023-07-04
  • 2023-01-25
  • v3
  • variant-emmc-nvme-boot
  • 2020-06-01
14 results

sequencer.c

Blame
    • Marek Vasut's avatar
      6d7a3330
      ddr: altera: Replace float multiplication with integer one · 6d7a3330
      Marek Vasut authored
      
      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: default avatarMarek Vasut <marex@denx.de>
      6d7a3330
      History
      ddr: altera: Replace float multiplication with integer one
      Marek Vasut authored
      
      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: default avatarMarek Vasut <marex@denx.de>