diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-01-31 07:52:10 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-02-27 21:19:23 +0100 |
commit | 913b321a1e0336d1743974510f93d61da2b94d75 (patch) | |
tree | 38e1275aebe3028207891efff2fd94b31087f46e /include/pmic.h | |
parent | ba54b9276af6c5cf44f466ebc6356dfba7f21c0b (diff) | |
download | u-boot-imx-913b321a1e0336d1743974510f93d61da2b94d75.zip u-boot-imx-913b321a1e0336d1743974510f93d61da2b94d75.tar.gz u-boot-imx-913b321a1e0336d1743974510f93d61da2b94d75.tar.bz2 |
mx6q: mx6qsabrelite: Conditionally define macros for environment in serial flash
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@boundarydevices.com>
Acked-by: Jason Liu <jason.hui@linaro.org>
Tested-by: Jason Liu <jason.hui@linaro.org>
Diffstat (limited to 'include/pmic.h')
0 files changed, 0 insertions, 0 deletions