diff options
Diffstat (limited to 'drivers/rtc')
39 files changed, 39 insertions, 79 deletions
diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 9723fb774c..09f2b08244 100644 --- a/drivers/rtc/Makefile +++ b/drivers/rtc/Makefile @@ -1,9 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0+ # # (C) Copyright 2001-2006 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. -# -# SPDX-License-Identifier: GPL-2.0+ -# #ccflags-y += -DDEBUG obj-$(CONFIG_DM_RTC) += rtc-uclass.o diff --git a/drivers/rtc/at91sam9_rtt.c b/drivers/rtc/at91sam9_rtt.c index 18fb09d0ac..da5bb3e2f7 100644 --- a/drivers/rtc/at91sam9_rtt.c +++ b/drivers/rtc/at91sam9_rtt.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Reinhard Meyer, reinhard.meyer@emk-elektronik.de - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/date.c b/drivers/rtc/date.c index bfa2e1378e..1256ffe374 100644 --- a/drivers/rtc/date.c +++ b/drivers/rtc/date.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/davinci.c b/drivers/rtc/davinci.c index f862e2f951..f03dc56069 100644 --- a/drivers/rtc/davinci.c +++ b/drivers/rtc/davinci.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2011 DENX Software Engineering GmbH * Heiko Schocher <hs@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/drivers/rtc/ds1306.c b/drivers/rtc/ds1306.c index 7dd3e19028..bd1e0845aa 100644 --- a/drivers/rtc/ds1306.c +++ b/drivers/rtc/ds1306.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 SIXNET, dge@sixnetio.com. * * (C) Copyright 2004, Li-Pro.Net <www.li-pro.net> * Stephan Linz <linz@li-pro.net> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds1307.c b/drivers/rtc/ds1307.c index 5e74b93b72..cdb088c9b1 100644 --- a/drivers/rtc/ds1307.c +++ b/drivers/rtc/ds1307.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001, 2002, 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Keith Outwater, keith_outwater@mvis.com` * Steven Scholz, steven.scholz@imc-berlin.de - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds1337.c b/drivers/rtc/ds1337.c index 4b73d1718c..9a0a214386 100644 --- a/drivers/rtc/ds1337.c +++ b/drivers/rtc/ds1337.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001-2008 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Keith Outwater, keith_outwater@mvis.com` - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds1374.c b/drivers/rtc/ds1374.c index 9e440d8457..bc27f61c72 100644 --- a/drivers/rtc/ds1374.c +++ b/drivers/rtc/ds1374.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001, 2002, 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * Keith Outwater, keith_outwater@mvis.com` * Steven Scholz, steven.scholz@imc-berlin.de - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds1556.c b/drivers/rtc/ds1556.c index 5b8d5effd1..687b32937a 100644 --- a/drivers/rtc/ds1556.c +++ b/drivers/rtc/ds1556.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * ARIO Data Networks, Inc. dchiu@ariodata.com @@ -6,8 +7,6 @@ * Frank Panno <fpanno@delphintech.com>, Delphin Technology AG * * Based on MontaVista DS1743 code and U-Boot mc146818 code - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds164x.c b/drivers/rtc/ds164x.c index b913354428..7ee6214b2b 100644 --- a/drivers/rtc/ds164x.c +++ b/drivers/rtc/ds164x.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * ARIO Data Networks, Inc. dchiu@ariodata.com @@ -6,8 +7,6 @@ * The LEOX team <team@leox.org>, http://www.leox.org * * Based on MontaVista DS1743 code and U-Boot mc146818 code - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds174x.c b/drivers/rtc/ds174x.c index fc073e075e..b6daf59e80 100644 --- a/drivers/rtc/ds174x.c +++ b/drivers/rtc/ds174x.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * ARIO Data Networks, Inc. dchiu@ariodata.com * * Based on MontaVista DS1743 code and U-Boot mc146818 code - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ds3231.c b/drivers/rtc/ds3231.c index e5e1be134c..0e66f6ea0f 100644 --- a/drivers/rtc/ds3231.c +++ b/drivers/rtc/ds3231.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2006 * Markus Klotzbuecher, mk@denx.de - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/ftrtc010.c b/drivers/rtc/ftrtc010.c index 7d0cfb3ba8..b68ea223f7 100644 --- a/drivers/rtc/ftrtc010.c +++ b/drivers/rtc/ftrtc010.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Faraday FTRTC010 Real Time Clock * * (C) Copyright 2009 Faraday Technology * Po-Yu Chuang <ratbert@faraday-tech.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <config.h> diff --git a/drivers/rtc/i2c_rtc_emul.c b/drivers/rtc/i2c_rtc_emul.c index 2e69a5b957..bad61c377f 100644 --- a/drivers/rtc/i2c_rtc_emul.c +++ b/drivers/rtc/i2c_rtc_emul.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Simulate an I2C real time clock * * Copyright (c) 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/imxdi.c b/drivers/rtc/imxdi.c index 17519ce2c0..3c4797f4c5 100644 --- a/drivers/rtc/imxdi.c +++ b/drivers/rtc/imxdi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2009-2012 ADVANSEE * Benoît Thébaudeau <benoit.thebaudeau@advansee.com> @@ -5,8 +6,6 @@ * Based on the Linux rtc-imxdi.c driver, which is: * Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved. * Copyright 2010 Orex Computed Radiography - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/isl1208.c b/drivers/rtc/isl1208.c index fa1178a36e..22ac0d2b08 100644 --- a/drivers/rtc/isl1208.c +++ b/drivers/rtc/isl1208.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 * Tor Krill, Excito Elektronik i Skåne , tor@excito.com * * Modelled after the ds1337 driver - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/m41t11.c b/drivers/rtc/m41t11.c index fe0b5fb605..e997152098 100644 --- a/drivers/rtc/m41t11.c +++ b/drivers/rtc/m41t11.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2002 * Andrew May, Viasat Inc, amay@viasat.com - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c index 2ddfd4ea5c..7846193e26 100644 --- a/drivers/rtc/m41t60.c +++ b/drivers/rtc/m41t60.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 * Larry Johnson, lrj@acm.org @@ -6,8 +7,6 @@ * * (C) Copyright 2002 * Andrew May, Viasat Inc, amay@viasat.com - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/m41t62.c b/drivers/rtc/m41t62.c index 3829bc54eb..d53ef7d862 100644 --- a/drivers/rtc/m41t62.c +++ b/drivers/rtc/m41t62.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 * Stefan Roese, DENX Software Engineering, sr@denx.de. * * based on a the Linux rtc-m41t80.c driver which is: * Alexander Bigga <ab@mycable.de>, 2006 (c) mycable GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/m48t35ax.c b/drivers/rtc/m48t35ax.c index 36011a5b88..0b035ced26 100644 --- a/drivers/rtc/m48t35ax.c +++ b/drivers/rtc/m48t35ax.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Erik Theisen, Wave 7 Optics, etheisen@mindspring.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/max6900.c b/drivers/rtc/max6900.c index 48ad0a0eb6..f5c651bad0 100644 --- a/drivers/rtc/max6900.c +++ b/drivers/rtc/max6900.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2004 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/mc13xxx-rtc.c b/drivers/rtc/mc13xxx-rtc.c index 3e463368b0..6c2aef8975 100644 --- a/drivers/rtc/mc13xxx-rtc.c +++ b/drivers/rtc/mc13xxx-rtc.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2008, Guennadi Liakhovetski <lg@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c index 21705c8478..500eef2ee0 100644 --- a/drivers/rtc/mc146818.c +++ b/drivers/rtc/mc146818.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Denis Peter MPL AG Switzerland. d.peter@mpl.ch - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/mcfrtc.c b/drivers/rtc/mcfrtc.c index e02e29793e..0ac8e4dbc5 100644 --- a/drivers/rtc/mcfrtc.c +++ b/drivers/rtc/mcfrtc.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2004-2007 Freescale Semiconductor, Inc. * TsiChung Liew (Tsi-Chung.Liew@freescale.com) - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/mk48t59.c b/drivers/rtc/mk48t59.c index 2164580efc..d29d5ce600 100644 --- a/drivers/rtc/mk48t59.c +++ b/drivers/rtc/mk48t59.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 Sysgo Real-Time Solutions, GmbH <www.elinos.com> * Andreas Heppel <aheppel@sysgo.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/mvrtc.c b/drivers/rtc/mvrtc.c index 97dadd068b..f2a226650f 100644 --- a/drivers/rtc/mvrtc.c +++ b/drivers/rtc/mvrtc.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2011 * Jason Cooper <u-boot@lakedaemon.net> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/mvrtc.h b/drivers/rtc/mvrtc.h index 424743c990..dc470a9b73 100644 --- a/drivers/rtc/mvrtc.h +++ b/drivers/rtc/mvrtc.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2011 * Jason Cooper <u-boot@lakedaemon.net> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/mx27rtc.c b/drivers/rtc/mx27rtc.c index b42770e05b..563e8a4a36 100644 --- a/drivers/rtc/mx27rtc.c +++ b/drivers/rtc/mx27rtc.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale i.MX27 RTC Driver * * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/mxsrtc.c b/drivers/rtc/mxsrtc.c index 6e32154f47..be899a9254 100644 --- a/drivers/rtc/mxsrtc.c +++ b/drivers/rtc/mxsrtc.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Freescale i.MX28 RTC Driver * * Copyright (C) 2011 Marek Vasut <marek.vasut@gmail.com> * on behalf of DENX Software Engineering GmbH - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/pcf8563.c b/drivers/rtc/pcf8563.c index 25fa7c5b11..e2fa6b6aab 100644 --- a/drivers/rtc/pcf8563.c +++ b/drivers/rtc/pcf8563.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/pl031.c b/drivers/rtc/pl031.c index fc83049ecd..8955805e3b 100644 --- a/drivers/rtc/pl031.c +++ b/drivers/rtc/pl031.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2008 * Gururaja Hebbar gururajakr@sanyo.co.in * * reference linux-2.6.20.6/drivers/rtc/rtc-pl031.c - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/pt7c4338.c b/drivers/rtc/pt7c4338.c index b1eb7d8781..6a19fe1d23 100644 --- a/drivers/rtc/pt7c4338.c +++ b/drivers/rtc/pt7c4338.c @@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright 2010 Freescale Semiconductor, Inc. * * Author: Priyanka Jain <Priyanka.Jain@freescale.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/rtc-uclass.c b/drivers/rtc/rtc-uclass.c index 89312c51ff..c676f0ff35 100644 --- a/drivers/rtc/rtc-uclass.c +++ b/drivers/rtc/rtc-uclass.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/rv3029.c b/drivers/rtc/rv3029.c index f08040a859..dd4d0607a8 100644 --- a/drivers/rtc/rv3029.c +++ b/drivers/rtc/rv3029.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2010 * Heiko Schocher, DENX Software Engineering, hs@denx.de - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <command.h> diff --git a/drivers/rtc/rx8025.c b/drivers/rtc/rx8025.c index c43966a50d..1c2b92fe00 100644 --- a/drivers/rtc/rx8025.c +++ b/drivers/rtc/rx8025.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 * Matthias Fuchs, esd gmbh, matthias.fuchs@esd-electronics.com. - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/s35392a.c b/drivers/rtc/s35392a.c index 9adcefc98d..844f1b72c7 100644 --- a/drivers/rtc/s35392a.c +++ b/drivers/rtc/s35392a.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 /* * SII Semiconductor Corporation S35392A RTC driver. * @@ -14,8 +15,6 @@ * * You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - * SPDX-License-Identifier: GPL-2.0 */ #include <command.h> diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c index 187620ac89..1253085f53 100644 --- a/drivers/rtc/s3c24x0_rtc.c +++ b/drivers/rtc/s3c24x0_rtc.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2003 * David Müller ELSOFT AG Switzerland. d.mueller@elsoft.ch - * - * SPDX-License-Identifier: GPL-2.0+ */ /* diff --git a/drivers/rtc/sandbox_rtc.c b/drivers/rtc/sandbox_rtc.c index f292fbe9b6..b08d758a74 100644 --- a/drivers/rtc/sandbox_rtc.c +++ b/drivers/rtc/sandbox_rtc.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/rtc/x1205.c b/drivers/rtc/x1205.c index c499c7a85c..e9d8390f39 100644 --- a/drivers/rtc/x1205.c +++ b/drivers/rtc/x1205.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * (C) Copyright 2007 * Stefan Roese, DENX Software Engineering, sr@denx.de. @@ -8,8 +9,6 @@ * * Information and datasheet: * http://www.intersil.com/cda/deviceinfo/0,1477,X1205,00.html - * - * SPDX-License-Identifier: GPL-2.0+ */ /* |