summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Harvey <[email protected]>2014-06-02 16:13:27 -0700
committerStefano Babic <[email protected]>2014-06-06 10:07:26 +0200
commit0cc11dea89861802c2f278830e5d97b32c3fef4d (patch)
tree29367862199a0cae5d7a82593eaeab9415224762 /include
parent680e8db4503da790a07e90bf88fb4e1008097e2b (diff)
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 <[email protected]> Cc: Otavio Salvador <[email protected]> Cc: Andy Ng <[email protected]> Cc: Eric Nelson <[email protected]> Cc: Tapani Utriainen <[email protected]> Cc: Tom Rini <[email protected]> Signed-off-by: Tim Harvey <[email protected]>
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 cd554957dd8..fb939132f9e 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 */