[1/1] mtd: ubi: Update ubi-media.h to dual license

Message ID 20180212105642.8662-2-lionel.debieve@st.com
State New
Headers show
Series
  • mtd: ubi: Update ubi-media.h to dual license
Related show

Commit Message

Lionel Debieve Feb. 12, 2018, 10:56 a.m.
Update license template using SPDX. Move the global layout
of UBI headers to dual license helping UBI to be the standard
solution for raw NAND management.

Signed-off-by: Lionel Debieve <lionel.debieve@st.com>
---
 drivers/mtd/ubi/ubi-media.h | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)

Comments

Richard Weinberger March 27, 2018, 8:18 p.m. | #1
On Mon, Feb 12, 2018 at 11:56 AM, Lionel Debieve <lionel.debieve@st.com> wrote:
> Update license template using SPDX. Move the global layout
> of UBI headers to dual license helping UBI to be the standard
> solution for raw NAND management.

So the goal is re-implementing UBI under a non-GPL license?

If we get a clear ack from all major UBI copyright holders, fine by me.
Thomas Gleixner March 27, 2018, 9:06 p.m. | #2
On Tue, 27 Mar 2018, Richard Weinberger wrote:

> On Mon, Feb 12, 2018 at 11:56 AM, Lionel Debieve <lionel.debieve@st.com> wrote:
> > Update license template using SPDX. Move the global layout
> > of UBI headers to dual license helping UBI to be the standard
> > solution for raw NAND management.
> 
> So the goal is re-implementing UBI under a non-GPL license?
> 
> If we get a clear ack from all major UBI copyright holders, fine by me.

I already acked that for the u-boot SPL code. So yes:

Acked-by: Thomas Gleixner <tglx@linutronix.de>

Patch

diff --git a/drivers/mtd/ubi/ubi-media.h b/drivers/mtd/ubi/ubi-media.h
index bfceae5a890e..195ff8ca8211 100644
--- a/drivers/mtd/ubi/ubi-media.h
+++ b/drivers/mtd/ubi/ubi-media.h
@@ -1,28 +1,12 @@ 
+/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
 /*
- * Copyright (c) International Business Machines Corp., 2006
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
- * the GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- *
+ * Copyright (C) International Business Machines Corp., 2006
  * Authors: Artem Bityutskiy (Битюцкий Артём)
  *          Thomas Gleixner
  *          Frank Haverkamp
  *          Oliver Lohmann
  *          Andreas Arnez
- */
-
-/*
+ *
  * This file defines the layout of UBI headers and all the other UBI on-flash
  * data structures.
  */