diff options
Diffstat (limited to 'drivers/hw_random')
-rw-r--r-- | drivers/hw_random/Kconfig | 1 | ||||
-rw-r--r-- | drivers/hw_random/Makefile | 1 | ||||
-rw-r--r-- | drivers/hw_random/core.c | 5 | ||||
-rw-r--r-- | drivers/hw_random/mxc-rngc.c | 16 |
4 files changed, 4 insertions, 19 deletions
diff --git a/drivers/hw_random/Kconfig b/drivers/hw_random/Kconfig index 764911f4d3..af9837df84 100644 --- a/drivers/hw_random/Kconfig +++ b/drivers/hw_random/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 menuconfig HWRNG bool "HWRNG Support" help diff --git a/drivers/hw_random/Makefile b/drivers/hw_random/Makefile index 4cf33d2d93..14193c2fb6 100644 --- a/drivers/hw_random/Makefile +++ b/drivers/hw_random/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_HWRNG) += core.o obj-$(CONFIG_HWRNG_MXC_RNGC) += mxc-rngc.o obj-$(CONFIG_HWRNG_STM32) += stm32-rng.o diff --git a/drivers/hw_random/core.c b/drivers/hw_random/core.c index 86214dc8ba..f487cb3864 100644 --- a/drivers/hw_random/core.c +++ b/drivers/hw_random/core.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) 2016 Pengutronix, Steffen Trumtrar <kernel@pengutronix.de> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 - * as published by the Free Software Foundation. - * * derived from Linux kernel drivers/char/hw_random/core.c */ diff --git a/drivers/hw_random/mxc-rngc.c b/drivers/hw_random/mxc-rngc.c index 075c20e437..1d17f00f67 100644 --- a/drivers/hw_random/mxc-rngc.c +++ b/drivers/hw_random/mxc-rngc.c @@ -1,19 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 /* * RNG driver for Freescale RNGC * * Copyright (C) 2008-2012 Freescale Semiconductor, Inc. - */ - -/* - * The code contained herein is licensed under the GNU General Public - * License. You may obtain a copy of the GNU General Public License - * Version 2 or later at the following locations: * - * http://www.opensource.org/licenses/gpl-license.html - * http://www.gnu.org/copyleft/gpl.html - */ - -/* * Hardware driver for the Intel/AMD/VIA Random Number Generators (RNG) * (c) Copyright 2003 Red Hat Inc <jgarzik@redhat.com> * @@ -27,10 +17,6 @@ * Hardware driver for Intel i810 Random Number Generator (RNG) * Copyright 2000,2001 Jeff Garzik <jgarzik@pobox.com> * Copyright 2000,2001 Philipp Rumpf <prumpf@mandrakesoft.com> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ #include <common.h> |