Max Krummenacher | 3b74ccf | 2016-11-30 19:43:08 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 Boundary Devices |
| 3 | * Copyright (C) 2014-2016, 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 */ |
| 14 | IMAGE_VERSION 2 |
| 15 | |
| 16 | /* |
| 17 | * Boot Device : one of |
| 18 | * spi, sd (the board has no nand neither onenand) |
| 19 | */ |
| 20 | BOOT_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 | #if CONFIG_DDR_MB == 2048 |
| 30 | #include "1066mhz_4x256mx16.cfg" |
| 31 | #else |
| 32 | #include "1066mhz_4x128mx16.cfg" |
| 33 | #endif |
| 34 | #include "clocks.cfg" |