[U-Boot] [PATCH 0/5] SPDX-License-Identifier: coverting more files

Roger Meier roger at bufferoverflow.ch
Tue Jul 30 23:29:20 CEST 2013


Hi Wolfgang,

Quoting Wolfgang Denk <wd at denx.de>:

> The following patch series converts some more files to the new SPDX
> License Identifier scheme.  Note that some of the patches are
> non-trivial, i. e. these should be reviewed carefully.
>
> This patch series assumes that Roger Meier's previous patch "libfdt:
> SPDX-License-Identifier: GPL-2.0+ BSD-2-Clause" (see [1]) has already
> been applied.
>
> [1] http://article.gmane.org/gmane.comp.boot-loaders.u-boot/166531
>
>
> Wolfgang Denk (5):
>   SPDX-License-Identifier: convert GPL-2.0+ / BSD-2-Clause dual-licensed
>     files
>   SPDX-License-Identifier: fixing some problematic GPL-2.0 files
>   SPDX-License-Identifier: convert PIBS licensed files
>   board/esd/cpci750/mv_eth.c: Fix license
>   SPDX-License-Identifier: convert BSD-3-Clause files
>
>  Licenses/README                                    |  5 +-
>  Licenses/bsd-3-clause.txt                          | 24 ++++++++++
>  Licenses/ibm-pibs.txt                              | 17 +++++++
>  arch/arm/include/asm/arch-omap3/gpio.h             | 19 +-------
>  arch/arm/include/asm/arch-omap4/gpio.h             | 19 +-------
>  arch/arm/include/asm/arch-omap5/gpio.h             | 19 +-------
>  arch/arm/include/asm/omap_gpio.h                   | 19 +-------
>  arch/powerpc/cpu/ppc4xx/4xx_pci.c                  | 25 +---------
>  arch/powerpc/cpu/ppc4xx/4xx_uart.c                 | 25 +---------
>  arch/powerpc/cpu/ppc4xx/miiphy.c                   | 25 ++--------
>  arch/powerpc/cpu/ppc4xx/start.S                    | 41 +----------------
>  arch/powerpc/include/asm/ppc405.h                  | 25 ++--------
>  arch/powerpc/include/asm/ppc440.h                  | 25 +---------
>  arch/powerpc/include/asm/ppc4xx-emac.h             | 25 ++--------
>  arch/powerpc/include/asm/ppc4xx-mal.h              | 25 ++--------
>  arch/powerpc/include/asm/ppc4xx.h                  | 25 ++--------
>  arch/x86/cpu/coreboot/tables.c                     | 23 +---------
>  arch/x86/include/asm/arch-coreboot/sysinfo.h       | 23 +---------
>  arch/x86/include/asm/arch-coreboot/tables.h        | 23 +---------
>  board/chromebook-x86/coreboot/config.mk            | 32 +------------
>  board/cray/L1/init.S                               | 27 ++---------
>  board/csb272/init.S                                | 26 ++---------
>  board/csb472/init.S                                | 26 ++---------
>  board/esd/cpci750/mv_eth.c                         | 17 +------
>  board/esd/pci405/writeibm.S                        | 28 ++----------
>  board/jse/init.S                                   | 28 ++----------
>  board/mpl/common/pci.c                             | 25 ++--------
>  board/mpl/mip405/init.S                            | 26 ++---------
>  board/mpl/pip405/init.S                            | 26 ++---------
>  board/sc3/init.S                                   | 31 ++-----------
>  board/scb9328/intel.h                              | 23 +---------
>  board/w7o/init.S                                   | 26 ++---------
>  common/cmd_ini.c                                   | 25 +---------
>  drivers/gpio/omap_gpio.c                           | 19 +-------
>  drivers/net/4xx_enet.c                             | 25 ++--------
>  drivers/net/npe/IxEthAcc.c                         | 26 +----------
>  drivers/net/npe/IxEthAccCommon.c                   | 26 +----------
>  drivers/net/npe/IxEthAccControlInterface.c         | 26 +----------
>  drivers/net/npe/IxEthAccDataPlane.c                | 26 +----------
>  drivers/net/npe/IxEthAccMac.c                      | 26 +----------
>  drivers/net/npe/IxEthAccMii.c                      | 26 +----------
>  drivers/net/npe/IxEthDBAPI.c                       | 26 +----------
>  drivers/net/npe/IxEthDBAPISupport.c                | 26 +----------
>  drivers/net/npe/IxEthDBCore.c                      | 26 +----------
>  drivers/net/npe/IxEthDBEvents.c                    | 26 +----------
>  drivers/net/npe/IxEthDBFeatures.c                  | 26 +----------
>  drivers/net/npe/IxEthDBFirewall.c                  | 26 +----------
>  drivers/net/npe/IxEthDBHashtable.c                 | 26 +----------
>  drivers/net/npe/IxEthDBLearning.c                  | 26 +----------
>  drivers/net/npe/IxEthDBMem.c                       | 26 +----------
>  drivers/net/npe/IxEthDBNPEAdaptor.c                | 26 +----------
>  drivers/net/npe/IxEthDBPortUpdate.c                | 26 +----------
>  drivers/net/npe/IxEthDBReports.c                   | 26 +----------
>  drivers/net/npe/IxEthDBSearch.c                    | 26 +----------
>  drivers/net/npe/IxEthDBSpanningTree.c              | 26 +----------
>  drivers/net/npe/IxEthDBUtil.c                      | 26 +----------
>  drivers/net/npe/IxEthDBVlan.c                      | 26 +----------
>  drivers/net/npe/IxEthDBWiFi.c                      | 26 +----------
>  drivers/net/npe/IxEthMii.c                         | 26 +----------
>  drivers/net/npe/IxFeatureCtrl.c                    | 26 +----------
>  drivers/net/npe/IxNpeDl.c                          | 26 +----------
>  drivers/net/npe/IxNpeDlImageMgr.c                  | 26 +----------
>  drivers/net/npe/IxNpeDlNpeMgr.c                    | 26 +----------
>  drivers/net/npe/IxNpeDlNpeMgrUtils.c               | 26 +----------
>  drivers/net/npe/IxNpeMh.c                          | 26 +----------
>  drivers/net/npe/IxNpeMhConfig.c                    | 26 +----------
>  drivers/net/npe/IxNpeMhReceive.c                   | 30 +-----------
>  drivers/net/npe/IxNpeMhSend.c                      | 26 +----------
>  drivers/net/npe/IxNpeMhSolicitedCbMgr.c            | 26 +----------
>  drivers/net/npe/IxNpeMhUnsolicitedCbMgr.c          | 26 +----------
>  drivers/net/npe/IxOsalBufferMgt.c                  | 26 +----------
>  drivers/net/npe/IxOsalIoMem.c                      | 26 +----------
>  drivers/net/npe/IxOsalOsCacheMMU.c                 | 26 +----------
>  drivers/net/npe/IxOsalOsMsgQ.c                     | 26 +----------
>  drivers/net/npe/IxOsalOsSemaphore.c                | 26 +----------
>  drivers/net/npe/IxOsalOsServices.c                 | 26 +----------
>  drivers/net/npe/IxOsalOsThread.c                   | 26 +----------
>  drivers/net/npe/IxQMgrAqmIf.c                      | 30 +-----------
>  drivers/net/npe/IxQMgrDispatcher.c                 | 26 +----------
>  drivers/net/npe/IxQMgrInit.c                       | 26 +----------
>  drivers/net/npe/IxQMgrQAccess.c                    | 26 +----------
>  drivers/net/npe/IxQMgrQCfg.c                       | 26 +----------
>  drivers/net/npe/include/IxAssert.h                 | 26 +----------
>  drivers/net/npe/include/IxAtmSch.h                 | 26 +----------
>  drivers/net/npe/include/IxAtmTypes.h               | 26 +----------
>  drivers/net/npe/include/IxAtmdAcc.h                | 26 +----------
>  drivers/net/npe/include/IxAtmdAccCtrl.h            | 26 +----------
>  drivers/net/npe/include/IxAtmm.h                   | 26 +----------
>  drivers/net/npe/include/IxDmaAcc.h                 | 26 +----------
>  drivers/net/npe/include/IxEthAcc.h                 | 26 +----------
>  drivers/net/npe/include/IxEthAccDataPlane_p.h      | 26 +----------
>  drivers/net/npe/include/IxEthAccMac_p.h            | 26 +----------
>  drivers/net/npe/include/IxEthAccMii_p.h            | 26 +----------
>  drivers/net/npe/include/IxEthAccQueueAssign_p.h    | 26 +----------
>  drivers/net/npe/include/IxEthAcc_p.h               | 26 +----------
>  drivers/net/npe/include/IxEthDB.h                  | 26 +----------
>  drivers/net/npe/include/IxEthDBLocks_p.h           | 26 +----------
>  drivers/net/npe/include/IxEthDBLog_p.h             | 26 +----------
>  drivers/net/npe/include/IxEthDBMessages_p.h        | 26 +----------
>  drivers/net/npe/include/IxEthDBPortDefs.h          | 26 +----------
>  drivers/net/npe/include/IxEthDBQoS.h               | 26 +----------
>  drivers/net/npe/include/IxEthDB_p.h                | 26 +----------
>  drivers/net/npe/include/IxEthMii.h                 | 26 +----------
>  drivers/net/npe/include/IxEthMii_p.h               | 26 +----------
>  drivers/net/npe/include/IxEthNpe.h                 | 26 +----------
>  drivers/net/npe/include/IxFeatureCtrl.h            | 26 +----------
>  drivers/net/npe/include/IxHssAcc.h                 | 26 +----------
>  drivers/net/npe/include/IxI2cDrv.h                 | 26 +----------
>  drivers/net/npe/include/IxNpeA.h                   | 26 +----------
>  drivers/net/npe/include/IxNpeDl.h                  | 26 +----------
>  drivers/net/npe/include/IxNpeDlImageMgr_p.h        | 26 +----------
>  drivers/net/npe/include/IxNpeDlMacros_p.h          | 26 +----------
>  .../net/npe/include/IxNpeDlNpeMgrEcRegisters_p.h   | 26 +----------
>  drivers/net/npe/include/IxNpeDlNpeMgrUtils_p.h     | 26 +----------
>  drivers/net/npe/include/IxNpeDlNpeMgr_p.h          | 26 +----------
>  drivers/net/npe/include/IxNpeMh.h                  | 26 +----------
>  drivers/net/npe/include/IxNpeMhConfig_p.h          | 26 +----------
>  drivers/net/npe/include/IxNpeMhMacros_p.h          | 26 +----------
>  drivers/net/npe/include/IxNpeMhReceive_p.h         | 26 +----------
>  drivers/net/npe/include/IxNpeMhSend_p.h            | 26 +----------
>  drivers/net/npe/include/IxNpeMhSolicitedCbMgr_p.h  | 26 +----------
>  .../net/npe/include/IxNpeMhUnsolicitedCbMgr_p.h    | 26 +----------
>  drivers/net/npe/include/IxNpeMicrocode.h           | 26 +----------
>  drivers/net/npe/include/IxOsBufLib.h               | 26 +----------
>  drivers/net/npe/include/IxOsBuffMgt.h              | 26 +----------
>  drivers/net/npe/include/IxOsBuffPoolMgt.h          | 26 +----------
>  drivers/net/npe/include/IxOsCacheMMU.h             | 26 +----------
>  drivers/net/npe/include/IxOsPrintf.h               | 26 +----------
>  drivers/net/npe/include/IxOsServices.h             | 26 +----------
>  drivers/net/npe/include/IxOsServicesComponents.h   | 26 +----------
>  drivers/net/npe/include/IxOsServicesEndianess.h    | 26 +----------
>  drivers/net/npe/include/IxOsServicesMemAccess.h    | 26 +----------
>  drivers/net/npe/include/IxOsServicesMemMap.h       | 26 +----------
>  drivers/net/npe/include/IxOsal.h                   | 26 +----------
>  drivers/net/npe/include/IxOsalAssert.h             | 26 +----------
>  drivers/net/npe/include/IxOsalBackward.h           | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardAssert.h     | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardBufferMgt.h  | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardCacheMMU.h   | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardMemMap.h     | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardOsServices.h | 26 +----------
>  drivers/net/npe/include/IxOsalBackwardOssl.h       | 26 +----------
>  drivers/net/npe/include/IxOsalBufferMgt.h          | 53  
> +---------------------
>  drivers/net/npe/include/IxOsalBufferMgtDefault.h   | 26 +----------
>  drivers/net/npe/include/IxOsalConfig.h             | 26 +----------
>  drivers/net/npe/include/IxOsalEndianess.h          | 26 +----------
>  drivers/net/npe/include/IxOsalIoMem.h              | 26 +----------
>  drivers/net/npe/include/IxOsalMemAccess.h          | 26 +----------
>  drivers/net/npe/include/IxOsalOem.h                | 26 +----------
>  drivers/net/npe/include/IxOsalOsBufferMgt.h        | 26 +----------
>  drivers/net/npe/include/IxOsalOsIxp400.h           | 26 +----------
>  .../npe/include/IxOsalOsIxp400CustomizedMapping.h  | 26 +----------
>  drivers/net/npe/include/IxOsalTypes.h              | 26 +----------
>  drivers/net/npe/include/IxOsalUtilitySymbols.h     | 26 +----------
>  drivers/net/npe/include/IxParityENAcc.h            | 26 +----------
>  drivers/net/npe/include/IxPerfProfAcc.h            | 26 +----------
>  drivers/net/npe/include/IxQMgr.h                   | 26 +----------
>  drivers/net/npe/include/IxQMgrAqmIf_p.h            | 26 +----------
>  drivers/net/npe/include/IxQMgrDefines_p.h          | 26 +----------
>  drivers/net/npe/include/IxQMgrDispatcher_p.h       | 26 +----------
>  drivers/net/npe/include/IxQMgrLog_p.h              | 26 +----------
>  drivers/net/npe/include/IxQMgrQAccess_p.h          | 26 +----------
>  drivers/net/npe/include/IxQMgrQCfg_p.h             | 26 +----------
>  drivers/net/npe/include/IxQueueAssignments.h       | 26 +----------
>  drivers/net/npe/include/IxSspAcc.h                 | 26 +----------
>  drivers/net/npe/include/IxTimeSyncAcc.h            | 26 +----------
>  drivers/net/npe/include/IxTimerCtrl.h              | 26 +----------
>  drivers/net/npe/include/IxTypes.h                  | 26 +----------
>  drivers/net/npe/include/IxUART.h                   | 26 +----------
>  drivers/net/npe/include/IxVersionId.h              | 26 +----------
>  drivers/net/npe/include/ix_error.h                 | 26 +----------
>  drivers/net/npe/include/ix_macros.h                | 26 +----------
>  drivers/net/npe/include/ix_os_type.h               | 26 +----------
>  drivers/net/npe/include/ix_ossl.h                  | 26 +----------
>  drivers/net/npe/include/ix_symbols.h               | 26 +----------
>  drivers/net/npe/include/ix_types.h                 | 26 +----------
>  drivers/net/npe/include/os_datatypes.h             | 26 +----------
>  drivers/net/npe/miiphy.c                           | 25 ++--------
>  drivers/usb/gadget/f_mass_storage.c                | 30 +-----------
>  fs/yaffs2/yaffs_qsort.c                            | 24 +---------
>  include/api_public.h                               | 45 +-----------------
>  include/elf.h                                      | 22 +--------
>  include/miiphy.h                                   | 29 ++----------
>  183 files changed, 264 insertions(+), 4480 deletions(-)
>  create mode 100644 Licenses/bsd-3-clause.txt
>  create mode 100644 Licenses/ibm-pibs.txt
>
> --
> 1.8.1.4

Wow, this was a large patch. Thanks!

Reviewed-by: Roger Meier <roger at bufferoverflow.ch>

I have just one little finding:
--- a/drivers/net/npe/IxQMgrAqmIf.c
+++ b/drivers/net/npe/IxQMgrAqmIf.c
@@ -18,35 +18,7 @@
   * -- Copyright Notice --
   *
   * @par
- * Copyright 2001-2005, Intel Corporation.
- * All rights reserved.


I will start a request at spdx-legal to include ibm-pibs to
the SPDX license list. An other option might be a local
prefix for the identifier, e.g. local.ibm-pibs

all the best!
-roger


More information about the U-Boot mailing list