summaryrefslogtreecommitdiff
path: root/boot/bootmeth_extlinux.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-03-18 16:20:42 +0100
committerTom Rini <trini@konsulko.com>2025-04-03 16:54:49 -0600
commit4662e5286aa259e158f314157d0d8f2ad213a321 (patch)
treebe8de157a21184c7b88d7d82e80754e7e7b9b643 /boot/bootmeth_extlinux.c
parent8bc3542384e3a1219e5ffb62b79d16dddc1b1fb9 (diff)
membuff: Rename functions to have membuf_ prefix
The double 'f' is not necessary and is a bit annoying as elsewhere in U-Boot we use 'buf'. Rename all the functions before it is used more widely. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootmeth_extlinux.c')
-rw-r--r--boot/bootmeth_extlinux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/boot/bootmeth_extlinux.c b/boot/bootmeth_extlinux.c
index 17c6cebd2f4..f3a81715080 100644
--- a/boot/bootmeth_extlinux.c
+++ b/boot/bootmeth_extlinux.c
@@ -114,9 +114,9 @@ static int extlinux_fill_info(struct bootflow *bflow)
int len;
log_debug("parsing bflow file size %x\n", bflow->size);
- membuff_init(&mb, bflow->buf, bflow->size);
- membuff_putraw(&mb, bflow->size, true, &data);
- while (len = membuff_readline(&mb, line, sizeof(line) - 1, ' ', true), len) {
+ membuf_init(&mb, bflow->buf, bflow->size);
+ membuf_putraw(&mb, bflow->size, true, &data);
+ while (len = membuf_readline(&mb, line, sizeof(line) - 1, ' ', true), len) {
char *tok, *p = line;
tok = strsep(&p, " ");