diff options
author | Marek Vasut <marex@denx.de> | 2015-07-12 18:05:54 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 12:14:11 (GMT) |
commit | 17fdc9167fd8598d49f8edc930a5e5e649bd1299 (patch) | |
tree | de7505106d5b3a71523f82158ca79c4395151638 /arch/arm/mach-socfpga/include | |
parent | c4815f76715c20dd64f4fd988f57ccb9bc84d79b (diff) | |
download | u-boot-17fdc9167fd8598d49f8edc930a5e5e649bd1299.tar.xz |
ddr: altera: Wrap SOCFPGA_SDR_ADDRESS into SDR_PHYGRP.*ADDRESS
Just trim down the constant SOCFPGA_SDR_ADDRESS + SDR_PHYGRP.*ADDRESS
in the code.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include')
-rw-r--r-- | arch/arm/mach-socfpga/include/mach/sdram.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram.h b/arch/arm/mach-socfpga/include/mach/sdram.h index 873ea25..d57257d 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram.h +++ b/arch/arm/mach-socfpga/include/mach/sdram.h @@ -14,7 +14,7 @@ int sdram_calibration_full(void); extern int sdram_calibration(void); -#define SDR_CTRLGRP_ADDRESS 0x5000 +#define SDR_CTRLGRP_ADDRESS (SOCFPGA_SDR_ADDRESS | 0x5000) struct socfpga_sdr_ctrl { u32 ctrl_cfg; |