Commit 1c122dfa authored by Troy Kisky's avatar Troy Kisky Committed by Kevin Hilman

ARM: DaVinci: IRAM alloc/free routines

This adds IRAM allocation and free routines which
will be used to fix audio underrun/overrun problems.
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent c8551575
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
# Common objects # Common objects
obj-y := time.o irq.o clock.o serial.o io.o id.o psc.o \ obj-y := time.o irq.o clock.o serial.o io.o id.o psc.o \
gpio.o mux.o devices.o usb.o dma.o common.o gpio.o mux.o devices.o usb.o dma.o common.o iram.o
# Board specific # Board specific
obj-$(CONFIG_MACH_DAVINCI_EVM) += board-evm.o obj-$(CONFIG_MACH_DAVINCI_EVM) += board-evm.o
......
...@@ -560,4 +560,7 @@ void davinci_free_dma(int lch); ...@@ -560,4 +560,7 @@ void davinci_free_dma(int lch);
* DMA channel * DMA channel
**/ **/
void davinci_dma_getposition(int lch, dma_addr_t *src, dma_addr_t *dst); void davinci_dma_getposition(int lch, dma_addr_t *src, dma_addr_t *dst);
int davinci_alloc_iram(unsigned size);
void davinci_free_iram(unsigned addr, unsigned size);
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment