summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2009-10-18 12:36:17 +0000
committerMichael Sparmann <theseven@rockbox.org>2009-10-18 12:36:17 +0000
commitb424b852e5addee0435eb24b422cf828d36b697b (patch)
tree9604b65dd46729d92905bfb4ca4b756847be7224 /firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
parent8f6f19ac005f4d2691c80195c09217da55a1ec42 (diff)
downloadrockbox-b424b852e5addee0435eb24b422cf828d36b697b.tar.gz
rockbox-b424b852e5addee0435eb24b422cf828d36b697b.zip
iPod Nano 2G storage performance improved by not copying around buffers unneccessarily if they are aligned anyways and using cache coherency functions instead of bypassing the caches altogether.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23243 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
index e20896d8b9..d6b4f1aedc 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/ftl-nano2g.c
@@ -368,10 +368,10 @@ struct ftl_vfl_cxt_type ftl_vfl_cxt[4];
struct ftl_cxt_type ftl_cxt;
/* Temporary data buffer for internal use by the FTL */
-uint8_t ftl_buffer[0x800];
+uint8_t ftl_buffer[0x800] __attribute__((aligned(16)));
/* Temporary spare byte buffer for internal use by the FTL */
-union ftl_spare_data_type ftl_sparebuffer;
+union ftl_spare_data_type ftl_sparebuffer __attribute__((aligned(16)));
#ifndef FTL_READONLY