On 08/08/2012 07:37 PM, Rafał Miłecki wrote: > We can not assume parallel flash is always present, there are boards > with *serial* flash and probably some without flash at all. > Define some bits by the way. > > Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx> > Cc: Hauke Mehrtens <hauke@xxxxxxxxxx> > --- > drivers/ssb/driver_mipscore.c | 28 +++++++++++++++++++++------- > include/linux/ssb/ssb_driver_chipcommon.h | 4 +++- > 2 files changed, 24 insertions(+), 8 deletions(-) I haven't tested this patch on my devices, but it looks good to me. In an additional patch we also need a bool or something like this to indicate if there is a parallel, serial or no flash present on the SoC. For serial and parallel flash it is not possible to have both of them. Reviewed-by: Hauke Mehrtens <hauke@xxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html