[U-Boot] [PATCH v4 30/35] ARM: i.MX6: %s/mx6sabresd/imx6sabresd

Jagan Teki jagan at openedev.com
Sun Apr 9 06:52:51 UTC 2017


Rename all mx6sabresd files and directories to imx6sabresd,
this will eventually compatible with Linux i.MX file notations
and also some of the boards(engicam) in the current tree are now
following same convention.

Cc: Stefano Babic <sbabic at denx.de>
Cc: Fabio Estevam <fabio.estevam at nxp.com>
Cc: Michael Trimarchi <michael at amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
Changes for v4:
- Rename to imx6sabresd on arch/arm/cpu/armv7/mx6/Kconfig
Changes for v3:
- none
Changes for v2:
- none

 arch/arm/cpu/armv7/mx6/Kconfig                                        | 4 ++--
 board/freescale/{mx6sabresd => imx6sabresd}/Kconfig                   | 4 ++--
 board/freescale/{mx6sabresd => imx6sabresd}/MAINTAINERS               | 3 ++-
 board/freescale/{mx6sabresd => imx6sabresd}/Makefile                  | 2 +-
 board/freescale/{mx6sabresd => imx6sabresd}/README                    | 0
 .../freescale/{mx6sabresd/mx6sabresd.c => imx6sabresd/imx6sabresd.c}  | 0
 include/configs/{mx6sabresd.h => imx6sabresd.h}                       | 0
 7 files changed, 7 insertions(+), 6 deletions(-)
 rename board/freescale/{mx6sabresd => imx6sabresd}/Kconfig (70%)
 rename board/freescale/{mx6sabresd => imx6sabresd}/MAINTAINERS (81%)
 rename board/freescale/{mx6sabresd => imx6sabresd}/Makefile (86%)
 rename board/freescale/{mx6sabresd => imx6sabresd}/README (100%)
 rename board/freescale/{mx6sabresd/mx6sabresd.c => imx6sabresd/imx6sabresd.c} (100%)
 rename include/configs/{mx6sabresd.h => imx6sabresd.h} (100%)

diff --git a/arch/arm/cpu/armv7/mx6/Kconfig b/arch/arm/cpu/armv7/mx6/Kconfig
index 3170442..2987a8c 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -192,7 +192,7 @@ config TARGET_MX6QSABREAUTO
 	select BOARD_EARLY_INIT_F
 
 config TARGET_MX6SABRESD
-	bool "mx6sabresd"
+	bool "imx6sabresd"
 	select BOARD_LATE_INIT
 	select SUPPORT_SPL
 	select DM
@@ -393,9 +393,9 @@ source "board/engicam/geam6ul/Kconfig"
 source "board/engicam/icorem6/Kconfig"
 source "board/engicam/icorem6_rqs/Kconfig"
 source "board/engicam/isiotmx6ul/Kconfig"
+source "board/freescale/imx6sabresd/Kconfig"
 source "board/freescale/mx6qarm2/Kconfig"
 source "board/freescale/mx6qsabreauto/Kconfig"
-source "board/freescale/mx6sabresd/Kconfig"
 source "board/freescale/mx6slevk/Kconfig"
 source "board/freescale/mx6sllevk/Kconfig"
 source "board/freescale/mx6sxsabresd/Kconfig"
diff --git a/board/freescale/mx6sabresd/Kconfig b/board/freescale/imx6sabresd/Kconfig
similarity index 70%
rename from board/freescale/mx6sabresd/Kconfig
rename to board/freescale/imx6sabresd/Kconfig
index e87dea0..54eebf0 100644
--- a/board/freescale/mx6sabresd/Kconfig
+++ b/board/freescale/imx6sabresd/Kconfig
@@ -1,12 +1,12 @@
 if TARGET_MX6SABRESD
 
 config SYS_BOARD
-	default "mx6sabresd"
+	default "imx6sabresd"
 
 config SYS_VENDOR
 	default "freescale"
 
 config SYS_CONFIG_NAME
-	default "mx6sabresd"
+	default "imx6sabresd"
 
 endif
diff --git a/board/freescale/mx6sabresd/MAINTAINERS b/board/freescale/imx6sabresd/MAINTAINERS
similarity index 81%
rename from board/freescale/mx6sabresd/MAINTAINERS
rename to board/freescale/imx6sabresd/MAINTAINERS
index 281e709..e401b54 100644
--- a/board/freescale/mx6sabresd/MAINTAINERS
+++ b/board/freescale/imx6sabresd/MAINTAINERS
@@ -1,8 +1,9 @@
 MX6SABRESD BOARD
 M:	Fabio Estevam <fabio.estevam at nxp.com>
 S:	Maintained
-F:	board/freescale/mx6sabresd/
 F:	include/configs/mx6sabresd.h
+F:	board/freescale/imx6sabresd/
+F:	include/configs/imx6sabresd.h
 F:	configs/imx6dl_sabresd_defconfig
 F:	configs/imx6q_sabresd_defconfig
 F:	configs/imx6dl_sabresd_spl_defconfig
diff --git a/board/freescale/mx6sabresd/Makefile b/board/freescale/imx6sabresd/Makefile
similarity index 86%
rename from board/freescale/mx6sabresd/Makefile
rename to board/freescale/imx6sabresd/Makefile
index cfca2ef..5459f46 100644
--- a/board/freescale/mx6sabresd/Makefile
+++ b/board/freescale/imx6sabresd/Makefile
@@ -6,4 +6,4 @@
 # SPDX-License-Identifier:	GPL-2.0+
 #
 
-obj-y  := mx6sabresd.o
+obj-y  := imx6sabresd.o
diff --git a/board/freescale/mx6sabresd/README b/board/freescale/imx6sabresd/README
similarity index 100%
rename from board/freescale/mx6sabresd/README
rename to board/freescale/imx6sabresd/README
diff --git a/board/freescale/mx6sabresd/mx6sabresd.c b/board/freescale/imx6sabresd/imx6sabresd.c
similarity index 100%
rename from board/freescale/mx6sabresd/mx6sabresd.c
rename to board/freescale/imx6sabresd/imx6sabresd.c
diff --git a/include/configs/mx6sabresd.h b/include/configs/imx6sabresd.h
similarity index 100%
rename from include/configs/mx6sabresd.h
rename to include/configs/imx6sabresd.h
-- 
1.9.1



More information about the U-Boot mailing list