summaryrefslogtreecommitdiff
path: root/arch/arm/mach-socfpga/include/mach/sdram.h
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-12 20:05:54 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:11 +0200
commit17fdc9167fd8598d49f8edc930a5e5e649bd1299 (patch)
treede7505106d5b3a71523f82158ca79c4395151638 /arch/arm/mach-socfpga/include/mach/sdram.h
parentc4815f76715c20dd64f4fd988f57ccb9bc84d79b (diff)
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/mach/sdram.h')
-rw-r--r--arch/arm/mach-socfpga/include/mach/sdram.h2
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 873ea25e16..d57257df24 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;