summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-18 16:20:43 +0100
committerTom Rini <trini@konsulko.com>2025-04-03 16:54:49 -0600
commit9ca1789ff099a364c6e16dcb6f6ad2e8677f32f1 (patch)
tree5116dd6d8df42d0d423cf777451bebae57fdefb2
parent4662e5286aa259e158f314157d0d8f2ad213a321 (diff)
membuff: Rename the files to membuf
Rename the C and header files to use the membuf basename, to match the functions. Add a MAINTAINERS entry while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--MAINTAINERS7
-rw-r--r--include/asm-generic/global_data.h2
-rw-r--r--include/membuf.h (renamed from include/membuff.h)0
-rw-r--r--lib/Makefile2
-rw-r--r--lib/membuf.c (renamed from lib/membuff.c)2
5 files changed, 10 insertions, 3 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 92d4a158fd0..fac9ce81d70 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1281,6 +1281,13 @@ T: git git://github.com/ARM-software/u-boot.git
F: drivers/video/mali_dp.c
F: drivers/i2c/i2c-versatile.c
+MEMBUF
+M: Simon Glass <sjg@chromium.org>
+S: Maintained
+T: git https://source.denx.de/u-boot/u-boot.git
+F: include/membuf.h
+F: lib/membuf.c
+
MICROBLAZE
M: Michal Simek <monstr@monstr.eu>
S: Maintained
diff --git a/include/asm-generic/global_data.h b/include/asm-generic/global_data.h
index 789adf2c3f9..18d94592b03 100644
--- a/include/asm-generic/global_data.h
+++ b/include/asm-generic/global_data.h
@@ -23,7 +23,7 @@
#include <board_f.h>
#include <event_internal.h>
#include <fdtdec.h>
-#include <membuff.h>
+#include <membuf.h>
#include <linux/list.h>
#include <linux/build_bug.h>
#include <asm-offsets.h>
diff --git a/include/membuff.h b/include/membuf.h
index c7370e1c072..c7370e1c072 100644
--- a/include/membuff.h
+++ b/include/membuf.h
diff --git a/lib/Makefile b/lib/Makefile
index a30ce1595d5..41de2671cc6 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -125,7 +125,7 @@ obj-y += hang.o
obj-y += linux_compat.o
obj-y += linux_string.o
obj-$(CONFIG_$(PHASE_)LMB) += lmb.o
-obj-y += membuff.o
+obj-y += membuf.o
obj-$(CONFIG_REGEX) += slre.o
obj-y += string.o
obj-y += tables_csum.o
diff --git a/lib/membuff.c b/lib/membuf.c
index 435d12b8a3c..5473efa98ca 100644
--- a/lib/membuff.c
+++ b/lib/membuf.c
@@ -9,7 +9,7 @@
#include <errno.h>
#include <log.h>
#include <malloc.h>
-#include "membuff.h"
+#include "membuf.h"
void membuf_purge(struct membuff *mb)
{