summaryrefslogtreecommitdiffstats
path: root/bootloader
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 /bootloader
parent70c929179b80e0657e31558e34d2bc62e1176564 (diff)
downloadrockbox-6db80020b45ae22b19524b01f60d0653d70ac7ca.tar.gz
rockbox-6db80020b45ae22b19524b01f60d0653d70ac7ca.tar.bz2
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 'bootloader')
-rw-r--r--bootloader/gigabeat.c1
-rw-r--r--bootloader/ipod.c1
-rw-r--r--bootloader/ipod6g.c1
-rw-r--r--bootloader/ipodnano2g.c1
-rw-r--r--bootloader/meizu_m3.c1
-rw-r--r--bootloader/meizu_m6sl.c1
-rw-r--r--bootloader/meizu_m6sp.c1
-rw-r--r--bootloader/mini2440.c1
-rw-r--r--bootloader/mrobe500.c1
-rw-r--r--bootloader/sansaview.c1
-rw-r--r--bootloader/telechips.c1
-rw-r--r--bootloader/tpj1022.c1
12 files changed, 0 insertions, 12 deletions
diff --git a/bootloader/gigabeat.c b/bootloader/gigabeat.c
index a79454b81d..005d33630f 100644
--- a/bootloader/gigabeat.c
+++ b/bootloader/gigabeat.c
@@ -29,7 +29,6 @@
#include "lcd.h"
#include "../kernel-internal.h"
#include "storage.h"
-#include "fat.h"
#include "file_internal.h"
#include "disk.h"
#include "font.h"
diff --git a/bootloader/ipod.c b/bootloader/ipod.c
index 8580886ce4..8e5bd08a42 100644
--- a/bootloader/ipod.c
+++ b/bootloader/ipod.c
@@ -32,7 +32,6 @@
#include "lcd.h"
#include "../kernel-internal.h"
#include "ata.h"
-#include "fat.h"
#include "file_internal.h"
#include "disk.h"
#include "font.h"
diff --git a/bootloader/ipod6g.c b/bootloader/ipod6g.c
index 0ab9444578..0d0a4c53d1 100644
--- a/bootloader/ipod6g.c
+++ b/bootloader/ipod6g.c
@@ -32,7 +32,6 @@
#include "../kernel-internal.h"
#include "file_internal.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "backlight.h"
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c
index d0a8e0206c..85bb2df86d 100644
--- a/bootloader/ipodnano2g.c
+++ b/bootloader/ipodnano2g.c
@@ -34,7 +34,6 @@
#include "../kernel-internal.h"
#include "file_internal.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "backlight.h"
diff --git a/bootloader/meizu_m3.c b/bootloader/meizu_m3.c
index cefb186ef4..61308349f6 100644
--- a/bootloader/meizu_m3.c
+++ b/bootloader/meizu_m3.c
@@ -32,7 +32,6 @@
#include "lcd.h"
#include "../kernel-internal.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "backlight.h"
diff --git a/bootloader/meizu_m6sl.c b/bootloader/meizu_m6sl.c
index c230ec3c08..073c57cb0d 100644
--- a/bootloader/meizu_m6sl.c
+++ b/bootloader/meizu_m6sl.c
@@ -30,7 +30,6 @@
#include "kernel.h"
#include "thread.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "adc.h"
diff --git a/bootloader/meizu_m6sp.c b/bootloader/meizu_m6sp.c
index c57fe91b22..0a6dc274d9 100644
--- a/bootloader/meizu_m6sp.c
+++ b/bootloader/meizu_m6sp.c
@@ -30,7 +30,6 @@
#include "kernel.h"
#include "thread.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "button.h"
diff --git a/bootloader/mini2440.c b/bootloader/mini2440.c
index 4088065550..2bdd1a0f41 100644
--- a/bootloader/mini2440.c
+++ b/bootloader/mini2440.c
@@ -30,7 +30,6 @@
#include "../kernel-internal.h"
#include "storage.h"
#include "file_internal.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "backlight.h"
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c
index 08ba6f2acd..e3d59051a1 100644
--- a/bootloader/mrobe500.c
+++ b/bootloader/mrobe500.c
@@ -27,7 +27,6 @@
#include "../kernel-internal.h"
#include "storage.h"
#include "file_internal.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "adc.h"
diff --git a/bootloader/sansaview.c b/bootloader/sansaview.c
index 7ea4b59250..31716d4b25 100644
--- a/bootloader/sansaview.c
+++ b/bootloader/sansaview.c
@@ -35,7 +35,6 @@ SANSA VIEW: TESTING CODE
#include "lcd.h"
#include "../kernel-internal.h"
#include "storage.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "backlight.h"
diff --git a/bootloader/telechips.c b/bootloader/telechips.c
index 879e72ad65..c69a6da42c 100644
--- a/bootloader/telechips.c
+++ b/bootloader/telechips.c
@@ -31,7 +31,6 @@
#include "../kernel-internal.h"
#include "storage.h"
#include "file_internal.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "button.h"
diff --git a/bootloader/tpj1022.c b/bootloader/tpj1022.c
index 30adb6ba4e..3590c7882d 100644
--- a/bootloader/tpj1022.c
+++ b/bootloader/tpj1022.c
@@ -32,7 +32,6 @@
#include "thread.h"
#include "storage.h"
#include "file_internal.h"
-#include "fat.h"
#include "disk.h"
#include "font.h"
#include "panic.h"