NOR: Allocate the right amount of memory
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 26 Dec 2009 18:22:28 +0000 (10:22 -0800)
committerDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 26 Dec 2009 18:22:28 +0000 (10:22 -0800)
commit396b0f3012955f21d7932d958fc7547532cdc90a
treeaba71be3b1f6c9642b6a4ba4f47a30a703e82dfd
parent08a890e4aae307d874bd617f4dc742a56f2064a2
NOR: Allocate the right amount of memory

Switch to calloc() to simplify review and initialization.
src/flash/nor/core.c