diff options
author | Michael Sparmann <theseven@rockbox.org> | 2010-06-20 12:29:18 +0000 |
---|---|---|
committer | Michael Sparmann <theseven@rockbox.org> | 2010-06-20 12:29:18 +0000 |
commit | 7caf78848e44e3c7865cfe1643e5c0d520d26dca (patch) | |
tree | 3d8143f5d94fbc53caf9fb5ce9da37a6f3d519ec /firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c | |
parent | 3b97fbd91e532fc5808babfa0960c81941f34696 (diff) | |
download | rockbox-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.c | 8 |
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; | |||
99 | static struct mutex ecc_mtx; | 99 | static struct mutex ecc_mtx; |
100 | static struct wakeup ecc_wakeup; | 100 | static struct wakeup ecc_wakeup; |
101 | 101 | ||
102 | static uint8_t nand_data[0x800] __attribute__((aligned(16))); | 102 | static uint8_t nand_data[0x800] STORAGE_ALIGN_ATTR; |
103 | static uint8_t nand_ctrl[0x200] __attribute__((aligned(16))); | 103 | static uint8_t nand_ctrl[0x200] STORAGE_ALIGN_ATTR; |
104 | static uint8_t nand_spare[0x40] __attribute__((aligned(16))); | 104 | static uint8_t nand_spare[0x40] STORAGE_ALIGN_ATTR; |
105 | static uint8_t nand_ecc[0x30] __attribute__((aligned(16))); | 105 | static uint8_t nand_ecc[0x30] STORAGE_ALIGN_ATTR; |
106 | 106 | ||
107 | 107 | ||
108 | uint32_t nand_unlock(uint32_t rc) | 108 | uint32_t nand_unlock(uint32_t rc) |