summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sdram.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2015-07-12 15:59:10 +0200
committerMarek Vasut <marex@denx.de>2015-08-08 14:14:05 +0200
commitd04941cf3314c4b1f75f5c5d543b0c6257eff1ee (patch)
tree3fcc29b135894e3496722699b6ac6c0df41afba3 /drivers/ddr/altera/sdram.c
parentcdd4e6cc372b643e0aa09b5c31ff7e32d7a076de (diff)
downloadu-boot-imx-d04941cf3314c4b1f75f5c5d543b0c6257eff1ee.zip
u-boot-imx-d04941cf3314c4b1f75f5c5d543b0c6257eff1ee.tar.gz
u-boot-imx-d04941cf3314c4b1f75f5c5d543b0c6257eff1ee.tar.bz2
arm: socfpga: Move sdram_config.h to board dir
This file is absolutelly positively board specific, so move it into the correct place. Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/ddr/altera/sdram.c')
-rw-r--r--drivers/ddr/altera/sdram.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/ddr/altera/sdram.c b/drivers/ddr/altera/sdram.c
index 5d8fed3..2822d1d 100644
--- a/drivers/ddr/altera/sdram.c
+++ b/drivers/ddr/altera/sdram.c
@@ -8,10 +8,15 @@
#include <watchdog.h>
#include <asm/arch/fpga_manager.h>
#include <asm/arch/sdram.h>
-#include <asm/arch/sdram_config.h>
#include <asm/arch/system_manager.h>
#include <asm/io.h>
+/*
+ * FIXME: This path is temporary until the SDRAM driver gets
+ * a proper thorough cleanup.
+ */
+#include "../../../board/altera/socfpga/qts/sdram_config.h"
+
/* define constant for 4G memory - used for SDRAM errata workaround */
#define MEMSIZE_4G (4ULL * 1024ULL * 1024ULL * 1024ULL)