summaryrefslogtreecommitdiff
path: root/common/dlmalloc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-06-23 08:45:09 -0400
committerTom Rini <trini@konsulko.com>2021-06-23 08:45:09 -0400
commit6fc0a2f76bc285dc4bc80f55452311385e6c3d57 (patch)
treeaa741bbc7cb8e0208b7e21c870fdc39f9ca99ae6 /common/dlmalloc.c
parent1ce892cb1ce970d8ee6ffcecc22351c84e67fca4 (diff)
parentb2710faf82998d7be9e4eef554063a5e27e88ec9 (diff)
Merge branch '2021-06-22-assorted-fixes'
- Assorted minor bugfixes
Diffstat (limited to 'common/dlmalloc.c')
-rw-r--r--common/dlmalloc.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/dlmalloc.c b/common/dlmalloc.c
index cf0270a9c11..11729e8c85b 100644
--- a/common/dlmalloc.c
+++ b/common/dlmalloc.c
@@ -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>