[U-Boot] [PATCH] driver/ddr/fsl: Remove duplicate inclusion of header file
Chunhe Lan
Chunhe.Lan at freescale.com
Fri Dec 19 10:44:30 CET 2014
The fsl_immap.h header file had been included in common.h
header file. So remove duplicated header.
Signed-off-by: Chunhe Lan <Chunhe.Lan at freescale.com>
---
drivers/ddr/fsl/ctrl_regs.c | 1 -
drivers/ddr/fsl/fsl_ddr_gen4.c | 1 -
drivers/ddr/fsl/util.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/drivers/ddr/fsl/ctrl_regs.c b/drivers/ddr/fsl/ctrl_regs.c
index 03d7ff1..325bf06 100644
--- a/drivers/ddr/fsl/ctrl_regs.c
+++ b/drivers/ddr/fsl/ctrl_regs.c
@@ -14,7 +14,6 @@
#include <fsl_ddr_sdram.h>
#include <fsl_ddr.h>
-#include <fsl_immap.h>
#include <asm/io.h>
unsigned int picos_to_mclk(unsigned int picos);
diff --git a/drivers/ddr/fsl/fsl_ddr_gen4.c b/drivers/ddr/fsl/fsl_ddr_gen4.c
index a3c01e7..8b78652 100644
--- a/drivers/ddr/fsl/fsl_ddr_gen4.c
+++ b/drivers/ddr/fsl/fsl_ddr_gen4.c
@@ -8,7 +8,6 @@
#include <asm/io.h>
#include <fsl_ddr_sdram.h>
#include <asm/processor.h>
-#include <fsl_immap.h>
#include <fsl_ddr.h>
#if (CONFIG_CHIP_SELECTS_PER_CTRL > 4)
diff --git a/drivers/ddr/fsl/util.c b/drivers/ddr/fsl/util.c
index 58b519b..a66f1ea 100644
--- a/drivers/ddr/fsl/util.c
+++ b/drivers/ddr/fsl/util.c
@@ -13,7 +13,6 @@
#include <div64.h>
#include <fsl_ddr.h>
-#include <fsl_immap.h>
#include <asm/io.h>
/* To avoid 64-bit full-divides, we factor this here */
--
1.7.6.5
More information about the U-Boot
mailing list