[U-Boot] [PATCH 00/28] socfpga: sdram.c cleanups

Marek Vasut marex at denx.de
Sat Aug 1 23:34:29 CEST 2015


This entire series focuses solely on cleaning up the drivers/ddr/altera/sdram.c
file. After this series, this one file is totally checkpatch clean and does not
pull in any weird qts-generated macros ; all that is wrapped in the board file.

This micro-series applies on top of my previous mega-series [1].
This series is available via git at [2].

[1] https://www.mail-archive.com/u-boot@lists.denx.de/msg178890.html
[2] http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/06-ddr-part2

Marek Vasut (28):
  ddr: altera: sdram: Switch to generic_hweight32()
  ddr: altera: sdram: Clean up compute_errata_rows() part 1
  ddr: altera: sdram: Clean up compute_errata_rows() part 2
  ddr: altera: sdram: Clean up set_sdr_ctrlcfg()
  ddr: altera: sdram: Clean up set_sdr_dram_timing*()
  ddr: altera: sdram: Clean up set_sdr_addr_rw()
  ddr: altera: sdram: Clean up set_sdr_static_cfg()
  ddr: altera: sdram: Clean up set_sdr_fifo_cfg()
  ddr: altera: sdram: Clean up set_sdr_mp_weight()
  ddr: altera: sdram: Clean up set_sdr_mp_pacing()
  ddr: altera: sdram: Clean up set_sdr_mp_threshold()
  ddr: altera: sdram: Introduce socfpga_sdram_config() structure
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 1
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 2
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 3
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 4
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 5
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 6
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 7
  ddr: altera: sdram: Clean up sdram_mmr_init_full() part 8
  ddr: altera: sdram: Introduce socfpga_sdram_get_config()
  ddr: altera: sdram: Clean up sdram_calculate_size() part 1
  ddr: altera: sdram: Clean up sdram_calculate_size() part 2
  ddr: altera: sdram: Clean up sdram_write_verify()
  ddr: altera: sdram: Add missing kerneldoc
  ddr: altera: sdram: Minor cleanup in sdram_set_rule()
  ddr: altera: sdram: Minor cleanup in sdram_get_rule()
  ddr: altera: sdram: Make sdram_start and sdram_end into u32

 arch/arm/mach-socfpga/include/mach/sdram.h |  44 +-
 board/altera/socfpga/Makefile              |   3 +-
 board/altera/socfpga/wrap_sdram_config.c   | 185 ++++++++
 drivers/ddr/altera/sdram.c                 | 724 +++++++++--------------------
 4 files changed, 451 insertions(+), 505 deletions(-)
 create mode 100644 board/altera/socfpga/wrap_sdram_config.c

-- 
2.1.4



More information about the U-Boot mailing list