DMAENGINE: ste_dma40: arch updates for LCLA and LCPA
This follows on the patch to allocate LCLA dynamically: the on-chip memory is needed for other things so now that that we're using it dynamically we can remove the LCLA resource altogether and free up some ESRAM memory. Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
Родитель
508849ade2
Коммит
5aa12e8c9c
|
@ -119,20 +119,15 @@ static struct resource dma40_resources[] = {
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
.start = U8500_DMA_LCPA_BASE,
|
.start = U8500_DMA_LCPA_BASE,
|
||||||
.end = U8500_DMA_LCPA_BASE + SZ_4K - 1,
|
.end = U8500_DMA_LCPA_BASE + 2 * SZ_1K - 1,
|
||||||
.flags = IORESOURCE_MEM,
|
.flags = IORESOURCE_MEM,
|
||||||
.name = "lcpa",
|
.name = "lcpa",
|
||||||
},
|
},
|
||||||
[2] = {
|
[2] = {
|
||||||
.start = U8500_DMA_LCLA_BASE,
|
|
||||||
.end = U8500_DMA_LCLA_BASE + 16 * 1024 - 1,
|
|
||||||
.flags = IORESOURCE_MEM,
|
|
||||||
.name = "lcla",
|
|
||||||
},
|
|
||||||
[3] = {
|
|
||||||
.start = IRQ_DMA,
|
.start = IRQ_DMA,
|
||||||
.end = IRQ_DMA,
|
.end = IRQ_DMA,
|
||||||
.flags = IORESOURCE_IRQ}
|
.flags = IORESOURCE_IRQ,
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Default configuration for physcial memcpy */
|
/* Default configuration for physcial memcpy */
|
||||||
|
|
|
@ -15,9 +15,8 @@
|
||||||
#define U8500_ESRAM_BANK2 (U8500_ESRAM_BANK1 + U8500_ESRAM_BANK_SIZE)
|
#define U8500_ESRAM_BANK2 (U8500_ESRAM_BANK1 + U8500_ESRAM_BANK_SIZE)
|
||||||
#define U8500_ESRAM_BANK3 (U8500_ESRAM_BANK2 + U8500_ESRAM_BANK_SIZE)
|
#define U8500_ESRAM_BANK3 (U8500_ESRAM_BANK2 + U8500_ESRAM_BANK_SIZE)
|
||||||
#define U8500_ESRAM_BANK4 (U8500_ESRAM_BANK3 + U8500_ESRAM_BANK_SIZE)
|
#define U8500_ESRAM_BANK4 (U8500_ESRAM_BANK3 + U8500_ESRAM_BANK_SIZE)
|
||||||
/* Use bank 4 for DMA LCLA and LCPA */
|
/* Use bank 4 for DMA LCPA */
|
||||||
#define U8500_DMA_LCLA_BASE U8500_ESRAM_BANK4
|
#define U8500_DMA_LCPA_BASE U8500_ESRAM_BANK4
|
||||||
#define U8500_DMA_LCPA_BASE (U8500_ESRAM_BANK4 + 0x4000)
|
|
||||||
|
|
||||||
#define U8500_PER3_BASE 0x80000000
|
#define U8500_PER3_BASE 0x80000000
|
||||||
#define U8500_STM_BASE 0x80100000
|
#define U8500_STM_BASE 0x80100000
|
||||||
|
|
Загрузка…
Ссылка в новой задаче