[U-Boot] [PATCH] ARM: tegra: add comment re: autogeneration to pinmux headers

From: Stephen Warren swarren@nvidia.com
Add a comment block to the top of each generated Tegra pinmux header file indicating that the file was auto-generated, should not be manually edited, and with a pointer to the tool and command used to generate it.
Signed-off-by: Stephen Warren swarren@nvidia.com --- board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 8 ++++++++ board/nvidia/nyan-big/pinmux-config-nyan-big.h | 8 ++++++++ board/nvidia/p2571/pinmux-config-p2571.h | 8 ++++++++ board/nvidia/venice2/pinmux-config-venice2.h | 8 ++++++++ 4 files changed, 32 insertions(+)
diff --git a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h index 863721b2a330..b2b2057e3bd3 100644 --- a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h +++ b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h @@ -4,6 +4,14 @@ * SPDX-License-Identifier: GPL-2.0+ */
+/* + * THIS FILE IS AUTO-GENERATED - DO NOT EDIT! + * + * To generate this file, use the tegra-pinmux-scripts tool available from + * https://github.com/NVIDIA/tegra-pinmux-scripts + * Run "board-to-uboot.py jetson-tk1". + */ + #ifndef _PINMUX_CONFIG_JETSON_TK1_H_ #define _PINMUX_CONFIG_JETSON_TK1_H_
diff --git a/board/nvidia/nyan-big/pinmux-config-nyan-big.h b/board/nvidia/nyan-big/pinmux-config-nyan-big.h index 9c838ba76471..dca0171f26b3 100644 --- a/board/nvidia/nyan-big/pinmux-config-nyan-big.h +++ b/board/nvidia/nyan-big/pinmux-config-nyan-big.h @@ -4,6 +4,14 @@ * SPDX-License-Identifier: GPL-2.0+ */
+/* + * THIS FILE IS AUTO-GENERATED - DO NOT EDIT! + * + * To generate this file, use the tegra-pinmux-scripts tool available from + * https://github.com/NVIDIA/tegra-pinmux-scripts + * Run "board-to-uboot.py nyan-big". + */ + #ifndef _PINMUX_CONFIG_NYAN_BIG_H_ #define _PINMUX_CONFIG_NYAN_BIG_H_
diff --git a/board/nvidia/p2571/pinmux-config-p2571.h b/board/nvidia/p2571/pinmux-config-p2571.h index ac414f0da545..d3233016b52b 100644 --- a/board/nvidia/p2571/pinmux-config-p2571.h +++ b/board/nvidia/p2571/pinmux-config-p2571.h @@ -4,6 +4,14 @@ * SPDX-License-Identifier: GPL-2.0+ */
+/* + * THIS FILE IS AUTO-GENERATED - DO NOT EDIT! + * + * To generate this file, use the tegra-pinmux-scripts tool available from + * https://github.com/NVIDIA/tegra-pinmux-scripts + * Run "board-to-uboot.py p2571". + */ + #ifndef _PINMUX_CONFIG_P2571_H_ #define _PINMUX_CONFIG_P2571_H_
diff --git a/board/nvidia/venice2/pinmux-config-venice2.h b/board/nvidia/venice2/pinmux-config-venice2.h index bf8e3fd96581..fb444b3b1dd6 100644 --- a/board/nvidia/venice2/pinmux-config-venice2.h +++ b/board/nvidia/venice2/pinmux-config-venice2.h @@ -4,6 +4,14 @@ * SPDX-License-Identifier: GPL-2.0+ */
+/* + * THIS FILE IS AUTO-GENERATED - DO NOT EDIT! + * + * To generate this file, use the tegra-pinmux-scripts tool available from + * https://github.com/NVIDIA/tegra-pinmux-scripts + * Run "board-to-uboot.py venice2". + */ + #ifndef _PINMUX_CONFIG_VENICE2_H_ #define _PINMUX_CONFIG_VENICE2_H_

On 30 July 2015 at 14:34, Stephen Warren swarren@wwwdotorg.org wrote:
From: Stephen Warren swarren@nvidia.com
Add a comment block to the top of each generated Tegra pinmux header file indicating that the file was auto-generated, should not be manually edited, and with a pointer to the tool and command used to generate it.
Signed-off-by: Stephen Warren swarren@nvidia.com
board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h | 8 ++++++++ board/nvidia/nyan-big/pinmux-config-nyan-big.h | 8 ++++++++ board/nvidia/p2571/pinmux-config-p2571.h | 8 ++++++++ board/nvidia/venice2/pinmux-config-venice2.h | 8 ++++++++ 4 files changed, 32 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
participants (2)
-
Simon Glass
-
Stephen Warren