A storage device and method for flexibly configuring a flash memory
controller. The device includes a flash memory array containing a
plurality of memory cells, wherein at least two configuration bits are
programmed to the plurality of memory cells. A controller having at least
one configuration pin is further provided for controlling the flash
memory array by selecting one interface channel for connection to an
external host, according to the values of the configuration bits and/or
the voltage level(s) on the configuration pin(s). A "flag" corresponding
to each of the interface channels is further provided, thus defining
which of said interface channels is operable.