1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 08:42:12 +02:00

malloc: add SPDX license identifiers

The original code is in the public domain. Licenses/README states that the
general license for U-Boot is GPL 2.0+. So we can mark the malloc code as
GPL 2.0+ too.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt
2021-05-29 13:18:00 +02:00
committed by Tom Rini
parent 2600dd897e
commit 5ad9220bf7
2 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,13 @@
// SPDX-License-Identifier: GPL-2.0+
/*
* This code is based on a version (aka dlmalloc) of malloc/free/realloc written
* by Doug Lea and released to the public domain, as explained at
* http://creativecommons.org/publicdomain/zero/1.0/-
*
* The original code is available at http://gee.cs.oswego.edu/pub/misc/
* as file malloc-2.6.6.c.
*/
#include <common.h>
#include <log.h>
#include <asm/global_data.h>