diff options
author | Marek Vasut <marex@denx.de> | 2015-08-01 23:12:11 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:28 +0200 |
commit | 08eb947004c56710960b16bacd46a0a6b2af821c (patch) | |
tree | cf297a44e66457d670dc6c78cae084e3e031c803 /drivers/video/exynos_pwm_bl.c | |
parent | 6d01595f637b94e0e985cc5fb2be42b5982d3cd5 (diff) | |
download | talos-obmc-uboot-08eb947004c56710960b16bacd46a0a6b2af821c.tar.gz talos-obmc-uboot-08eb947004c56710960b16bacd46a0a6b2af821c.zip |
ddr: altera: sdram: Make sdram_start and sdram_end into u32
Originally, both sdram_start and sdram_end were 64b values. The
sdram_start had no reason for being so, since our address space
is only 32b, so switching sdram_start to u32 is simple.
The sdram_end is a bit more complex, since it can actually be
set to (1 << 32) if someone really wanted to use an SoCFPGA with
4 GiB of DRAM and fixed the code around a little. But, the code
handling the protection rules internally decrements the sdram_end
variable anyway. Thus, instead of calling the code and passing in
the address of the SDRAM end, pass in the address already decremented
by one. This lets the sdram_end be 32b as well.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/video/exynos_pwm_bl.c')
0 files changed, 0 insertions, 0 deletions