[U-Boot] [PATCH V6 - Part 5 - 1/1] mx6q: mx6qsabrelite: Conditionally define macros for environment in serial flash

Stefano Babic sbabic at denx.de
Wed Feb 8 12:23:04 CET 2012


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 <eric.nelson at boundarydevices.com>
> 
> ---

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
=====================================================================


More information about the U-Boot mailing list