Skip to contentSkip to conversation

engicam: Rename board dir, px30_core to px30

PATCH In review Jagan Teki 2 participants 2 messages Aug 4, 2021 – Dec 24, 2021

Subsystems (3)
lore
Share & tools
lore

Jagan Teki

author
#0 lore raw

PATCH 1/1 engicam: Rename board dir, px30_core to px30

Engicam hardware design solutions are based on System On Modules(SoM) with various SoCs like i.MX6, i.MX8 and PX30 etc.

The current directory structure uses the simplest way to understand these designs by listing each of these SoC in board/engicam/SoC and inside SoC directory has SoM file name as a board file name.

Right now all of the SoC's follow a similar approach except px30. So rename px30_core to px30.

---
Note:
This patch is on top of
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

 arch/arm/mach-rockchip/px30/Kconfig           | 2 +-
 board/engicam/{px30_core => px30}/Kconfig     | 2 +-
 board/engicam/{px30_core => px30}/MAINTAINERS | 0
 board/engicam/{px30_core => px30}/Makefile    | 0
 board/engicam/{px30_core => px30}/px30_core.c | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 rename board/engicam/{px30_core => px30}/Kconfig (90%)
 rename board/engicam/{px30_core => px30}/MAINTAINERS (100%)
 rename board/engicam/{px30_core => px30}/Makefile (100%)
 rename board/engicam/{px30_core => px30}/px30_core.c (100%)
arch/arm/mach-rockchip/px30/Kconfig +1 -1
index 98e09019a2..7b9b380dfa 100644
@@ -68,7 +68,7 @@ config DEBUG_UART_CHANNEL
 	  For using the UART for early debugging the route to use needs
 	  to be declared (0 or 1).
 
-source "board/engicam/px30_core/Kconfig"
+source "board/engicam/px30/Kconfig"
 source "board/hardkernel/odroid_go2/Kconfig"
 source "board/rockchip/evb_px30/Kconfig"
 
board/engicam/px30/Kconfig renamed from board/engicam/px30_core/Kconfig +1 -1
similarity index 90%
rename from board/engicam/px30_core/Kconfig
rename to board/engicam/px30/Kconfig
index a03be78369..10a7ec203f 100644
@@ -1,7 +1,7 @@
 if TARGET_PX30_CORE
 
 config SYS_BOARD
-	default "px30_core"
+	default "px30"
 
 config SYS_VENDOR
 	default "engicam"
board/engicam/px30/MAINTAINERS renamed from board/engicam/px30_core/MAINTAINERS +0 -0
similarity index 100%
rename from board/engicam/px30_core/MAINTAINERS
rename to board/engicam/px30/MAINTAINERS
board/engicam/px30/Makefile renamed from board/engicam/px30_core/Makefile +0 -0
similarity index 100%
rename from board/engicam/px30_core/Makefile
rename to board/engicam/px30/Makefile
board/engicam/px30/px30_core.c renamed from board/engicam/px30_core/px30_core.c +0 -0
similarity index 100%
rename from board/engicam/px30_core/px30_core.c
rename to board/engicam/px30/px30_core.c
Signature · 1 line
2.25.1
#1 lore raw

Hi Jagan,

    Please add 'rockchip' prefix in the subject.

Thanks,

- Kever

Quoted 68 lines · Jagan Teki

Engicam hardware design solutions are based on System On Modules(SoM) with various SoCs like i.MX6, i.MX8 and PX30 etc.

The current directory structure uses the simplest way to understand these designs by listing each of these SoC in board/engicam/SoC and inside SoC directory has SoM file name as a board file name.

Right now all of the SoC's follow a similar approach except px30. So rename px30_core to px30.

---
Note:
This patch is on top of
https://patchwork.ozlabs.org/project/uboot/cover/[email protected]/

  arch/arm/mach-rockchip/px30/Kconfig           | 2 +-
  board/engicam/{px30_core => px30}/Kconfig     | 2 +-
  board/engicam/{px30_core => px30}/MAINTAINERS | 0
  board/engicam/{px30_core => px30}/Makefile    | 0
  board/engicam/{px30_core => px30}/px30_core.c | 0
  5 files changed, 2 insertions(+), 2 deletions(-)

rename board/engicam/{px30_core => px30}/Kconfig (90%) rename board/engicam/{px30_core => px30}/MAINTAINERS (100%) rename board/engicam/{px30_core => px30}/Makefile (100%) rename board/engicam/{px30_core => px30}/px30_core.c (100%)

arch/arm/mach-rockchip/px30/Kconfig +1 -1
index 98e09019a2..7b9b380dfa 100644
@@ -68,7 +68,7 @@ config DEBUG_UART_CHANNEL
  	  For using the UART for early debugging the route to use needs
  	  to be declared (0 or 1).
 
-source "board/engicam/px30_core/Kconfig"
+source "board/engicam/px30/Kconfig"
  source "board/hardkernel/odroid_go2/Kconfig"
  source "board/rockchip/evb_px30/Kconfig"
 
board/engicam/px30/Kconfig renamed from board/engicam/px30_core/Kconfig +1 -1
similarity index 90%
rename from board/engicam/px30_core/Kconfig
rename to board/engicam/px30/Kconfig
index a03be78369..10a7ec203f 100644
@@ -1,7 +1,7 @@
  if TARGET_PX30_CORE
 
  config SYS_BOARD
-	default "px30_core"
+	default "px30"
 
  config SYS_VENDOR
  	default "engicam"
board/engicam/px30/MAINTAINERS renamed from board/engicam/px30_core/MAINTAINERS +0 -0
similarity index 100%
rename from board/engicam/px30_core/MAINTAINERS
rename to board/engicam/px30/MAINTAINERS
board/engicam/px30/Makefile renamed from board/engicam/px30_core/Makefile +0 -0
similarity index 100%
rename from board/engicam/px30_core/Makefile
rename to board/engicam/px30/Makefile
board/engicam/px30/px30_core.c renamed from board/engicam/px30_core/px30_core.c +0 -0
similarity index 100%
rename from board/engicam/px30_core/px30_core.c
rename to board/engicam/px30/px30_core.c