summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2017-03-12 22:05:44 -0400
committerMichael Sevakis <jethead71@rockbox.org>2017-03-12 22:05:44 -0400
commit6db80020b45ae22b19524b01f60d0653d70ac7ca (patch)
tree924a9944abe38e094cdbc4b70d0489ed6bc162ce /firmware/export
parent70c929179b80e0657e31558e34d2bc62e1176564 (diff)
downloadrockbox-6db80020b45ae22b19524b01f60d0653d70ac7ca.tar.gz
rockbox-6db80020b45ae22b19524b01f60d0653d70ac7ca.zip
Do some housekeeping with fat.h and SECTOR_SIZE
Many includes of fat.h are pointless. Some includes are just for SECTOR_SIZE. Add a file 'firmware/include/fs_defines.h' for that and to define tuneable values that were scattered amongst various headers. Remove some local definitions of SECTOR_SIZE since they have to be in agreement with the rest of the fs code anyway. (We'll see what's in fact pointless in a moment ;) Change-Id: I9ba183bf58bd87f5c45eba7bd675c7e2c1c18ed5
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/fat.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index 963c1fe767..b8092290e6 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -48,14 +48,6 @@
48#define FAT_MAX_TRANSFER_SIZE 256 48#define FAT_MAX_TRANSFER_SIZE 256
49#endif 49#endif
50 50
51/* still experimental? */
52/* increasing this will increase the total memory used by the cache; the
53 cache, as noted in disk_cache.h, has other minimum requirements that may
54 prevent reducing its number of entries in order to compensate */
55#ifndef SECTOR_SIZE
56#define SECTOR_SIZE 512
57#endif
58
59/** 51/**
60 ****************************************************************************/ 52 ****************************************************************************/
61 53