diff options
Diffstat (limited to 'include/dm')
28 files changed, 28 insertions, 53 deletions
diff --git a/include/dm/device-internal.h b/include/dm/device-internal.h index eaeadd48d2a..5a4d50cbbea 100644 --- a/include/dm/device-internal.h +++ b/include/dm/device-internal.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> * Marek Vasut <marex@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_DEVICE_INTERNAL_H diff --git a/include/dm/device.h b/include/dm/device.h index 7786b1cf4e6..49078bc6b36 100644 --- a/include/dm/device.h +++ b/include/dm/device.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> * Marek Vasut <marex@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_DEVICE_H diff --git a/include/dm/fdtaddr.h b/include/dm/fdtaddr.h index c46f0e91d08..db4c11e0832 100644 --- a/include/dm/fdtaddr.h +++ b/include/dm/fdtaddr.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2017 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> * Marek Vasut <marex@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_FDTADDR_H diff --git a/include/dm/lists.h b/include/dm/lists.h index d4d82d2fc4e..13d1516a121 100644 --- a/include/dm/lists.h +++ b/include/dm/lists.h @@ -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+ */ #ifndef _DM_LISTS_H_ diff --git a/include/dm/of.h b/include/dm/of.h index d4d941e75c1..461e25aa19d 100644 --- a/include/dm/of.h +++ b/include/dm/of.h @@ -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+ */ #ifndef _DM_OF_H diff --git a/include/dm/of_access.h b/include/dm/of_access.h index c49d287dd60..74f0606e072 100644 --- a/include/dm/of_access.h +++ b/include/dm/of_access.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Originally from Linux v4.9 * Copyright (C) 1996-2005 Paul Mackerras. @@ -11,8 +12,6 @@ * * Modified for U-Boot * Copyright (c) 2017 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_OF_ACCESS_H diff --git a/include/dm/of_addr.h b/include/dm/of_addr.h index 25ca05b3154..12b1a99a80e 100644 --- a/include/dm/of_addr.h +++ b/include/dm/of_addr.h @@ -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+ */ #ifndef _DM_OF_ADDR_H diff --git a/include/dm/of_extra.h b/include/dm/of_extra.h index 01b6ebedff9..6f1529689f8 100644 --- a/include/dm/of_extra.h +++ b/include/dm/of_extra.h @@ -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+ */ #ifndef _DM_OF_EXTRA_H diff --git a/include/dm/ofnode.h b/include/dm/ofnode.h index 0d008404f90..be3f25d46de 100644 --- a/include/dm/ofnode.h +++ b/include/dm/ofnode.h @@ -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+ */ #ifndef _DM_OFNODE_H diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h index c6c8f6158d3..80de3f3fed2 100644 --- a/include/dm/pinctrl.h +++ b/include/dm/pinctrl.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (C) 2015 Masahiro Yamada <yamada.masahiro@socionext.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __PINCTRL_H diff --git a/include/dm/platdata.h b/include/dm/platdata.h index b73aa33093a..c972fa6936f 100644 --- a/include/dm/platdata.h +++ b/include/dm/platdata.h @@ -1,11 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013 Google, Inc * * (C) Copyright 2012 * Pavel Herrmann <morpheus.ibis@gmail.com> * Marek Vasut <marex@denx.de> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_PLATDATA_H diff --git a/include/dm/platform_data/lpc32xx_hsuart.h b/include/dm/platform_data/lpc32xx_hsuart.h index fd191b5bd58..9bfd62833cd 100644 --- a/include/dm/platform_data/lpc32xx_hsuart.h +++ b/include/dm/platform_data/lpc32xx_hsuart.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2015 Vladimir Zapolskiy <vz@mleia.com> - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _LPC32XX_HSUART_PLAT_H diff --git a/include/dm/platform_data/net_ethoc.h b/include/dm/platform_data/net_ethoc.h index 3f94bde7b26..855e9999a0a 100644 --- a/include/dm/platform_data/net_ethoc.h +++ b/include/dm/platform_data/net_ethoc.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2016 Cadence Design Systems Inc. - * - * SPDX-License-Identifier: GPL-2.0 */ #ifndef _ETHOC_H diff --git a/include/dm/platform_data/pfe_dm_eth.h b/include/dm/platform_data/pfe_dm_eth.h index 7943c676885..100a981a38d 100644 --- a/include/dm/platform_data/pfe_dm_eth.h +++ b/include/dm/platform_data/pfe_dm_eth.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright 2015-2016 Freescale Semiconductor, Inc. * Copyright 2017 NXP - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __PFE_DM_ETH_H__ diff --git a/include/dm/platform_data/serial_bcm283x_mu.h b/include/dm/platform_data/serial_bcm283x_mu.h index 57ae6adc053..37f5174dbf2 100644 --- a/include/dm/platform_data/serial_bcm283x_mu.h +++ b/include/dm/platform_data/serial_bcm283x_mu.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2016 Stephen Warren <swarren@wwwdotorg.org> * * Derived from pl01x code: * Copyright (c) 2014 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __serial_bcm283x_mu_h diff --git a/include/dm/platform_data/serial_coldfire.h b/include/dm/platform_data/serial_coldfire.h index 5d86456f1e1..ba916fece3d 100644 --- a/include/dm/platform_data/serial_coldfire.h +++ b/include/dm/platform_data/serial_coldfire.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2015 Angelo Dureghello <angelo@sysam.it> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __serial_coldfire_h diff --git a/include/dm/platform_data/serial_mxc.h b/include/dm/platform_data/serial_mxc.h index 7bcd28049b3..86cd3bcf628 100644 --- a/include/dm/platform_data/serial_mxc.h +++ b/include/dm/platform_data/serial_mxc.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2014 Google, Inc - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __serial_mxc_h diff --git a/include/dm/platform_data/serial_pl01x.h b/include/dm/platform_data/serial_pl01x.h index ccfa808e233..77d96c49f03 100644 --- a/include/dm/platform_data/serial_pl01x.h +++ b/include/dm/platform_data/serial_pl01x.h @@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2014 Google, Inc - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __serial_pl01x_h diff --git a/include/dm/platform_data/serial_pxa.h b/include/dm/platform_data/serial_pxa.h index b19a4a6521b..408c00885de 100644 --- a/include/dm/platform_data/serial_pxa.h +++ b/include/dm/platform_data/serial_pxa.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2016 Marcel Ziswiler <marcel.ziswiler@toradex.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __SERIAL_PXA_H diff --git a/include/dm/platform_data/serial_sh.h b/include/dm/platform_data/serial_sh.h index 0271ad67b36..711435d8f6e 100644 --- a/include/dm/platform_data/serial_sh.h +++ b/include/dm/platform_data/serial_sh.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2014 Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> * Copyright (c) 2014 Renesas Electronics Corporation - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __serial_sh_h diff --git a/include/dm/platform_data/serial_stm32.h b/include/dm/platform_data/serial_stm32.h index d1cfcbe54f9..85153df527b 100644 --- a/include/dm/platform_data/serial_stm32.h +++ b/include/dm/platform_data/serial_stm32.h @@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2015 * Kamil Lulko, <kamil.lulko@gmail.com> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __SERIAL_STM32_H diff --git a/include/dm/read.h b/include/dm/read.h index f14c7a7ba87..4a725bc923b 100644 --- a/include/dm/read.h +++ b/include/dm/read.h @@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Function to read values from the device tree node attached to a udevice. * * Copyright (c) 2017 Google, Inc * Written by Simon Glass <sjg@chromium.org> - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _DM_READ_H diff --git a/include/dm/root.h b/include/dm/root.h index b075eef2c1a..2b9c6da4165 100644 --- a/include/dm/root.h +++ b/include/dm/root.h @@ -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+ */ #ifndef _DM_ROOT_H_ diff --git a/include/dm/test.h b/include/dm/test.h index cecee26f336..83418eb4822 100644 --- a/include/dm/test.h +++ b/include/dm/test.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013 Google, Inc. - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DM_TEST_H diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h index d28fb3e23f0..d7f9df3583a 100644 --- a/include/dm/uclass-id.h +++ b/include/dm/uclass-id.h @@ -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+ */ #ifndef _DM_UCLASS_ID_H diff --git a/include/dm/uclass-internal.h b/include/dm/uclass-internal.h index c0860043183..7ba064bd53f 100644 --- a/include/dm/uclass-internal.h +++ b/include/dm/uclass-internal.h @@ -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+ */ #ifndef _DM_UCLASS_INTERNAL_H diff --git a/include/dm/uclass.h b/include/dm/uclass.h index a5bf3eb8318..9fbaa7d81a5 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h @@ -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+ */ #ifndef _DM_UCLASS_H diff --git a/include/dm/util.h b/include/dm/util.h index 0d4ce8f4e6f..898822e4459 100644 --- a/include/dm/util.h +++ b/include/dm/util.h @@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ /* * Copyright (c) 2013 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __DM_UTIL_H |