On 5/12/26 13:34, Peter Maydell wrote:
The omap_dma device has support for modelling different variants
of the DMA block, as enumerated by the omap_dma_model enum:
3_0, 3_1 and 3_2. However, our one remaining OMAP SoC always
passes omap_dma_3_1 into the omap_dma_init() function, so the
handling for 3_0 and 3_2 is never used.
Remove the support for the other versions; this lets us
delete entirely two large functions that were specific
to 3.2 DMA to the LCD controller, and all their associated
fields in the omap_dma_lcd_channel_s struct.
Signed-off-by: Peter Maydell<[email protected]>
---
hw/dma/omap_dma.c | 348 ++----------------------------------------
include/hw/arm/omap.h | 28 ----
2 files changed, 15 insertions(+), 361 deletions(-)
Reviewed-by: Richard Henderson <[email protected]>
r~