The flash driver code should be cleaned up and the broad detection code should be placed into arch code and used here. This fixes #9323 Thank you Will Holmes for the patch. SVN-Revision: 27005