Change in osmo-ccid-firmware[master]: Enable cache via CMCC for higher performance

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/.

Kévin Redon gerrit-no-reply at lists.osmocom.org
Tue Feb 26 18:13:47 UTC 2019


Kévin Redon has submitted this change and it was merged. ( https://gerrit.osmocom.org/13033 )

Change subject: Enable cache via CMCC for higher performance
......................................................................

Enable cache via CMCC for higher performance

Change-Id: I7a243a8d964fea3d3decc6c73c16e07036e4ee93
---
M sysmoOCTSIM/main.c
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Kévin Redon: Looks good to me, approved



diff --git a/sysmoOCTSIM/main.c b/sysmoOCTSIM/main.c
index 40f2147..09d766e 100644
--- a/sysmoOCTSIM/main.c
+++ b/sysmoOCTSIM/main.c
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */
 
+#include <parts.h>
+#include <hal_cache.h>
+
 #include "atmel_start.h"
 #include "atmel_start_pins.h"
 
@@ -48,6 +51,9 @@
 	/* only 7 slots, as last slot is debug uart! */
 	for (i = 0; i < 7; i++)
 		ncn8025_init(i);
+
+	cache_init();
+	cache_enable(CMCC);
 }
 
 int main(void)

-- 
To view, visit https://gerrit.osmocom.org/13033
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I7a243a8d964fea3d3decc6c73c16e07036e4ee93
Gerrit-Change-Number: 13033
Gerrit-PatchSet: 2
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Kévin Redon <kredon at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190226/c5b40a3d/attachment.htm>


More information about the gerrit-log mailing list