diff options
author | Marek Vasut <marex@denx.de> | 2015-07-12 15:59:10 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-08 14:14:05 +0200 |
commit | d04941cf3314c4b1f75f5c5d543b0c6257eff1ee (patch) | |
tree | 3fcc29b135894e3496722699b6ac6c0df41afba3 | |
parent | cdd4e6cc372b643e0aa09b5c31ff7e32d7a076de (diff) | |
download | u-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>
-rw-r--r-- | board/altera/socfpga/qts/sdram_config.h (renamed from arch/arm/mach-socfpga/include/mach/sdram_config.h) | 0 | ||||
-rw-r--r-- | drivers/ddr/altera/sdram.c | 7 |
2 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/sdram_config.h b/board/altera/socfpga/qts/sdram_config.h index f6d51ca..f6d51ca 100644 --- a/arch/arm/mach-socfpga/include/mach/sdram_config.h +++ b/board/altera/socfpga/qts/sdram_config.h 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) |