axi_dmac: Add identification register
Add a register to the AXI DMAC register map which functions has a identification register. The register contains the unique value of "DMAC" (0x444d4143) and allows software to identify whether the peripheral mapped at a certain address is an axi_dmac peripheral. This is useful for detecting cases where the specified address contains an error or is incorrect. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>main
parent
48ad24cdbe
commit
3dd736fe8c
|
@ -420,6 +420,7 @@ begin
|
|||
12'h000: up_rdata <= PCORE_VERSION;
|
||||
12'h001: up_rdata <= ID;
|
||||
12'h002: up_rdata <= up_scratch;
|
||||
12'h003: up_rdata <= 32'h444d4143; // "DMAC"
|
||||
12'h020: up_rdata <= up_irq_mask;
|
||||
12'h021: up_rdata <= up_irq_pending;
|
||||
12'h022: up_rdata <= up_irq_source;
|
||||
|
|
Loading…
Reference in New Issue