summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTim Harvey <tharvey@gateworks.com>2014-06-02 16:13:27 -0700
committerStefano Babic <sbabic@denx.de>2014-06-06 10:07:26 +0200
commit0cc11dea89861802c2f278830e5d97b32c3fef4d (patch)
tree29367862199a0cae5d7a82593eaeab9415224762 /include
parent680e8db4503da790a07e90bf88fb4e1008097e2b (diff)
downloadu-boot-0cc11dea89861802c2f278830e5d97b32c3fef4d.tar.gz
u-boot-0cc11dea89861802c2f278830e5d97b32c3fef4d.tar.xz
u-boot-0cc11dea89861802c2f278830e5d97b32c3fef4d.zip
imx: ventana: switch to SPL
Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific calibration data - configure DRAM per CPU/size/layout/devices/calibration - load u-boot.img from NAND and jump to it This allows for a single SPL+u-boot.img to replace the previous multiple boa configurations. Cc: Stefan Roese <sr@denx.de> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Andy Ng <andreas2025@gmail.com> Cc: Eric Nelson <eric.nelson@boundarydevices.com> Cc: Tapani Utriainen <tapani@technexion.com> Cc: Tom Rini <trini@ti.com> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/gw_ventana.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h
index cd554957dd..fb939132f9 100644
--- a/include/configs/gw_ventana.h
+++ b/include/configs/gw_ventana.h
@@ -7,6 +7,17 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+/* SPL */
+#define CONFIG_SPL_NAND_SUPPORT
+#define CONFIG_SPL_MMC_SUPPORT
+#define CONFIG_SPL_FAT_SUPPORT
+/*
+#define CONFIG_SPL_SATA_SUPPORT
+*/
+/* Location in NAND to read U-Boot from */
+#define CONFIG_SYS_NAND_U_BOOT_OFFS (14 * 1024 * 1024)
+
+#include "imx6_spl.h" /* common IMX6 SPL configuration */
#include "mx6_common.h"
#define CONFIG_MX6
#define CONFIG_DISPLAY_CPUINFO /* display cpu info */