Changed external flash code to be driver (config) based