diff options
Diffstat (limited to 'drivers/core')
-rw-r--r-- | drivers/core/Makefile | 4 | ||||
-rw-r--r-- | drivers/core/device-remove.c | 3 | ||||
-rw-r--r-- | drivers/core/device.c | 3 | ||||
-rw-r--r-- | drivers/core/devres.c | 3 | ||||
-rw-r--r-- | drivers/core/dump.c | 3 | ||||
-rw-r--r-- | drivers/core/fdtaddr.c | 3 | ||||
-rw-r--r-- | drivers/core/lists.c | 3 | ||||
-rw-r--r-- | drivers/core/of_access.c | 3 | ||||
-rw-r--r-- | drivers/core/of_addr.c | 3 | ||||
-rw-r--r-- | drivers/core/of_extra.c | 3 | ||||
-rw-r--r-- | drivers/core/ofnode.c | 3 | ||||
-rw-r--r-- | drivers/core/read.c | 3 | ||||
-rw-r--r-- | drivers/core/read_extra.c | 3 | ||||
-rw-r--r-- | drivers/core/regmap.c | 3 | ||||
-rw-r--r-- | drivers/core/root.c | 3 | ||||
-rw-r--r-- | drivers/core/simple-bus.c | 3 | ||||
-rw-r--r-- | drivers/core/syscon-uclass.c | 3 | ||||
-rw-r--r-- | drivers/core/uclass.c | 3 | ||||
-rw-r--r-- | drivers/core/util.c | 3 |
19 files changed, 19 insertions, 39 deletions
diff --git a/drivers/core/Makefile b/drivers/core/Makefile index a5039c5bd31..bce7467da1d 100644 --- a/drivers/core/Makefile +++ b/drivers/core/Makefile @@ -1,8 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0+ # # Copyright (c) 2013 Google, Inc -# -# SPDX-License-Identifier: GPL-2.0+ -# obj-y += device.o fdtaddr.o lists.o root.o uclass.o util.o obj-$(CONFIG_DEVRES) += devres.o diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index 3c6ab42f7d6..1cf2278e9ef 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Device manager * @@ -5,8 +6,6 @@ * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/device.c b/drivers/core/device.c index 940a153c583..1a329565680 100644 --- a/drivers/core/device.c +++ b/drivers/core/device.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Device manager * @@ -5,8 +6,6 @@ * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/devres.c b/drivers/core/devres.c index 605295bd14d..f2a19ec61b1 100644 --- a/drivers/core/devres.c +++ b/drivers/core/devres.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> * * Based on the original work in Linux by * Copyright (c) 2006 SUSE Linux Products GmbH * Copyright (c) 2006 Tejun Heo <teheo@suse.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/dump.c b/drivers/core/dump.c index 6c6b9444530..58820cdb2f4 100644 --- a/drivers/core/dump.c +++ b/drivers/core/dump.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/fdtaddr.c b/drivers/core/fdtaddr.c index 9a3b4c312af..528cf472960 100644 --- a/drivers/core/fdtaddr.c +++ b/drivers/core/fdtaddr.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Device addresses * @@ -5,8 +6,6 @@ * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 6fa5d1090ab..a1677269d8d 100644 --- a/drivers/core/lists.c +++ b/drivers/core/lists.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Marek Vasut <marex@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/of_access.c b/drivers/core/of_access.c index 9389199a2a9..9a50f559de2 100644 --- a/drivers/core/of_access.c +++ b/drivers/core/of_access.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Originally from Linux v4.9 * Paul Mackerras August 1996. @@ -16,8 +17,6 @@ * * This file follows drivers/of/base.c with functions in the same order as the * Linux version. - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/of_addr.c b/drivers/core/of_addr.c index 7513ea2cf7e..1bfaaeec00a 100644 --- a/drivers/core/of_addr.c +++ b/drivers/core/of_addr.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Taken from Linux v4.9 drivers/of/address.c * * Modified for U-Boot * Copyright (c) 2017 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/of_extra.c b/drivers/core/of_extra.c index ca2e92b32b5..c76177c5292 100644 --- a/drivers/core/of_extra.c +++ b/drivers/core/of_extra.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c index 5909a25f856..4cd10032ddb 100644 --- a/drivers/core/ofnode.c +++ b/drivers/core/ofnode.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/read.c b/drivers/core/read.c index 601d1322d63..0322cbf3300 100644 --- a/drivers/core/read.c +++ b/drivers/core/read.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/read_extra.c b/drivers/core/read_extra.c index e94648f1b58..51383488278 100644 --- a/drivers/core/read_extra.c +++ b/drivers/core/read_extra.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index 8a0e00ff9aa..a5e4e748256 100644 --- a/drivers/core/regmap.c +++ b/drivers/core/regmap.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/root.c b/drivers/core/root.c index 9000ed55ca5..72bcc7d7f2a 100644 --- a/drivers/core/root.c +++ b/drivers/core/root.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/simple-bus.c b/drivers/core/simple-bus.c index 5acfa5f0e49..e16d8a9ff4a 100644 --- a/drivers/core/simple-bus.c +++ b/drivers/core/simple-bus.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2014 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/syscon-uclass.c b/drivers/core/syscon-uclass.c index a69937e63c1..96408dea7e6 100644 --- a/drivers/core/syscon-uclass.c +++ b/drivers/core/syscon-uclass.c @@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2015 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index 628e2e13ff6..0085d3fb24b 100644 --- a/drivers/core/uclass.c +++ b/drivers/core/uclass.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> diff --git a/drivers/core/util.c b/drivers/core/util.c index 24abe1445b9..451d4766d08 100644 --- a/drivers/core/util.c +++ b/drivers/core/util.c @@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2013 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> |