aboutsummaryrefslogtreecommitdiff
path: root/core/flash.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2016-07-04 17:46:40 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-05 19:02:46 +1000
commit6af4e9ec66f102e4a46ae6e44d5b8399f592453b (patch)
treef7cb7438dc213e595c900f06bf87fec5928ca9bb /core/flash.c
parentae0339ee4c6541505da0780644288784a6c88b49 (diff)
downloadskiboot-6af4e9ec66f102e4a46ae6e44d5b8399f592453b.zip
skiboot-6af4e9ec66f102e4a46ae6e44d5b8399f592453b.tar.gz
skiboot-6af4e9ec66f102e4a46ae6e44d5b8399f592453b.tar.bz2
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 <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/flash.c')
-rw-r--r--core/flash.c2
1 files changed, 1 insertions, 1 deletions
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;