cleanup hardware revision detection and get rid of checks for hse_value
add spi autodetect functionality, actually check for currently used M25P16 flash chip