Fix compiler warnings
Add support for SPI NOR Flash access from Linux

Based on CONFIG_MTD_M25P80 kernel config option