diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-02 19:49:56 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-15 10:04:13 +0000 |
commit | f995c26de92eadbf3d961ad3e0fb233410798dd2 (patch) | |
tree | c21b09cf52d2f9d08d88c9b5fbd3b8f3551e35f6 /firmware/export/config.h | |
parent | 680261fbb7c3c0a4cde4321c35ce3fe0e6b0cce8 (diff) | |
download | rockbox-f995c26de92eadbf3d961ad3e0fb233410798dd2.tar.gz rockbox-f995c26de92eadbf3d961ad3e0fb233410798dd2.zip |
buflib: Add CONFIG_BUFLIB_BACKEND for selecting a buflib backend
Defaults to the normal "mempool" backend, which is currently the
only implementation.
Change-Id: I56d034a6e0f5edc90c39526d1551945eec6ca336
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r-- | firmware/export/config.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 8726a8d6f4..d8674c40f2 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -380,6 +380,9 @@ Lyre prototype 1 */ | |||
380 | #define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */ | 380 | #define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */ |
381 | #define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */ | 381 | #define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */ |
382 | 382 | ||
383 | /* CONFIG_BUFLIB_BACKEND */ | ||
384 | #define BUFLIB_BACKEND_MEMPOOL 0 /* Default memory pool backed buflib */ | ||
385 | |||
383 | /* now go and pick yours */ | 386 | /* now go and pick yours */ |
384 | #if defined(IRIVER_H100) | 387 | #if defined(IRIVER_H100) |
385 | #include "config/iriverh100.h" | 388 | #include "config/iriverh100.h" |
@@ -606,6 +609,10 @@ Lyre prototype 1 */ | |||
606 | #undef CONFIG_STORAGE | 609 | #undef CONFIG_STORAGE |
607 | #endif | 610 | #endif |
608 | 611 | ||
612 | #ifndef CONFIG_BUFLIB_BACKEND | ||
613 | # define CONFIG_BUFLIB_BACKEND BUFLIB_BACKEND_MEMPOOL | ||
614 | #endif | ||
615 | |||
609 | #ifdef APPLICATION | 616 | #ifdef APPLICATION |
610 | #define CONFIG_CPU 0 | 617 | #define CONFIG_CPU 0 |
611 | #endif | 618 | #endif |