summaryrefslogtreecommitdiff
path: root/gxp-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'gxp-config.h')
-rw-r--r--gxp-config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gxp-config.h b/gxp-config.h
index cc06d1f..d17b071 100644
--- a/gxp-config.h
+++ b/gxp-config.h
@@ -9,7 +9,11 @@
#define __GXP_CONFIG_H__
#define GXP_DRIVER_NAME "gxp_platform"
+#ifndef CONFIG_GXP_GEM5
#define GXP_NUM_CORES 4
+#else
+#define GXP_NUM_CORES 1
+#endif
#if defined(CONFIG_GXP_ZEBU) || defined(CONFIG_GXP_IP_ZEBU)
#define GXP_TIME_DELAY_FACTOR 20