summaryrefslogtreecommitdiff
path: root/firmware/export/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config.h')
-rw-r--r--firmware/export/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index 8f1a5e65cc..cd674b63f8 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -151,6 +151,10 @@
151#define USBOTG_ISP1362 1362 151#define USBOTG_ISP1362 1362
152#define USBOTG_M5636 5636 152#define USBOTG_M5636 5636
153 153
154/* Multiple cores */
155#define CPU 0
156#define COP 1
157
154/* now go and pick yours */ 158/* now go and pick yours */
155#if defined(ARCHOS_PLAYER) 159#if defined(ARCHOS_PLAYER)
156#include "config-player.h" 160#include "config-player.h"
@@ -219,6 +223,19 @@
219/* define for all cpus from PP family */ 223/* define for all cpus from PP family */
220#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5024) 224#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020) || (CONFIG_CPU == PP5024)
221#define CPU_PP 225#define CPU_PP
226
227/* PP family has dual cores */
228#if 0
229/* Keep it as single core until dual core support is ready */
230#define NUM_CORES 2
231#define CURRENT_CORE current_core()
232#endif
233
234#define NUM_CORES 1
235#define CURRENT_CORE 0
236#else
237#define NUM_CORES 1
238#define CURRENT_CORE 0
222#endif 239#endif
223 240
224/* define for all cpus from ARM family */ 241/* define for all cpus from ARM family */