board: tqma6: non-functional changes
v2 cover board: tqma6: non-functional changes
Hi all,
this series brings non-functional changes to the TQMa6.
Best regards,
Max
---
changes v2:
- changed only commit
board: [cosmetic] tqma6: adjust SPDX tag
- correct copyright year
- add forgotten file: board/tq/tqma6/tqma6_bb.h
Max Merchel (3):
tqma6: Remove empty function tqma6_iomuxc_spi()
board: [cosmetic] tqma6: adjust SPDX tag
board: tqma6: update MAINTAINERS
Paul Gerber (1):
board: tqma6: style fixes
board/tq/tqma6/Kconfig | 23 +++++++++++++++-------- board/tq/tqma6/MAINTAINERS | 3 ++- board/tq/tqma6/Makefile | 7 +++++-- board/tq/tqma6/clocks.cfg | 7 +++++-- board/tq/tqma6/tqma6.c | 16 +++++----------- board/tq/tqma6/tqma6_bb.h | 7 ++++--- board/tq/tqma6/tqma6_mba6.c | 10 ++++++---- board/tq/tqma6/tqma6_wru4.c | 13 +++++-------- board/tq/tqma6/tqma6dl.cfg | 6 ++++-- board/tq/tqma6/tqma6q.cfg | 6 ++++-- board/tq/tqma6/tqma6s.cfg | 6 ++++-- include/configs/tqma6.h | 6 ++++-- include/configs/tqma6_mba6.h | 6 ++++-- include/configs/tqma6_wru4.h | 2 +- 14 files changed, 68 insertions(+), 50 deletions(-)
Signature · 1 line
2.43.0
PATCH v2 1/4 tqma6: Remove empty function tqma6_iomuxc_spi()
The function tqma6_iomuxc_spi() was removed in the commit "tqma6: Remove non-DM board code".
The original function was overwritten with an empty function in the WRU4 baseboard and should also have been removed. Therefore, the function and its call are being removed.
--- board/tq/tqma6/tqma6.c | 3 --- board/tq/tqma6/tqma6_wru4.c | 5 ----- 2 files changed, 8 deletions(-)
board/tq/tqma6/tqma6.c +0 -3
@@ -48,9 +48,6 @@ int board_init(void)/* address of boot parameters */ gd->bd->bi_boot_params =PHYS_SDRAM +0x100 ; -#ifndef CONFIG_DM_SPI -tqma6_iomuxc_spi (); -#endif tqma6_bb_board_init ();return 0 ;
board/tq/tqma6/tqma6_wru4.c +0 -5
@@ -254,11 +254,6 @@ static void gpio_init(void)gpio_direction_output (GPIO_UART3_PWRON ,0 ); } -void tqma6_iomuxc_spi (void ) -{ -/* No SPI on this baseboard */ -} -int tqma6_bb_board_early_init_f (void ) {setup_iomuxc_uart4 ();
Signature · 1 line
2.43.0
PATCH v2 2/4 board: tqma6: style fixes
In reply to Max MerchelFrom: Paul Gerber <[email protected]>
fix checkpatch warnings
- WARNING: break is not useful after a return
- WARNING: Comparisons should place the constant
on the right side of the test
- WARNING: please write a help paragraph that fully describes the config symbol with at least 2 lines
--- board/tq/tqma6/Kconfig | 23 +++++++++++++++-------- board/tq/tqma6/tqma6.c | 5 ----- board/tq/tqma6/tqma6_mba6.c | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-)
board/tq/tqma6/Kconfig +15 -8
@@ -13,26 +13,29 @@ choice prompt "TQMa6 SoC variant" default TQMA6Q help - select the TQMa6 module variant. The variants differing in the used + select the TQMa6 module variant. The variants only differ in the used i.MX6 CPU type and DRAM config TQMA6Q bool "TQMa6Q / TQMa6D" depends on MX6Q help - select TQMa6Q / TQMa6D with i.MX6Q/D and 1GiB DRAM + select TQMa6Q / TQMa6D variant with i.MX6Q resp. i.MX6D + with 1GiB DRAM config TQMA6DL bool "TQMa6DL" depends on MX6DL help - select TQMa6DL with i.MX6DL and 1GiB DRAM + select TQMa6DL variant with i.MX6DL + with 1GiB DRAM config TQMA6S bool "TQMa6S" depends on MX6S help - select TQMa6S with i.MX6S and 512 MiB DRAM + select TQMa6S variant with i.MX6S + with 512 MiB DRAM endchoice
@@ -46,12 +49,14 @@ choice config TQMA6X_MMC_BOOT bool "MMC / SD Boot" help - Boot from eMMC / SD Card + Boot from + eMMC / SD Card config TQMA6X_SPI_BOOT bool "SPI NOR Boot" help - Boot from on board SPI NOR flash + Boot from + board SPI NOR flash endchoice
@@ -59,7 +64,8 @@ choice prompt "TQMa6 base board variant" default MBA6 help - Select base board for TQMa6 + Select the baseboard variant for the TQMa6 module. + By default the MBA6 starterkit is used. config MBA6 bool "TQMa6 on MBa6 Starterkit"
@@ -80,7 +86,8 @@ config MBA6 config WRU4 bool "OHB WRU-IV" help - Select the OHB Systems AG WRU-IV baseboard. + Select the + OHB Systems AG WRU-IV baseboard. endchoice
board/tq/tqma6/tqma6.c +0 -5
@@ -37,7 +37,6 @@ int dram_init(void)static const uint16_t tqma6_emmc_dsr =0x0100 ; -int board_early_init_f (void ) {return tqma6_bb_board_early_init_f ();
@@ -60,16 +59,12 @@ static const char *tqma6_get_boardname(void)switch ((cpurev &0xFF000 ) >>12 ) {case MXC_CPU_MX6SOLO :return "TQMa6S" ; -break ;case MXC_CPU_MX6DL :return "TQMa6DL" ; -break ;case MXC_CPU_MX6D :return "TQMa6D" ; -break ;case MXC_CPU_MX6Q :return "TQMa6Q" ; -break ;default :return "??" ; };
board/tq/tqma6/tqma6_mba6.c +1 -1
@@ -74,7 +74,7 @@ int board_mmc_get_env_dev(int devno)* the boot device first ... * Note: SDHC3 == idx2 */ -return (2 == devno) ?0 :1 ; +return (devno ==2 ) ?0 :1 ; }int board_phy_config (struct phy_device *phydev)
Signature · 1 line
2.43.0
PATCH v2 3/4 board: [cosmetic] tqma6: adjust SPDX tag
In reply to Max MerchelWhile at it, adjust the TQ-Systems copyright info to include consistent company information, the mail address to reach all developers at TQ-Systems for questions regarding U-Boot support for our SOM and remove author's company mail address not suitable for plain text mail.
--- board/tq/tqma6/Makefile | 7 +++++-- board/tq/tqma6/clocks.cfg | 7 +++++-- board/tq/tqma6/tqma6.c | 8 +++++--- board/tq/tqma6/tqma6_bb.h | 7 ++++--- board/tq/tqma6/tqma6_mba6.c | 8 +++++--- board/tq/tqma6/tqma6_wru4.c | 8 +++++--- board/tq/tqma6/tqma6dl.cfg | 6 ++++-- board/tq/tqma6/tqma6q.cfg | 6 ++++-- board/tq/tqma6/tqma6s.cfg | 6 ++++-- include/configs/tqma6.h | 6 ++++-- include/configs/tqma6_mba6.h | 6 ++++-- include/configs/tqma6_wru4.h | 2 +- 12 files changed, 50 insertions(+), 27 deletions(-)
board/tq/tqma6/Makefile +5 -2
@@ -1,6 +1,9 @@ -# SPDX-License-Identifier: GPL-2.0+ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# Copyright (c) 2014 TQ-Systems GmbH <[email protected]>, +# D-82229 Seefeld, Germany. +# Author: Markus Niebel # -# Copyright (C) 2014, Markus Niebel <[email protected]> obj-y := tqma6.o
board/tq/tqma6/clocks.cfg +5 -2
@@ -1,7 +1,10 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2013 Boundary Devices - * Copyright (C) 2013, 2014 Markus Niebel <[email protected]> + * + * Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, + * D-82229 Seefeld, Germany. + * Author: Markus Niebel * * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure * and create imximage boot image
board/tq/tqma6/tqma6.c +5 -3
@@ -1,10 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012 Freescale Semiconductor, Inc. * Author: Fabio Estevam <[email protected]> * -* Copyright (C) 2013, 2014 TQ-Systems (ported SabreSD to TQMa6x) -* Author: Markus Niebel <[email protected]> +* ported SabreSD to TQMa6x +* Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel */ #include <init.h>
board/tq/tqma6/tqma6_bb.h +4 -3
@@ -1,7 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -* Copyright (C) 2013, 2014 TQ-Systems -* Author: Markus Niebel <[email protected]> +* Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel */ #ifndef __TQMA6_BB__
board/tq/tqma6/tqma6_mba6.c +5 -3
@@ -1,10 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012 Freescale Semiconductor, Inc. * Author: Fabio Estevam <[email protected]> * -* Copyright (C) 2013, 2014 TQ-Systems (ported SabreSD to TQMa6x) -* Author: Markus Niebel <[email protected]> +* ported SabreSD to TQMa6x +* Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel */ #include <init.h>
board/tq/tqma6/tqma6_wru4.c +5 -3
@@ -1,10 +1,12 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2012 Freescale Semiconductor, Inc. * Author: Fabio Estevam <[email protected]> * -* Copyright (C) 2013, 2014 TQ-Systems (ported SabreSD to TQMa6x) -* Author: Markus Niebel <[email protected]> +* ported SabreSD to TQMa6x +* Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel * * Copyright (C) 2015 Stefan Roese <[email protected]> */
board/tq/tqma6/tqma6dl.cfg +4 -2
@@ -1,6 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * Copyright (C) 2014 - 2015 Markus Niebel <[email protected]> + * Copyright (c) 2014-2015 TQ-Systems GmbH <[email protected]>, + * D-82229 Seefeld, Germany. + * Author: Markus Niebel * * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure * and create imximage boot image
board/tq/tqma6/tqma6q.cfg +4 -2
@@ -1,6 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * Copyright (C) 2013, 2014 Markus Niebel <[email protected]> + * Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, + * D-82229 Seefeld, Germany. + * Author: Markus Niebel * * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure * and create imximage boot image
board/tq/tqma6/tqma6s.cfg +4 -2
@@ -1,6 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* - * Copyright (C) 2013, 2014 Markus Niebel <[email protected]> + * Copyright (c) 2013-2014 TQ-Systems GmbH <[email protected]>, + * D-82229 Seefeld, Germany. + * Author: Markus Niebel * * Refer doc/imx/mkimage/imximage.txt for more details about how-to configure * and create imximage boot image
include/configs/tqma6.h +4 -2
@@ -1,6 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -* Copyright (C) 2013, 2014, 2017 Markus Niebel <[email protected]> +* Copyright (c) 2013-2014, 2017 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel * * Configuration settings for the TQ-Systems TQMa6<Q,D,DL,S> module. */
include/configs/tqma6_mba6.h +4 -2
@@ -1,6 +1,8 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -* Copyright (C) 2013 - 2017 Markus Niebel <[email protected]> +* Copyright (c) 2013-2017 TQ-Systems GmbH <[email protected]>, +* D-82229 Seefeld, Germany. +* Author: Markus Niebel * * Configuration settings for the TQ-Systems TQMa6<Q,D,DL,S> module on * MBa6 starter kit
include/configs/tqma6_wru4.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0+ */ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2015 Stefan Roese <[email protected]> */
Signature · 1 line
2.43.0
PATCH v2 4/4 board: tqma6: update MAINTAINERS
In reply to Max Merchel- change maintainer e-Mail address
(old is not suitable for plain text mail)
- add TQ mailing list
--- board/tq/tqma6/MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
board/tq/tqma6/MAINTAINERS +2 -1
@@ -1,5 +1,6 @@ TQ-SYSTEMS TQMA6 BOARD -M: Markus Niebel <[email protected]> +M: Markus Niebel <[email protected]> +L: TQ-Systems OSS Team <[email protected]> S: Maintained F: board/tq/tqma6/ F: include/configs/tqma6.h
Signature · 1 line
2.43.0