[PATCH] cmd/elf.c: Add SPDX tag

Tom Rini trini at konsulko.com
Wed Jan 29 17:03:34 CET 2020


Based on reading the text of the license comment this appears to be
the BSD-2-Clause license but with an imperfect word match as
BSD-2-Clause was not (as far as I recall) a common license choice at the
time the code was written.

Cc: Wolfgang Denk <wd at denx.de>
Signed-off-by: Tom Rini <trini at konsulko.com>
---
 cmd/elf.c | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/cmd/elf.c b/cmd/elf.c
index ba06df06cf33..036be5f44381 100644
--- a/cmd/elf.c
+++ b/cmd/elf.c
@@ -1,16 +1,7 @@
+// SPDX-License-Identifier: BSD-2-Clause
 /*
  * Copyright (c) 2001 William L. Pitts
  * All rights reserved.
- *
- * Redistribution and use in source and binary forms are freely
- * permitted provided that the above copyright notice and this
- * paragraph and the following disclaimer are duplicated in all
- * such forms.
- *
- * This software is provided "AS IS" and without any express or
- * implied warranties, including, without limitation, the implied
- * warranties of merchantability and fitness for a particular
- * purpose.
  */
 
 #include <common.h>
-- 
2.17.1



More information about the U-Boot mailing list