···136136137137 If unsure, say N138138139139+config SSB_SFLASH140140+ bool "SSB serial flash support"141141+ depends on SSB_DRIVER_MIPS && BROKEN142142+ default y143143+139144# Assumption: We are on embedded, if we compile the MIPS core.140145config SSB_EMBEDDED141146 bool
···11+/*22+ * Sonics Silicon Backplane33+ * ChipCommon serial flash interface44+ *55+ * Licensed under the GNU/GPL. See COPYING for details.66+ */77+88+#include <linux/ssb/ssb.h>99+1010+#include "ssb_private.h"1111+1212+/* Initialize serial flash access */1313+int ssb_sflash_init(struct ssb_chipcommon *cc)1414+{1515+ pr_err("Serial flash support is not implemented yet!\n");1616+1717+ return -ENOTSUPP;1818+}
+2-1
drivers/ssb/driver_mipscore.c
···203203 switch (bus->chipco.capabilities & SSB_CHIPCO_CAP_FLASHT) {204204 case SSB_CHIPCO_FLASHT_STSER:205205 case SSB_CHIPCO_FLASHT_ATSER:206206- pr_err("Serial flash not supported\n");206206+ pr_debug("Found serial flash\n");207207+ ssb_sflash_init(&bus->chipco);207208 break;208209 case SSB_CHIPCO_FLASHT_PARA:209210 pr_debug("Found parallel flash\n");