[U-Boot] [PATCH v3 27/31] ARM: i.MX6: %s/mx6sabresd/imx6sabresd

Jagan Teki
2017-04-05T19:20:37Z

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@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
---
arch/arm/cpu/armv7/mx6/Kconfig | 2 +-
board/freescale/{mx6sabresd => imx6sabresd}/Kconfig | 4 ++--
board/freescale/{mx6sabresd => imx6sabresd}/MAINTAINERS | 4 ++--
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, 6 insertions(+), 6 deletions(-)
rename board/freescale/{mx6sabresd => imx6sabresd}/Kconfig (70%)
rename board/freescale/{mx6sabresd => imx6sabresd}/MAINTAINERS (73%)
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..69bf645 100644
--- a/arch/arm/cpu/armv7/mx6/Kconfig
+++ b/arch/arm/cpu/armv7/mx6/Kconfig
@@ -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 73%
rename from board/freescale/mx6sabresd/MAINTAINERS
rename to board/freescale/imx6sabresd/MAINTAINERS
index 6b3fee9..43f1eb7 100644
--- a/board/freescale/mx6sabresd/MAINTAINERS
+++ b/board/freescale/imx6sabresd/MAINTAINERS
@@ -1,8 +1,8 @@
MX6SABRESD BOARD
M: Fabio Estevam <fabio.estevam@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/imx6qp_sabresd_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