1.1 --- a/pkg/devices/lib/msc/include/msc-defs.h Sun Feb 18 22:43:39 2024 +0100
1.2 +++ b/pkg/devices/lib/msc/include/msc-defs.h Sun Feb 18 22:45:07 2024 +0100
1.3 @@ -198,14 +198,16 @@
1.4 Cdc_io_abort = 0x0800, // IO_ABORT
1.5
1.6 Cdc_bus_width_field_mask = 0x3, // BUS_WIDTH
1.7 - Cdc_bus_width_field_1bit = 0, // = 0
1.8 - Cdc_bus_width_field_4bit = 2, // = 2
1.9 + Cdc_bus_width_1bit = 0,
1.10 + Cdc_bus_width_4bit = 2,
1.11 Cdc_bus_width_field_shift = 9,
1.12
1.13 // JZ4740 only.
1.14
1.15 - Cdc_dma_enable = 0x0100, // DMA_EN
1.16 - Cdc_dma_disable = 0x0000,
1.17 + Cdc_dma_field_mask = 0x1, // DMA_EN
1.18 + Cdc_dma_disable = 0,
1.19 + Cdc_dma_enable = 1,
1.20 + Cdc_dma_field_shift = 8,
1.21
1.22 // Common.
1.23