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

sdram.c

  • Marek Vasut's avatar
    067c853f
    ddr: altera: sdram: Clean up set_sdr_ctrlcfg() · 067c853f
    Marek Vasut authored
    
    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>
    067c853f
    History
    ddr: altera: sdram: Clean up set_sdr_ctrlcfg()
    Marek Vasut authored
    
    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>