From 7caf78848e44e3c7865cfe1643e5c0d520d26dca Mon Sep 17 00:00:00 2001 From: Michael Sparmann Date: Sun, 20 Jun 2010 12:29:18 +0000 Subject: 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 --- firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/target/arm/s5l8700/ipodnano2g/nand-nano2g.c') 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; static struct mutex ecc_mtx; static struct wakeup ecc_wakeup; -static uint8_t nand_data[0x800] __attribute__((aligned(16))); -static uint8_t nand_ctrl[0x200] __attribute__((aligned(16))); -static uint8_t nand_spare[0x40] __attribute__((aligned(16))); -static uint8_t nand_ecc[0x30] __attribute__((aligned(16))); +static uint8_t nand_data[0x800] STORAGE_ALIGN_ATTR; +static uint8_t nand_ctrl[0x200] STORAGE_ALIGN_ATTR; +static uint8_t nand_spare[0x40] STORAGE_ALIGN_ATTR; +static uint8_t nand_ecc[0x30] STORAGE_ALIGN_ATTR; uint32_t nand_unlock(uint32_t rc) -- cgit v1.2.3