changeset 158:97b671efff9c

gsm-fw: SPI SWE enabled
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Nov 2013 09:44:38 +0000
parents e48ea5875df7
children 3c42e6e5fc04
files gsm-fw/riviera/rv/rv_defined_swe.h gsm-fw/sysglue/appinit.c
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/riviera/rv/rv_defined_swe.h	Sun Nov 17 09:17:06 2013 +0000
+++ b/gsm-fw/riviera/rv/rv_defined_swe.h	Sun Nov 17 09:44:38 2013 +0000
@@ -45,6 +45,15 @@
 #include "rv_swe.h"
 #endif
 
+/*
+ * More FreeCalypso hacks: there are some SWEs which we deem
+ * to be needed unconditionally (but which TI still listed in
+ * rv_swe.h, unlike RVT), and we enable them here instead of
+ * littering config.h with them.
+ */
+
+#define	RVM_SPI_SWE
+
 /* ------------------------------------------------------------------
  * Grouped SWEs
  * Some define in rv_swe.h might not represent one SWE, but a group
--- a/gsm-fw/sysglue/appinit.c	Sun Nov 17 09:17:06 2013 +0000
+++ b/gsm-fw/sysglue/appinit.c	Sun Nov 17 09:44:38 2013 +0000
@@ -14,8 +14,8 @@
 	 * but that function is nothing more than a short sequence
 	 * of calls to other functions, so I've inlined it.
 	 */
+	ABB_Sem_Create();
 #if 0
-	ABB_Sem_Create();
 	ffs_main_init();
 #endif
 	rvf_init();