Return-path: Received: from server19320154104.serverpool.info ([193.201.54.104]:40578 "EHLO hauke-m.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755182Ab2HJWkv (ORCPT ); Fri, 10 Aug 2012 18:40:51 -0400 Message-ID: <50258DE7.3030203@hauke-m.de> (sfid-20120811_004054_484599_4EFB72AF) Date: Sat, 11 Aug 2012 00:40:39 +0200 From: Hauke Mehrtens MIME-Version: 1.0 To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= CC: linux-wireless@vger.kernel.org, "John W. Linville" Subject: Re: [PATCH] ssb: check for flash presentence References: <1344447424-30020-1-git-send-email-zajec5@gmail.com> <50250494.5090009@hauke-m.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 08/10/2012 03:37 PM, Rafał Miłecki wrote: > 2012/8/10 Hauke Mehrtens : >> 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 >>> Cc: Hauke Mehrtens >>> --- >>> 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. > > Can I ask why? In theory there are 2 different possible mappings > (SSB_FLASH1 and SSB_FLASH2). > Ok, it could be possible, but the configuration bits in the cc core capabilities currently do not allow such a configuration and I have never heard of such a device.