Change in osmo-ccid-firmware[master]: remove unused dmac

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Oct 8 05:45:09 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25615 )

Change subject: remove unused dmac
......................................................................

remove unused dmac

Change-Id: I9646220d9864fd8ddc133da58151227c24546cc6
---
M sysmoOCTSIM/atmel_start.c
M sysmoOCTSIM/config/hpl_dmac_config.h
2 files changed, 4 insertions(+), 12 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/sysmoOCTSIM/atmel_start.c b/sysmoOCTSIM/atmel_start.c
index 931a09a..d6304fa 100644
--- a/sysmoOCTSIM/atmel_start.c
+++ b/sysmoOCTSIM/atmel_start.c
@@ -1,19 +1,11 @@
 #include <atmel_start.h>
 
-/** Memory to memory DMA callback */
-static void M2M_DMA_complete_cb(void)
-{
-	dma_m2m_complete_flag = true;
-}
-
 /**
  * Initializes MCU, drivers and middleware in the project
  **/
 void atmel_start_init(void)
 {
 	system_init();
-	dma_memory_init();
-	dma_memory_register_callback(DMA_MEMORY_COMPLETE_CB, M2M_DMA_complete_cb);
 #ifdef ENABLE_DBG_UART7
 	stdio_redirect_init();
 #endif
diff --git a/sysmoOCTSIM/config/hpl_dmac_config.h b/sysmoOCTSIM/config/hpl_dmac_config.h
index c736778..90499fc 100644
--- a/sysmoOCTSIM/config/hpl_dmac_config.h
+++ b/sysmoOCTSIM/config/hpl_dmac_config.h
@@ -8,7 +8,7 @@
 // <i> Indicates whether dmac is enabled or not
 // <id> dmac_enable
 #ifndef CONF_DMAC_ENABLE
-#define CONF_DMAC_ENABLE 1
+#define CONF_DMAC_ENABLE 0
 #endif
 
 // <q> Priority Level 0
@@ -105,7 +105,7 @@
 // <e> Channel 0 settings
 // <id> dmac_channel_0_settings
 #ifndef CONF_DMAC_CHANNEL_0_SETTINGS
-#define CONF_DMAC_CHANNEL_0_SETTINGS 1
+#define CONF_DMAC_CHANNEL_0_SETTINGS 0
 #endif
 
 // <q> Channel Run in Standby
@@ -284,14 +284,14 @@
 // <i> Indicates whether the source address incrementation is enabled or not
 // <id> dmac_srcinc_0
 #ifndef CONF_DMAC_SRCINC_0
-#define CONF_DMAC_SRCINC_0 1
+#define CONF_DMAC_SRCINC_0 0
 #endif
 
 // <q> Destination Address Increment
 // <i> Indicates whether the destination address incrementation is enabled or not
 // <id> dmac_dstinc_0
 #ifndef CONF_DMAC_DSTINC_0
-#define CONF_DMAC_DSTINC_0 1
+#define CONF_DMAC_DSTINC_0 0
 #endif
 
 // <o> Beat Size

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/25615
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I9646220d9864fd8ddc133da58151227c24546cc6
Gerrit-Change-Number: 25615
Gerrit-PatchSet: 2
Gerrit-Owner: Hoernchen <ewild at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211008/e0a6f531/attachment.htm>


More information about the gerrit-log mailing list