From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Nelson Date: Wed, 03 Apr 2013 07:54:52 -0700 Subject: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command In-Reply-To: <515C418F.50100@denx.de> References: <1364228037-21962-1-git-send-email-javier.martinez@collabora.co.uk> <515BF56F.9050209@denx.de> <515C00DE.7090305@denx.de> <515C3888.1090002@boundarydevices.com> <515C418F.50100@denx.de> Message-ID: <515C42BC.4080904@boundarydevices.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 04/03/2013 07:49 AM, Stefano Babic wrote: > On 03/04/2013 16:11, Eric Nelson wrote: >> On 04/03/2013 03:13 AM, Stefano Babic wrote: >>> On 03/04/2013 11:50, Javier Martinez Canillas wrote: >>>> Just for curiosity, in which configuration file did you see that? When >>>> I had the issue I looked at >>>> include/configs/{mx6qsabrelite,mx6_common}.h and >>>> board/freescale/mx6qsabrelite/mx6qsabrelite.c but I didn't find what >>>> chip-select was supposed to be used. >>> >>> include/configs/mx6qsabrelite.h: >>> >>> #define CONFIG_SF_DEFAULT_CS (0|(IMX_GPIO_NR(3, 19)<<8)) >>> >>> It should be 0x7300 >>> >> 0x5300? >> >> (((3-1)*32)+19)<<8 >> > > Right, forget to subtract 1. > I only remember this because I typed it in **many** times before adding the default ;)