From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 08 Feb 2012 12:23:04 +0100 Subject: [U-Boot] [PATCH V6 - Part 5 - 1/1] mx6q: mx6qsabrelite: Conditionally define macros for environment in serial flash In-Reply-To: <1328032330-20883-10-git-send-email-eric.nelson@boundarydevices.com> References: <1328032330-20883-1-git-send-email-eric.nelson@boundarydevices.com> <1328032330-20883-10-git-send-email-eric.nelson@boundarydevices.com> Message-ID: <4F325B18.306@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 31/01/2012 18:52, Eric Nelson wrote: > The default settings store the persistent environment on SD card > and not serial flash (SPI NOR). > > To use SPI NOR to save the environment instead of SD card, edit > include/configs/mx6qsabrelite.h and > > - undefine CONFIG_ENV_IS_IN_MMC > - define CONFIG_ENV_IS_IN_SPI_FLASH > > The SPI driver can take as chip select the controller's chip selects > as well as an external GPIO. The LSB byte has the value of the internal > chip select, the highest (thought as 16-bit value) contains the GPIO > number. > > The GPIO used on Sabre Lite is GP3:19 == 83. > > Signed-off-by: Eric Nelson > > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de =====================================================================