summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2022-05-13 18:32:13 +0200
committerSolomon Peachy <pizza@shaftnet.org>2022-07-12 01:01:47 -0400
commit5901ac87566f78185b330b5eb39005c9c7886803 (patch)
treef99a90d2c7c1ee8a5ea580cfb4bdbc15b39c53c9 /firmware/export
parent23fea5dfa86755c6ae03148ba913270a5ac08969 (diff)
downloadrockbox-5901ac87566f78185b330b5eb39005c9c7886803.tar.gz
rockbox-5901ac87566f78185b330b5eb39005c9c7886803.zip
ipod6g: increase plugin buffer size from 512 KiB to 2 MiB
The iPod classic/6G comes with 64MB of RAM. This brings it in line with the plugin buffer size of some other targets that have the same amount of RAM, such as the Fiio M3K, and enables the use of PictureFlow for users with very large databases. Change-Id: I1ccae1cacda7a243139f4887f54bd35cc8e501cf
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/ipod6g.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h
index 2e4afbdf63..b03b1131bd 100644
--- a/firmware/export/config/ipod6g.h
+++ b/firmware/export/config/ipod6g.h
@@ -133,11 +133,9 @@
/* Define this if you have a software controlled poweroff */
#define HAVE_SW_POWEROFF
-/* The number of bytes reserved for loadable codecs */
-#define CODEC_SIZE 0x100000
-
-/* The number of bytes reserved for loadable plugins */
-#define PLUGIN_BUFFER_SIZE 0x80000
+/* Buffer for plugins and codecs. */
+#define PLUGIN_BUFFER_SIZE 0x200000 /* 2 MiB */
+#define CODEC_SIZE 0x100000 /* 1 MiB */
/* 6g has a standard battery of 550mAh, except for the thick 6g (2007 160gb)
* which has a standard battery of 850mAh.