Message ID | 1467618402-21500-1-git-send-email-mikey@neuling.org |
---|---|
State | Accepted |
Headers | show |
Michael Neuling <mikey@neuling.org> writes: > 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 <mikey@neuling.org> Series merged to master as of 252f1ad.
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;
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 <mikey@neuling.org> --- core/flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)