From 5c09a5c16b63c859a25a811f5a950dfeadf686c4 Mon Sep 17 00:00:00 2001 From: marcan Date: Wed, 18 Mar 2009 18:18:56 +0100 Subject: [PATCH] make stuff static --- nand.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nand.c b/nand.c index bd5cfcd..f2cb0b0 100644 --- a/nand.c +++ b/nand.c @@ -48,12 +48,11 @@ type *name = (type*)(((u32)(_al__##name)) + ((alignment) - (( \ #define NAND_FLAGS_RD 0x2000 #define NAND_FLAGS_ECC 0x1000 +static ipc_request current_request; -ipc_request current_request; +static u8 ipc_data[PAGE_SIZE] MEM2_BSS ALIGNED(32); +static u8 ipc_ecc[ECC_BUFFER_ALLOC] MEM2_BSS ALIGNED(128); //128 alignment REQUIRED -u8 ipc_data[PAGE_SIZE] MEM2_BSS ALIGNED(32); -// keep cache aligned size -u8 ipc_ecc[ECC_BUFFER_SIZE+16] MEM2_BSS ALIGNED(128); //128 alignment REQUIRED static inline u32 __nand_read32(u32 addr) {