Skip to contentSkip to conversation

siemens: rename board dxr2 to draco and add target draco

PATCH New Samuel Egli 2 participants 5 messages May 5, 2014 – May 14, 2014

lore
Share & tools
lore
#0 lore raw

cover siemens: rename board dxr2 to draco and add target draco

These two patches rename board dxr2 to draco and add new target draco with new MACH_TYPE. New target (patch 2) depends on renaming (patch 1).

Samuel Egli (2):
siemens:cosmetic, dxr2: rename dxr2 to draco
siemens, draco: add new target

 board/siemens/{dxr2 => draco}/Makefile |    0
 board/siemens/{dxr2 => draco}/board.c  |   71 ++++++++++++------------
 board/siemens/{dxr2 => draco}/board.h  |    2 +-
 board/siemens/{dxr2 => draco}/mux.c    |    2 +-
 boards.cfg                             |    3 +-
 include/configs/draco.h                |   92 ++++++++++++++++++++++++++++++++
 6 files changed, 131 insertions(+), 39 deletions(-)
 rename board/siemens/{dxr2 => draco}/Makefile (100%)
 rename board/siemens/{dxr2 => draco}/board.c (77%)
 rename board/siemens/{dxr2 => draco}/board.h (98%)
 rename board/siemens/{dxr2 => draco}/mux.c (99%)
 create mode 100644 include/configs/draco.h
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 siemens:cosmetic, dxr2: rename dxr2 to draco

The actual board name is draco and dxr2 is the target name. In the future we'll have different targets based on draco board. All changes are purely non-functional and basically rename dxr2 to draco.

One style fix in board.c that existed already before.

---
 board/siemens/{dxr2 => draco}/Makefile |    0
 board/siemens/{dxr2 => draco}/board.c  |   71 ++++++++++++++++----------------
 board/siemens/{dxr2 => draco}/board.h  |    2 +-
 board/siemens/{dxr2 => draco}/mux.c    |    2 +-
 boards.cfg                             |    2 +-
 5 files changed, 38 insertions(+), 39 deletions(-)
 rename board/siemens/{dxr2 => draco}/Makefile (100%)
 rename board/siemens/{dxr2 => draco}/board.c (77%)
 rename board/siemens/{dxr2 => draco}/board.h (98%)
 rename board/siemens/{dxr2 => draco}/mux.c (99%)
board/siemens/draco/Makefile renamed from board/siemens/dxr2/Makefile +0 -0
similarity index 100%
rename from board/siemens/dxr2/Makefile
rename to board/siemens/draco/Makefile
board/siemens/draco/board.c renamed from board/siemens/dxr2/board.c +35 -36

106 lines not on this page · raw message

board/siemens/draco/board.h renamed from board/siemens/dxr2/board.h +1 -1
similarity index 98%
rename from board/siemens/dxr2/board.h
rename to board/siemens/draco/board.h
index a59ffb0..ff8ab76 100644
@@ -50,7 +50,7 @@ struct chip_data {
 	char shwver[7];
 };
 
-struct dxr2_baseboard_id {
+struct draco_baseboard_id {
 	struct ddr3_data ddr3;
 	struct chip_data chip;
 };
board/siemens/draco/mux.c renamed from board/siemens/dxr2/mux.c +1 -1
similarity index 99%
rename from board/siemens/dxr2/mux.c
rename to board/siemens/draco/mux.c
index f2314b5..eaa3c70 100644
@@ -1,5 +1,5 @@
 /*
- * pinmux setup for siemens dxr2 board
+ * pinmux setup for siemens draco board
  *
  * (C) Copyright 2013 Siemens Schweiz AG
  * (C) Heiko Schocher, DENX Software Engineering, hs at denx.de.
boards.cfg +1 -1
index b4203f1..76c8764 100644
@@ -260,7 +260,7 @@ Active  arm         armv7          am33xx      compulab        cm_t335
 Active  arm         armv7          am33xx      isee            igep0033            am335x_igep0033                      -                                                                                                                                 Enric Balletbo i Serra <[email protected]>
 Active  arm         armv7          am33xx      phytec          pcm051              pcm051_rev1                          pcm051:REV1                                                                                                                       Lars Poeschel <[email protected]>
 Active  arm         armv7          am33xx      phytec          pcm051              pcm051_rev3                          pcm051:REV3                                                                                                                       Lars Poeschel <[email protected]>
-Active  arm         armv7          am33xx      siemens         dxr2                dxr2                                 -                                                                                                                                 Roger Meier <[email protected]>
+Active  arm         armv7          am33xx      siemens         draco               dxr2                                 -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      siemens         pxm2                pxm2                                 -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      siemens         rut                 rut                                  -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      silica          pengwyn             pengwyn                              -                                                                                                                                 Lothar Felten <[email protected]>
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 1/2 siemens:cosmetic, dxr2: rename dxr2 to draco

Quoted 11 lines · Samuel

The actual board name is draco and dxr2 is the target name. In the future we'll have different targets based on draco board. All changes are purely non-functional and basically rename dxr2 to draco.

One style fix in board.c that existed already before.

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140513/eb18339e/attachment.pgp>
#3 lore raw

PATCH 2/2 siemens, draco: add new target

In reply to Samuel Egli
---
 boards.cfg              |    1 +
 include/configs/draco.h |   92 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 include/configs/draco.h
boards.cfg +1 -0
index 76c8764..4cc0235 100644
@@ -260,6 +260,7 @@ Active  arm         armv7          am33xx      compulab        cm_t335
 Active  arm         armv7          am33xx      isee            igep0033            am335x_igep0033                      -                                                                                                                                 Enric Balletbo i Serra <[email protected]>
 Active  arm         armv7          am33xx      phytec          pcm051              pcm051_rev1                          pcm051:REV1                                                                                                                       Lars Poeschel <[email protected]>
 Active  arm         armv7          am33xx      phytec          pcm051              pcm051_rev3                          pcm051:REV3                                                                                                                       Lars Poeschel <[email protected]>
+Active  arm         armv7          am33xx      siemens         draco               draco                                -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      siemens         draco               dxr2                                 -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      siemens         pxm2                pxm2                                 -                                                                                                                                 Roger Meier <[email protected]>
 Active  arm         armv7          am33xx      siemens         rut                 rut                                  -                                                                                                                                 Roger Meier <[email protected]>
include/configs/draco.h new file +92 -0

92 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#4 lore raw

PATCH 2/2 siemens, draco: add new target

Quoted 4 lines · Samuel

Applied to u-boot-ti/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140513/1d820e3e/attachment.pgp>