summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
diff options
context:
space:
mode:
authorMichael Sparmann <theseven@rockbox.org>2010-06-20 12:29:18 +0000
committerMichael Sparmann <theseven@rockbox.org>2010-06-20 12:29:18 +0000
commit7caf78848e44e3c7865cfe1643e5c0d520d26dca (patch)
tree3d8143f5d94fbc53caf9fb5ce9da37a6f3d519ec /firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
parent3b97fbd91e532fc5808babfa0960c81941f34696 (diff)
downloadrockbox-7caf78848e44e3c7865cfe1643e5c0d520d26dca.tar.gz
rockbox-7caf78848e44e3c7865cfe1643e5c0d520d26dca.zip
Use STORAGE_ALIGN_ATTR for instead of hardwired alignment in the Nano2G FTL and NAND driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26983 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c')
-rw-r--r--firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c b/firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
index 189dc4cafb..b7e1f8494b 100644
--- a/firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
+++ b/firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c
@@ -99,10 +99,10 @@ static struct wakeup nand_wakeup;
99static struct mutex ecc_mtx; 99static struct mutex ecc_mtx;
100static struct wakeup ecc_wakeup; 100static struct wakeup ecc_wakeup;
101 101
102static uint8_t nand_data[0x800] __attribute__((aligned(16))); 102static uint8_t nand_data[0x800] STORAGE_ALIGN_ATTR;
103static uint8_t nand_ctrl[0x200] __attribute__((aligned(16))); 103static uint8_t nand_ctrl[0x200] STORAGE_ALIGN_ATTR;
104static uint8_t nand_spare[0x40] __attribute__((aligned(16))); 104static uint8_t nand_spare[0x40] STORAGE_ALIGN_ATTR;
105static uint8_t nand_ecc[0x30] __attribute__((aligned(16))); 105static uint8_t nand_ecc[0x30] STORAGE_ALIGN_ATTR;
106 106
107 107
108uint32_t nand_unlock(uint32_t rc) 108uint32_t nand_unlock(uint32_t rc)