diff options
Diffstat (limited to 'ANDROID_3.4.5/arch/arm/mach-davinci/include/mach/sram.h')
-rw-r--r-- | ANDROID_3.4.5/arch/arm/mach-davinci/include/mach/sram.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/ANDROID_3.4.5/arch/arm/mach-davinci/include/mach/sram.h b/ANDROID_3.4.5/arch/arm/mach-davinci/include/mach/sram.h deleted file mode 100644 index 111f7cc7..00000000 --- a/ANDROID_3.4.5/arch/arm/mach-davinci/include/mach/sram.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * mach/sram.h - DaVinci simple SRAM allocator - * - * Copyright (C) 2009 David Brownell - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ -#ifndef __MACH_SRAM_H -#define __MACH_SRAM_H - -/* ARBITRARY: SRAM allocations are multiples of this 2^N size */ -#define SRAM_GRANULARITY 512 - -/* - * SRAM allocations return a CPU virtual address, or NULL on error. - * If a DMA address is requested and the SRAM supports DMA, its - * mapped address is also returned. - * - * Errors include SRAM memory not being available, and requesting - * DMA mapped SRAM on systems which don't allow that. - */ -extern void *sram_alloc(size_t len, dma_addr_t *dma); -extern void sram_free(void *addr, size_t len); - -#endif /* __MACH_SRAM_H */ |