refactor: use dma device properties struct within device node
No functional change. This refactoring is needed for the next patch
which creates a helper utility to obtain various common fields from
memory region node and device region node of a partition manifest.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: I38b65136297e09411938f68dce18c0265d710924
diff --git a/inc/hf/ffa_partition_manifest.h b/inc/hf/ffa_partition_manifest.h
index dc83084..69a52be 100644
--- a/inc/hf/ffa_partition_manifest.h
+++ b/inc/hf/ffa_partition_manifest.h
@@ -71,8 +71,6 @@
uint8_t stream_count;
/** List of Stream IDs assigned to device - optional */
uint32_t stream_ids[PARTITION_MAX_STREAMS_PER_DEVICE];
- /** Instruction and data access permissions - optional */
- uint32_t dma_access_permissions;
};
/**
@@ -93,6 +91,8 @@
uint32_t attributes;
/** DMA device properties - optional */
struct dma_device_properties dma_prop;
+ /** Instruction and data access permissions for DMA device - optional */
+ uint32_t dma_access_permissions;
};
struct interrupt_info {
@@ -117,14 +117,8 @@
struct interrupt_info interrupts[PARTITION_MAX_INTERRUPTS_PER_DEVICE];
/** Count of physical interrupts - optional */
uint8_t interrupt_count;
- /** SMMU ID - optional */
- uint32_t smmu_id;
- /** IMPDEF id tracking DMA peripheral device - optional */
- uint8_t dma_device_id;
- /** Count of Stream IDs assigned to device - optional */
- uint8_t stream_count;
- /** List of Stream IDs assigned to device - optional */
- uint32_t stream_ids[PARTITION_MAX_STREAMS_PER_DEVICE];
+ /** DMA device properties - optional */
+ struct dma_device_properties dma_prop;
/** Exclusive access to an endpoint - optional */
bool exclusive_access;
/** Name of Device region - optional */