summaryrefslogtreecommitdiff
path: root/board/gateworks/gw_ventana/gw_ventana.cfg
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-03-13 17:43:35 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2014-03-13 17:43:35 +0100
commit08798026f24bd7c706e70372f8c323f0702c9a15 (patch)
treef8bf5d1866393c82a96dc062814274076482a0e3 /board/gateworks/gw_ventana/gw_ventana.cfg
parentaadf3192f83a55dbbdb0d395ee5af88b6560edcb (diff)
parent81a1d6173cd255c5c04c332ed69498c6e173515f (diff)
downloadu-boot-imx-08798026f24bd7c706e70372f8c323f0702c9a15.zip
u-boot-imx-08798026f24bd7c706e70372f8c323f0702c9a15.tar.gz
u-boot-imx-08798026f24bd7c706e70372f8c323f0702c9a15.tar.bz2
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
Diffstat (limited to 'board/gateworks/gw_ventana/gw_ventana.cfg')
-rw-r--r--board/gateworks/gw_ventana/gw_ventana.cfg44
1 files changed, 44 insertions, 0 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.cfg b/board/gateworks/gw_ventana/gw_ventana.cfg
new file mode 100644
index 0000000..27f0974
--- /dev/null
+++ b/board/gateworks/gw_ventana/gw_ventana.cfg
@@ -0,0 +1,44 @@
+/*
+ * Copyright (C) 2013 Gateworks Corporation
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ *
+ * Refer doc/README.imximage for more details about how-to configure
+ * and create imximage boot image
+ *
+ * The syntax is taken as close as possible with the kwbimage
+ */
+
+/* image version */
+IMAGE_VERSION 2
+
+/*
+ * Boot Device : one of
+ * spi, sd, nand, sata
+ */
+#ifdef CONFIG_SPI_FLASH
+BOOT_FROM spi
+#else
+BOOT_FROM nand
+#endif
+
+#define __ASSEMBLY__
+#include <config.h>
+#include "asm/arch/mx6-ddr.h"
+#include "asm/arch/iomux.h"
+#include "asm/arch/crm_regs.h"
+
+/* Memory configuration (size is overridden via eeprom config) */
+#include "../../boundary/nitrogen6x/ddr-setup.cfg"
+#if defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 1024
+ #include "../../boundary/nitrogen6x/1066mhz_4x128mx16.cfg"
+#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 1024
+ #include "../../boundary/nitrogen6x/800mhz_4x128mx16.cfg"
+#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 512
+ #include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
+#elif defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 512
+ #include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
+#else
+ #error "Unsupported CPU/Memory configuration"
+#endif
+#include "clocks.cfg"