diff mbox series

[02/11] Increase max processors for sparse chip id configs

Message ID 20180607065438.18257-2-mikey@neuling.org
State Accepted
Headers show
Series [01/11] Cleanup exit code | expand

Commit Message

Michael Neuling June 7, 2018, 6:54 a.m. UTC
This bumps up the MAX_PROCESSORS to 64 so we support more machines.

On a Tuletta with 2 DCMS, we end up with chip ids 0, 1, 16 and
17. We can't use the last two chips with the current setting.

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index 26e141076e..1422c3f7bb 100644
--- a/src/main.c
+++ b/src/main.c
@@ -69,7 +69,7 @@  static enum backend backend = KERNEL;
 static char const *device_node;
 static int i2c_addr = 0x50;
 
-#define MAX_PROCESSORS 16
+#define MAX_PROCESSORS 64
 #define MAX_CHIPS 24
 #define MAX_THREADS THREADS_PER_CORE