-
Notifications
You must be signed in to change notification settings - Fork 6
/
cfg_dma_ram_phy_min.mk
25 lines (22 loc) · 1.13 KB
/
cfg_dma_ram_phy_min.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
AKIDA_DMA_RAM_PHY_ADDR = 0x20000000
AKIDA_DMA_RAM_PHY_OFFSET = 0x0
# Linked-list: 2 descriptors (2 * 24 bytes) per channel
AKIDA_DMA_RAM_PHY_TX0_LL_OFFSET = 0x00000000 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_TX0_LL_SIZE = 0x30
AKIDA_DMA_RAM_PHY_TX1_LL_OFFSET = 0x00000030 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_TX1_LL_SIZE = 0x30
AKIDA_DMA_RAM_PHY_RX0_LL_OFFSET = 0x00000060 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_RX0_LL_SIZE = 0x30
AKIDA_DMA_RAM_PHY_RX1_LL_OFFSET = 0x00000090 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_RX1_LL_SIZE = 0x30
# Data: Empty
AKIDA_DMA_RAM_PHY_TX0_DT_OFFSET = 0x00000000 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_TX0_DT_SIZE = 0
AKIDA_DMA_RAM_PHY_TX1_DT_OFFSET = 0x00000000 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_TX1_DT_SIZE = 0
AKIDA_DMA_RAM_PHY_RX0_DT_OFFSET = 0x00000000 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_RX0_DT_SIZE = 0
AKIDA_DMA_RAM_PHY_RX1_DT_OFFSET = 0x00000000 + AKIDA_DMA_RAM_PHY_OFFSET
AKIDA_DMA_RAM_PHY_RX1_DT_SIZE = 0
# 4*2*24 = 192 bytes used
AKIDA_DMA_RAM_PHY_SIZE = 0x000000C0