From 9c76df518cf419a9d7db89c85627049c5d11520f Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sun, 2 Aug 2015 16:55:45 +0200 Subject: [PATCH] ddr: altera: sequencer: Move qts-generated files to board dir Move the files generated by QTS into the board directory, they should not be part of the driver files at all. Signed-off-by: Marek Vasut Acked-by: Dinh Nguyen --- .../altera/socfpga/qts}/sequencer_auto.h | 0 .../altera/socfpga/qts}/sequencer_auto_ac_init.h | 0 .../altera/socfpga/qts}/sequencer_auto_inst_init.h | 0 .../altera/socfpga/qts}/sequencer_defines.h | 0 drivers/ddr/altera/sequencer.c | 13 +++++++++---- 5 files changed, 9 insertions(+), 4 deletions(-) rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto.h (100%) rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto_ac_init.h (100%) rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_auto_inst_init.h (100%) rename {drivers/ddr/altera => board/altera/socfpga/qts}/sequencer_defines.h (100%) diff --git a/drivers/ddr/altera/sequencer_auto.h b/board/altera/socfpga/qts/sequencer_auto.h similarity index 100% rename from drivers/ddr/altera/sequencer_auto.h rename to board/altera/socfpga/qts/sequencer_auto.h diff --git a/drivers/ddr/altera/sequencer_auto_ac_init.h b/board/altera/socfpga/qts/sequencer_auto_ac_init.h similarity index 100% rename from drivers/ddr/altera/sequencer_auto_ac_init.h rename to board/altera/socfpga/qts/sequencer_auto_ac_init.h diff --git a/drivers/ddr/altera/sequencer_auto_inst_init.h b/board/altera/socfpga/qts/sequencer_auto_inst_init.h similarity index 100% rename from drivers/ddr/altera/sequencer_auto_inst_init.h rename to board/altera/socfpga/qts/sequencer_auto_inst_init.h diff --git a/drivers/ddr/altera/sequencer_defines.h b/board/altera/socfpga/qts/sequencer_defines.h similarity index 100% rename from drivers/ddr/altera/sequencer_defines.h rename to board/altera/socfpga/qts/sequencer_defines.h diff --git a/drivers/ddr/altera/sequencer.c b/drivers/ddr/altera/sequencer.c index 37f735475b..bc2e4571fb 100644 --- a/drivers/ddr/altera/sequencer.c +++ b/drivers/ddr/altera/sequencer.c @@ -9,10 +9,15 @@ #include #include #include "sequencer.h" -#include "sequencer_auto.h" -#include "sequencer_auto_ac_init.h" -#include "sequencer_auto_inst_init.h" -#include "sequencer_defines.h" + +/* + * FIXME: This path is temporary until the SDRAM driver gets + * a proper thorough cleanup. + */ +#include "../../../board/altera/socfpga/qts/sequencer_auto.h" +#include "../../../board/altera/socfpga/qts/sequencer_auto_ac_init.h" +#include "../../../board/altera/socfpga/qts/sequencer_auto_inst_init.h" +#include "../../../board/altera/socfpga/qts/sequencer_defines.h" static struct socfpga_sdr_rw_load_manager *sdr_rw_load_mgr_regs = (struct socfpga_sdr_rw_load_manager *)(SDR_PHYGRP_RWMGRGRP_ADDRESS | 0x800); -- 2.39.5