summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320
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/target/arm/tms320dm320
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/target/arm/tms320dm320')
-rw-r--r--firmware/target/arm/tms320dm320/sdmmc-dm320.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/sdmmc-dm320.c b/firmware/target/arm/tms320dm320/sdmmc-dm320.c
index d46dbf5e40..a6e261bcfa 100644
--- a/firmware/target/arm/tms320dm320/sdmmc-dm320.c
+++ b/firmware/target/arm/tms320dm320/sdmmc-dm320.c
@@ -43,7 +43,6 @@
43#endif 43#endif
44#include "sdmmc.h" 44#include "sdmmc.h"
45#include "disk.h" 45#include "disk.h"
46#include "fat.h"
47#include "system-target.h" 46#include "system-target.h"
48 47
49/* The configuration method is not very flexible. */ 48/* The configuration method is not very flexible. */
@@ -72,7 +71,6 @@
72#define UNALIGNED_NUM_SECTORS 10 71#define UNALIGNED_NUM_SECTORS 10
73#define MAX_TRANSFER_ERRORS 10 72#define MAX_TRANSFER_ERRORS 10
74 73
75#define SECTOR_SIZE 512
76#define BLOCKS_PER_BANK 0x7A7800 74#define BLOCKS_PER_BANK 0x7A7800
77 75
78/* command flags for send_cmd */ 76/* command flags for send_cmd */