Skip to content

Commit 8c65a2f

Browse files
hsdenxtrini
authored andcommitted
siemens,am33x,thuban: rename dxr2 to thuban
Update new naming scheme. Signed-off-by: Samuel Egli <[email protected]> Acked-by: Heiko Schocher <[email protected]> Reviewed-by: Tom Rini <[email protected]>
1 parent 578056c commit 8c65a2f

File tree

5 files changed

+15
-21
lines changed

5 files changed

+15
-21
lines changed

arch/arm/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -346,8 +346,8 @@ config TARGET_DRACO
346346
select CPU_V7
347347
select SUPPORT_SPL
348348

349-
config TARGET_DXR2
350-
bool "Support dxr2"
349+
config TARGET_THUBAN
350+
bool "Support thuban"
351351
select CPU_V7
352352
select SUPPORT_SPL
353353

board/siemens/draco/Kconfig

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ config SYS_CONFIG_NAME
1414

1515
endif
1616

17-
if TARGET_DXR2
17+
if TARGET_THUBAN
1818

1919
config SYS_BOARD
2020
default "draco"
@@ -26,7 +26,7 @@ config SYS_SOC
2626
default "am33xx"
2727

2828
config SYS_CONFIG_NAME
29-
default "dxr2"
29+
default "thuban"
3030

3131
endif
3232

board/siemens/draco/MAINTAINERS

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ S: Maintained
44
F: board/siemens/draco/
55
F: include/configs/draco.h
66
F: configs/draco_defconfig
7-
F: include/configs/dxr2.h
8-
F: configs/dxr2_defconfig
7+
F: include/configs/thuban.h
8+
F: configs/thuban_defconfig
99
F: include/configs/rastaban.h
1010
F: configs/rastaban_defconfig

configs/dxr2_defconfig renamed to configs/thuban_defconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CONFIG_ARM=y
2-
CONFIG_TARGET_DXR2=y
2+
CONFIG_TARGET_THUBAN=y
33
CONFIG_CMD_NET=y
44
CONFIG_SPL=y
55
CONFIG_AUTOBOOT_KEYED=y

include/configs/dxr2.h renamed to include/configs/thuban.h

+8-14
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
* SPDX-License-Identifier: GPL-2.0+
1111
*/
1212

13-
#ifndef __CONFIG_DXR2_H
14-
#define __CONFIG_DXR2_H
15-
16-
#define CONFIG_SIEMENS_DXR2
17-
#define MACH_TYPE_DXR2 4315
18-
#define CONFIG_SIEMENS_MACH_TYPE MACH_TYPE_DXR2
13+
#ifndef __CONFIG_THUBAN_H
14+
#define __CONFIG_THUBAN_H
1915

2016
#include "siemens-am33x-common.h"
2117

@@ -24,9 +20,7 @@
2420
#define DDR_PLL_FREQ 303
2521
#undef CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC
2622

27-
#define BOARD_DFU_BUTTON_GPIO 27
28-
#define BOARD_DFU_BUTTON_LED 64 /* red LED */
29-
#define BOARD_STATUS_LED 103 /* green LED */
23+
#define BOARD_DFU_BUTTON_GPIO 27 /* Use as default */
3024
#define GPIO_LAN9303_NRST 88 /* GPIO2_24 = gpio88 */
3125

3226
#define CONFIG_ENV_SETTINGS_BUTTONS_AND_LEDS \
@@ -65,9 +59,9 @@
6559
#define CONFIG_OMAP_WATCHDOG
6660

6761
/* Define own nand partitions */
68-
#define CONFIG_ENV_OFFSET_REDUND 0x2E0000
69-
#define CONFIG_ENV_SIZE_REDUND 0x2000
70-
#define CONFIG_ENV_RANGE (4 * CONFIG_SYS_ENV_SECT_SIZE)
62+
#define CONFIG_ENV_OFFSET_REDUND 0x2E0000
63+
#define CONFIG_ENV_SIZE_REDUND 0x2000
64+
#define CONFIG_ENV_RANGE (4 * CONFIG_SYS_ENV_SECT_SIZE)
7165

7266

7367
#define MTDPARTS_DEFAULT MTDPARTS_DEFAULT_V2
@@ -76,7 +70,7 @@
7670

7771
/* Default env settings */
7872
#define CONFIG_EXTRA_ENV_SETTINGS \
79-
"hostname=dxr2\0" \
73+
"hostname=thuban\0" \
8074
"nand_img_size=0x400000\0" \
8175
"optargs=\0" \
8276
"preboot=draco_led 0\0" \
@@ -109,4 +103,4 @@
109103
"fi"
110104
#endif
111105
#endif /* CONFIG_SPL_BUILD */
112-
#endif /* ! __CONFIG_DXR2_H */
106+
#endif /* ! __CONFIG_THUBAN_H */

0 commit comments

Comments
 (0)