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