From 6af4e9ec66f102e4a46ae6e44d5b8399f592453b Mon Sep 17 00:00:00 2001 From: Michael Neuling Date: Mon, 4 Jul 2016 17:46:40 +1000 Subject: flash: Increase the maximum number of flash devices Increase the max number of flash devices from 1 to 8. With mambo bogusdisk, we can have many flash devices. Signed-off-by: Michael Neuling Signed-off-by: Stewart Smith --- core/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/flash.c') diff --git a/core/flash.c b/core/flash.c index da97309..5036707 100644 --- a/core/flash.c +++ b/core/flash.c @@ -33,7 +33,7 @@ struct flash { uint32_t block_size; }; -#define MAX_FLASH 1 +#define MAX_FLASH 8 static struct flash flashes[MAX_FLASH]; static struct flash *system_flash; -- cgit v1.1