1/*
2 * Copyright (C) 2013 Boundary Devices
3 * Copyright (C) 2014 Toradex AG
4 *
5 * SPDX-License-Identifier:	GPL-2.0+
6 *
7 * Refer doc/README.imximage for more details about how-to configure
8 * and create imximage boot image
9 *
10 * The syntax is taken as close as possible with the kwbimage
11 */
12
13/* image version */
14IMAGE_VERSION 2
15
16/*
17 * Boot Device : one of
18 * spi, sd (the board has no nand neither onenand)
19 */
20BOOT_FROM      sd
21
22#define __ASSEMBLY__
23#include <config.h>
24#include "asm/arch/mx6-ddr.h"
25#include "asm/arch/iomux.h"
26#include "asm/arch/crm_regs.h"
27
28#include "ddr-setup.cfg"
29
30#if CONFIG_DDR_MB == 256
31#include "800mhz_2x64mx16.cfg"
32#elif CONFIG_DDR_MB == 512
33#include "800mhz_4x64mx16.cfg"
34#else
35#error "unknown DDR size"
36#endif
37
38#include "clocks.cfg"
39