diff mbox

[3/3] ARM: at91: renamme rm9200 dt file

Message ID 1362666113-16434-3-git-send-email-plagnioj@jcrosoft.com (mailing list archive)
State New, archived
Headers show

Commit Message

Jean-Christophe PLAGNIOL-VILLARD March 7, 2013, 2:21 p.m. UTC
to follow the same scheme board-dt-<socs>.c

Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-at91/Makefile                                 |    2 +-
 arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} |    0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} (100%)

diff --git a/arch/arm/mach-at91/board-rm9200-dt.c b/arch/arm/mach-at91/board-dt-rm9200.c
similarity index 100%
rename from arch/arm/mach-at91/board-rm9200-dt.c
rename to arch/arm/mach-at91/board-dt-rm9200.c

Comments

Nicolas Ferre March 13, 2013, 2:22 p.m. UTC | #1
On 03/07/2013 03:21 PM, Jean-Christophe PLAGNIOL-VILLARD :
> to follow the same scheme board-dt-<socs>.c

Well not <socs> as each and every SoC will not have its own board file.
I confess that finding a proper name is not easy, what about:

Rename the board-rm9200-dt.c file so that we follow the pattern for
Device Tree board files: board-dt-<name of SoC sharing same core>.c

Best regards,

> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
> Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  arch/arm/mach-at91/Makefile                                 |    2 +-
>  arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} |    0
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  rename arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} (100%)
> 
> diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
> index 5eca35a..505fed9 100644
> --- a/arch/arm/mach-at91/Makefile
> +++ b/arch/arm/mach-at91/Makefile
> @@ -87,7 +87,7 @@ obj-$(CONFIG_MACH_SNAPPER_9260)	+= board-snapper9260.o
>  obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
>  
>  # AT91SAM board with device-tree
> -obj-$(CONFIG_MACH_AT91RM9200_DT) += board-rm9200-dt.o
> +obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
>  obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
>  
>  # AT91X40 board-specific support
> diff --git a/arch/arm/mach-at91/board-rm9200-dt.c b/arch/arm/mach-at91/board-dt-rm9200.c
> similarity index 100%
> rename from arch/arm/mach-at91/board-rm9200-dt.c
> rename to arch/arm/mach-at91/board-dt-rm9200.c
>
Nicolas Ferre March 13, 2013, 4:30 p.m. UTC | #2
On 03/13/2013 03:22 PM, Nicolas Ferre :
> On 03/07/2013 03:21 PM, Jean-Christophe PLAGNIOL-VILLARD :
>> to follow the same scheme board-dt-<socs>.c
> 
> Well not <socs> as each and every SoC will not have its own board file.
> I confess that finding a proper name is not easy, what about:
> 
> Rename the board-rm9200-dt.c file so that we follow the pattern for
> Device Tree board files: board-dt-<name of SoC sharing same core>.c

Queued in at91-3.10-soc with this modified commit message.

Thanks, best regards,


> Best regards,
> 
>> Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
>> Cc: Ludovic Desroches <ludovic.desroches@atmel.com>
>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
>> ---
>>  arch/arm/mach-at91/Makefile                                 |    2 +-
>>  arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} |    0
>>  2 files changed, 1 insertion(+), 1 deletion(-)
>>  rename arch/arm/mach-at91/{board-rm9200-dt.c => board-dt-rm9200.c} (100%)
>>
>> diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
>> index 5eca35a..505fed9 100644
>> --- a/arch/arm/mach-at91/Makefile
>> +++ b/arch/arm/mach-at91/Makefile
>> @@ -87,7 +87,7 @@ obj-$(CONFIG_MACH_SNAPPER_9260)	+= board-snapper9260.o
>>  obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
>>  
>>  # AT91SAM board with device-tree
>> -obj-$(CONFIG_MACH_AT91RM9200_DT) += board-rm9200-dt.o
>> +obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
>>  obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
>>  
>>  # AT91X40 board-specific support
>> diff --git a/arch/arm/mach-at91/board-rm9200-dt.c b/arch/arm/mach-at91/board-dt-rm9200.c
>> similarity index 100%
>> rename from arch/arm/mach-at91/board-rm9200-dt.c
>> rename to arch/arm/mach-at91/board-dt-rm9200.c
>>
> 
>
diff mbox

Patch

diff --git a/arch/arm/mach-at91/Makefile b/arch/arm/mach-at91/Makefile
index 5eca35a..505fed9 100644
--- a/arch/arm/mach-at91/Makefile
+++ b/arch/arm/mach-at91/Makefile
@@ -87,7 +87,7 @@  obj-$(CONFIG_MACH_SNAPPER_9260)	+= board-snapper9260.o
 obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o
 
 # AT91SAM board with device-tree
-obj-$(CONFIG_MACH_AT91RM9200_DT) += board-rm9200-dt.o
+obj-$(CONFIG_MACH_AT91RM9200_DT) += board-dt-rm9200.o
 obj-$(CONFIG_MACH_AT91SAM9_DT) += board-dt-sam9.o
 
 # AT91X40 board-specific support