diff options
author | Marek Vasut <marex@denx.de> | 2015-08-01 20:30:10 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:26 +0200 |
commit | 04ae4489975a54ad36a088293f96f32e3c795b39 (patch) | |
tree | b24d1b41a3ccd5cebc420385f32355a63f034b5c /configs/integratorcp_cm920t_defconfig | |
parent | 9a48a9ac6cf5d647e38bdf43b91fe751e5415f6e (diff) |
ddr: altera: sdram: Introduce socfpga_sdram_config() structure
Introduce this seemingly massive structure, which holds required values
of all the registers of the SDRAM controller. The idea here is to avoid
including the sdram.h header file, which is full of ad-hoc macros that
polute the global namespace. Once the cleanup of sdram.c would be complete
and all registers would be loaded from this new socfpga_sdram_config, a
board file will only pass this structure into the sdram.c . This will
hide all the horrors generated by QTS in the board directory.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'configs/integratorcp_cm920t_defconfig')
0 files changed, 0 insertions, 0 deletions