diff mbox

[U-Boot] driver/ddr/fsl: Remove duplicate inclusion of header file

Message ID 1418982270-6276-1-git-send-email-Chunhe.Lan@freescale.com
State Changes Requested
Delegated to: York Sun
Headers show

Commit Message

Chunhe Lan Dec. 19, 2014, 9:44 a.m. UTC
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@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(-)

Comments

York Sun Dec. 19, 2014, 6:10 p.m. UTC | #1
On 12/19/2014 01:44 AM, Chunhe Lan wrote:
> 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@freescale.com>
> ---

Did you test this patch? Please rebase and compile for powerpc and arm platforms.

York
diff mbox

Patch

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 */