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 a5039c5bd3..bce7467da1 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 3c6ab42f7d..1cf2278e9e 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 940a153c58..1a32956568 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 605295bd14..f2a19ec61b 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 6c6b944453..58820cdb2f 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 9a3b4c312a..528cf47296 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 6fa5d1090a..a1677269d8 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 9389199a2a..9a50f559de 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 7513ea2cf7..1bfaaeec00 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 ca2e92b32b..c76177c529 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 5909a25f85..4cd10032dd 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 601d1322d6..0322cbf330 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 e94648f1b5..5138348827 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 8a0e00ff9a..a5e4e74825 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 9000ed55ca..72bcc7d7f2 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 5acfa5f0e4..e16d8a9ff4 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 a69937e63c..96408dea7e 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 628e2e13ff..0085d3fb24 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 24abe1445b..451d4766d0 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> |