diff options
Diffstat (limited to 'drivers/of')
-rw-r--r-- | drivers/of/Kconfig | 1 | ||||
-rw-r--r-- | drivers/of/Makefile | 1 | ||||
-rw-r--r-- | drivers/of/address.c | 10 | ||||
-rw-r--r-- | drivers/of/barebox.c | 11 | ||||
-rw-r--r-- | drivers/of/base.c | 10 | ||||
-rw-r--r-- | drivers/of/device.c | 1 | ||||
-rw-r--r-- | drivers/of/fdt.c | 10 | ||||
-rw-r--r-- | drivers/of/mem_generic.c | 1 | ||||
-rw-r--r-- | drivers/of/of_gpio.c | 2 | ||||
-rw-r--r-- | drivers/of/of_mtd.c | 4 | ||||
-rw-r--r-- | drivers/of/of_net.c | 3 | ||||
-rw-r--r-- | drivers/of/of_path.c | 11 | ||||
-rw-r--r-- | drivers/of/of_pci.c | 2 | ||||
-rw-r--r-- | drivers/of/partition.c | 10 | ||||
-rw-r--r-- | drivers/of/platform.c | 10 |
15 files changed, 17 insertions, 70 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index e58fe50f70..05eba1ec77 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 config OFTREE select DTC bool diff --git a/drivers/of/Makefile b/drivers/of/Makefile index b6847752d2..784da4277e 100644 --- a/drivers/of/Makefile +++ b/drivers/of/Makefile @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0 obj-y += address.o base.o fdt.o platform.o of_path.o device.o obj-$(CONFIG_OFTREE_MEM_GENERIC) += mem_generic.o obj-$(CONFIG_OF_GPIO) += of_gpio.o diff --git a/drivers/of/address.c b/drivers/of/address.c index 524a0f6a79..4cfec0a45a 100644 --- a/drivers/of/address.c +++ b/drivers/of/address.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * address.c - address related devicetree functions * * Copyright (c) 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <common.h> #include <of.h> diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c index aa0cfb6194..2ef5662016 100644 --- a/drivers/of/barebox.c +++ b/drivers/of/barebox.c @@ -1,17 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * barebox.c * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include <common.h> diff --git a/drivers/of/base.c b/drivers/of/base.c index 42b8d24874..dd82243752 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * base.c - basic devicetree functions * * Copyright (c) 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <common.h> #include <deep-probe.h> diff --git a/drivers/of/device.c b/drivers/of/device.c index b3f522e1fa..7e9dc95dd3 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <of.h> #include <of_device.h> diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index f72f5e3a30..fb9c92d2f8 100644 --- a/drivers/of/fdt.c +++ b/drivers/of/fdt.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * fdt.c - flat devicetree functions * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <common.h> #include <of.h> diff --git a/drivers/of/mem_generic.c b/drivers/of/mem_generic.c index 55d93bcb06..1b2f5f9de0 100644 --- a/drivers/of/mem_generic.c +++ b/drivers/of/mem_generic.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0 #include <common.h> #include <of.h> #include <memory.h> diff --git a/drivers/of/of_gpio.c b/drivers/of/of_gpio.c index e1cafdc848..a906b39deb 100644 --- a/drivers/of/of_gpio.c +++ b/drivers/of/of_gpio.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 + #include <common.h> #include <errno.h> #include <of.h> diff --git a/drivers/of/of_mtd.c b/drivers/of/of_mtd.c index c531518c1d..5d4d6d6787 100644 --- a/drivers/of/of_mtd.c +++ b/drivers/of/of_mtd.c @@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * Copyright 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> * * OF helpers for mtd. - * - * This file is released under the GPLv2 - * */ #include <common.h> #include <of_mtd.h> diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c index 67015160e2..041a0ea918 100644 --- a/drivers/of/of_net.c +++ b/drivers/of/of_net.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0 /* * OF helpers for network devices. * - * This file is released under the GPLv2 - * * Initially copied out of arch/powerpc/kernel/prom_parse.c */ #include <common.h> diff --git a/drivers/of/of_path.c b/drivers/of/of_path.c index c237d9c6a8..b2e6d8dac0 100644 --- a/drivers/of/of_path.c +++ b/drivers/of/of_path.c @@ -1,17 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * of_path.c * * Copyright (c) 2013 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * */ #include <common.h> diff --git a/drivers/of/of_pci.c b/drivers/of/of_pci.c index 2d0fbd2e5f..f73c43ee2e 100644 --- a/drivers/of/of_pci.c +++ b/drivers/of/of_pci.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0 + #include <common.h> #include <errno.h> #include <of.h> diff --git a/drivers/of/partition.c b/drivers/of/partition.c index 18b138f00e..5c5b9ef2f6 100644 --- a/drivers/of/partition.c +++ b/drivers/of/partition.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * partition.c - devicetree partition parsing * * Copyright (c) 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <common.h> #include <of.h> diff --git a/drivers/of/platform.c b/drivers/of/platform.c index ce7a2a0df5..ca9b7d153a 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0 /* * platform.c - bus/device related devicetree functions * * Copyright (c) 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix * * based on Linux devicetree support - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <common.h> #include <deep-probe.h> |