1 /* SPDX-License-Identifier: GPL-2.0+ */ 2 /* 3 * Copyright (C) 2013 Boundary Devices 4 * Copyright (C) 2014 Toradex AG 5 * 6 * 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 */ 13 IMAGE_VERSION 2 14 15 /* 16 * Boot Device : one of 17 * spi, sd (the board has no nand neither onenand) 18 */ 19 BOOT_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" 38