Patchwork [U-Boot,v3,3/4] ftsdmc020: move ftsdmc020.h to include/faraday

login
register
mail settings
Submitter Macpaul Lin
Date April 16, 2011, 7:37 a.m.
Message ID <1302939431-27337-3-git-send-email-macpaul@andestech.com>
Download mbox | patch
Permalink /patch/91476/
State Accepted
Delegated to: Albert ARIBAUD
Headers show

Comments

Macpaul Lin - April 16, 2011, 7:37 a.m.
Move the header file "ftsdmc020.h" (SDRAM Controller)
to "include/faraday" folder.

This change will let other SoC which also use ftsdmc020
could share the same header file.

Signed-off-by: Macpaul Lin <macpaul@andestech.com>
---
Changes for v2:
 - Fix the include path of ftsdmc020 for a320evb.
 - v1 of this patch /patch/71953/ in patchworks has been marked as superseded.
Changes for v3:
 - format patch by -M option.

 board/faraday/a320evb/lowlevel_init.S              |    2 +-
 .../asm/arch-a320 => include/faraday}/ftsdmc020.h  |    0
 2 files changed, 1 insertions(+), 1 deletions(-)
 rename {arch/arm/include/asm/arch-a320 => include/faraday}/ftsdmc020.h (100%)

diff --git a/arch/arm/include/asm/arch-a320/ftsdmc020.h b/include/faraday/ftsdmc020.h
similarity index 100%
rename from arch/arm/include/asm/arch-a320/ftsdmc020.h
rename to include/faraday/ftsdmc020.h
Albert ARIBAUD - April 23, 2011, 7:33 a.m.
Hi MacPaul,

Le 16/04/2011 09:37, Macpaul Lin a écrit :
> Move the header file "ftsdmc020.h" (SDRAM Controller)
> to "include/faraday" folder.
>
> This change will let other SoC which also use ftsdmc020
> could share the same header file.
>
> Signed-off-by: Macpaul Lin<macpaul@andestech.com>
> ---

Applied to u-boot-arm/master, thanks.

Amicalement,

Patch

diff --git a/board/faraday/a320evb/lowlevel_init.S b/board/faraday/a320evb/lowlevel_init.S
index 97718c0..4262c11 100644
--- a/board/faraday/a320evb/lowlevel_init.S
+++ b/board/faraday/a320evb/lowlevel_init.S
@@ -21,7 +21,7 @@ 
 #include <version.h>
 
 #include <asm/macro.h>
-#include <asm/arch/ftsdmc020.h>
+#include <faraday/ftsdmc020.h>
 
 /*
  * parameters for the SDRAM controller