Skip to contentSkip to conversation

siemens,am33x,thuban: rename dxr2 to thuban

PATCH In review Heiko Schocher 2 participants 3 messages Jun 15, 2015 – Jun 19, 2015 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 siemens,am33x,thuban: rename dxr2 to thuban

Update new naming scheme.

---

 arch/arm/Kconfig                             |  4 ++--
 board/siemens/draco/Kconfig                  |  4 ++--
 board/siemens/draco/MAINTAINERS              |  4 ++--
 configs/{dxr2_defconfig => thuban_defconfig} |  2 +-
 include/configs/{dxr2.h => thuban.h}         | 22 ++++++++--------------
 5 files changed, 15 insertions(+), 21 deletions(-)
 rename configs/{dxr2_defconfig => thuban_defconfig} (88%)
 rename include/configs/{dxr2.h => thuban.h} (81%)
arch/arm/Kconfig +2 -2
index 6d7e8c7..51da85b 100644
@@ -346,8 +346,8 @@ config TARGET_DRACO
 	select CPU_V7
 	select SUPPORT_SPL
 
-config TARGET_DXR2
-	bool "Support dxr2"
+config TARGET_THUBAN
+	bool "Support thuban"
 	select CPU_V7
 	select SUPPORT_SPL
 
board/siemens/draco/Kconfig +2 -2
index 67fa320..819d187 100644
@@ -14,7 +14,7 @@ config SYS_CONFIG_NAME
 
 endif
 
-if TARGET_DXR2
+if TARGET_THUBAN
 
 config SYS_BOARD
 	default "draco"
@@ -26,7 +26,7 @@ config SYS_SOC
 	default "am33xx"
 
 config SYS_CONFIG_NAME
-	default "dxr2"
+	default "thuban"
 
 endif
 
board/siemens/draco/MAINTAINERS +2 -2
index 6d9544a..484dd73 100644
@@ -4,7 +4,7 @@ S:	Maintained
 F:	board/siemens/draco/
 F:	include/configs/draco.h
 F:	configs/draco_defconfig
-F:	include/configs/dxr2.h
-F:	configs/dxr2_defconfig
+F:	include/configs/thuban.h
+F:	configs/thuban_defconfig
 F:	include/configs/rastaban.h
 F:	configs/rastaban_defconfig
configs/thuban_defconfig renamed from configs/dxr2_defconfig +1 -1
similarity index 88%
rename from configs/dxr2_defconfig
rename to configs/thuban_defconfig
index 1041031..5fab571 100644
@@ -1,5 +1,5 @@
 CONFIG_ARM=y
-CONFIG_TARGET_DXR2=y
+CONFIG_TARGET_THUBAN=y
 CONFIG_CMD_NET=y
 CONFIG_SPL=y
 CONFIG_AUTOBOOT_KEYED=y
include/configs/thuban.h renamed from include/configs/dxr2.h +8 -14
similarity index 81%
rename from include/configs/dxr2.h
rename to include/configs/thuban.h
index fa74070..4024468 100644
@@ -10,12 +10,8 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
-#ifndef __CONFIG_DXR2_H
-#define __CONFIG_DXR2_H
-
-#define CONFIG_SIEMENS_DXR2
-#define MACH_TYPE_DXR2			4315
-#define CONFIG_SIEMENS_MACH_TYPE	MACH_TYPE_DXR2
+#ifndef __CONFIG_THUBAN_H
+#define __CONFIG_THUBAN_H
 
 #include "siemens-am33x-common.h"
 
@@ -24,9 +20,7 @@
 #define DDR_PLL_FREQ	303
 #undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
 
-#define BOARD_DFU_BUTTON_GPIO	27
-#define BOARD_DFU_BUTTON_LED	64	/* red LED */
-#define BOARD_STATUS_LED	103	/* green LED */
+#define BOARD_DFU_BUTTON_GPIO	27	/* Use as default */
 #define GPIO_LAN9303_NRST	88	/* GPIO2_24 = gpio88 */
 
 #define CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS \
@@ -65,9 +59,9 @@
 #define CONFIG_OMAP_WATCHDOG
 
 /* Define own nand partitions */
-#define CONFIG_ENV_OFFSET_REDUND	0x2E0000
-#define CONFIG_ENV_SIZE_REDUND		0x2000
-#define CONFIG_ENV_RANGE		(4 * CONFIG_SYS_ENV_SECT_SIZE)
+#define CONFIG_ENV_OFFSET_REDUND    0x2E0000
+#define CONFIG_ENV_SIZE_REDUND      0x2000
+#define CONFIG_ENV_RANGE        (4 * CONFIG_SYS_ENV_SECT_SIZE)
 
 
 #define MTDPARTS_DEFAULT	MTDPARTS_DEFAULT_V2
@@ -76,7 +70,7 @@
 
 /* Default env settings */
 #define CONFIG_EXTRA_ENV_SETTINGS \
-	"hostname=dxr2\0" \
+	"hostname=thuban\0" \
 	"nand_img_size=0x400000\0" \
 	"optargs=\0" \
 	"preboot=draco_led 0\0" \
@@ -109,4 +103,4 @@
 	"fi"
 #endif
 #endif	/* CONFIG_SPL_BUILD */
-#endif	/* ! __CONFIG_DXR2_H */
+#endif	/* ! __CONFIG_THUBAN_H */
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 siemens,am33x,thuban: rename dxr2 to thuban

Quoted 4 lines · Heiko Schocher

Update new naming scheme.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150615/b6e60635/attachment.sig>
#2 lore raw
In reply to Heiko Schocher
Quoted 5 lines · Heiko Schocher

Update new naming scheme.

Applied to u-boot/master, thanks!

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