* [pinmux scripts PATCH] board-to-uboot: add comment re: auto-generation
@ 2015-07-30 20:28 Stephen Warren
[not found] ` <1438288117-22045-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2015-07-30 20:28 UTC (permalink / raw)
To: swarren-DDmLM1+adcrQT0dZR+AlfA
Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA, sjg-F7+t8E8rja9g9hUCZPvPmw
From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Add a comment block to the top of each generated U-Boot 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.
Suggested-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
board-to-uboot.py | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/board-to-uboot.py b/board-to-uboot.py
index 7b20f23949bc..d5e2708c6695 100755
--- a/board-to-uboot.py
+++ b/board-to-uboot.py
@@ -48,6 +48,14 @@ print('''\
* 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 %(board_name)s".
+ */
+
#ifndef _PINMUX_CONFIG_%(board_define)s_H_
#define _PINMUX_CONFIG_%(board_define)s_H_
@@ -60,6 +68,7 @@ print('''\
static const struct tegra_gpio_config %(board_varname)s_gpio_inits[] = {
''' % {
'copyright_year': copyright_year,
+ 'board_name': args.board,
'board_define': board.definename,
'board_varname': board.varname,
}, end='')
--
1.9.1
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1438288117-22045-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>]
* Re: [pinmux scripts PATCH] board-to-uboot: add comment re: auto-generation [not found] ` <1438288117-22045-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> @ 2015-07-30 21:37 ` Simon Glass [not found] ` <CAPnjgZ1Hsbw18OA9c3c7sLpA2pbErBy0ucvQSL2zDBaYqh5YYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> 0 siblings, 1 reply; 3+ messages in thread From: Simon Glass @ 2015-07-30 21:37 UTC (permalink / raw) To: Stephen Warren Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 30 July 2015 at 14:28, Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> wrote: > From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > > Add a comment block to the top of each generated U-Boot 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. > > Suggested-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> > Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> > --- > board-to-uboot.py | 9 +++++++++ > 1 file changed, 9 insertions(+) Reviewed-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CAPnjgZ1Hsbw18OA9c3c7sLpA2pbErBy0ucvQSL2zDBaYqh5YYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>]
* Re: [pinmux scripts PATCH] board-to-uboot: add comment re: auto-generation [not found] ` <CAPnjgZ1Hsbw18OA9c3c7sLpA2pbErBy0ucvQSL2zDBaYqh5YYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> @ 2015-07-30 21:42 ` Stephen Warren 0 siblings, 0 replies; 3+ messages in thread From: Stephen Warren @ 2015-07-30 21:42 UTC (permalink / raw) To: Simon Glass Cc: Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 07/30/2015 03:37 PM, Simon Glass wrote: > On 30 July 2015 at 14:28, Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org> wrote: >> From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org> >> >> Add a comment block to the top of each generated U-Boot 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. > > Reviewed-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org> Patch applied. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-07-30 21:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-30 20:28 [pinmux scripts PATCH] board-to-uboot: add comment re: auto-generation Stephen Warren
[not found] ` <1438288117-22045-1-git-send-email-swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-07-30 21:37 ` Simon Glass
[not found] ` <CAPnjgZ1Hsbw18OA9c3c7sLpA2pbErBy0ucvQSL2zDBaYqh5YYw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-30 21:42 ` Stephen Warren
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).