summaryrefslogtreecommitdiff
path: root/common/env_sf.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-08-01 20:30:10 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:26 +0200
commit04ae4489975a54ad36a088293f96f32e3c795b39 (patch)
treeb24d1b41a3ccd5cebc420385f32355a63f034b5c /common/env_sf.c
parent9a48a9ac6cf5d647e38bdf43b91fe751e5415f6e (diff)
downloadu-boot-imx-04ae4489975a54ad36a088293f96f32e3c795b39.zip
u-boot-imx-04ae4489975a54ad36a088293f96f32e3c795b39.tar.gz
u-boot-imx-04ae4489975a54ad36a088293f96f32e3c795b39.tar.bz2
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 'common/env_sf.c')
0 files changed, 0 insertions, 0 deletions