1*d67b0d97SEric Nelson/* 2*d67b0d97SEric Nelson * Copyright (C) 2013 Boundary Devices 3*d67b0d97SEric Nelson * 4*d67b0d97SEric Nelson * See file CREDITS for list of people who contributed to this 5*d67b0d97SEric Nelson * project. 6*d67b0d97SEric Nelson * 7*d67b0d97SEric Nelson * This program is free software; you can redistribute it and/or 8*d67b0d97SEric Nelson * modify it under the terms of the GNU General Public License as 9*d67b0d97SEric Nelson * published by the Free Software Foundation; either version 2 of 10*d67b0d97SEric Nelson * the License or (at your option) any later version. 11*d67b0d97SEric Nelson * 12*d67b0d97SEric Nelson * This program is distributed in the hope that it will be useful, 13*d67b0d97SEric Nelson * but WITHOUT ANY WARRANTY; without even the implied warranty of 14*d67b0d97SEric Nelson * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*d67b0d97SEric Nelson * GNU General Public License for more details. 16*d67b0d97SEric Nelson * 17*d67b0d97SEric Nelson * You should have received a copy of the GNU General Public License 18*d67b0d97SEric Nelson * along with this program; if not write to the Free Software 19*d67b0d97SEric Nelson * Foundation Inc. 51 Franklin Street Fifth Floor Boston, 20*d67b0d97SEric Nelson * MA 02110-1301 USA 21*d67b0d97SEric Nelson * 22*d67b0d97SEric Nelson * Refer docs/README.imxmage for more details about how-to configure 23*d67b0d97SEric Nelson * and create imximage boot image 24*d67b0d97SEric Nelson * 25*d67b0d97SEric Nelson * The syntax is taken as close as possible with the kwbimage 26*d67b0d97SEric Nelson */ 27*d67b0d97SEric Nelson 28*d67b0d97SEric Nelson/* image version */ 29*d67b0d97SEric NelsonIMAGE_VERSION 2 30*d67b0d97SEric Nelson 31*d67b0d97SEric Nelson/* 32*d67b0d97SEric Nelson * Boot Device : one of 33*d67b0d97SEric Nelson * spi, sd (the board has no nand neither onenand) 34*d67b0d97SEric Nelson */ 35*d67b0d97SEric NelsonBOOT_FROM sd 36*d67b0d97SEric Nelson 37*d67b0d97SEric Nelson#define __ASSEMBLY__ 38*d67b0d97SEric Nelson#include <config.h> 39*d67b0d97SEric Nelson#include "asm/arch/mx6-ddr.h" 40*d67b0d97SEric Nelson#include "asm/arch/iomux.h" 41*d67b0d97SEric Nelson#include "asm/arch/crm_regs.h" 42*d67b0d97SEric Nelson 43*d67b0d97SEric Nelson#include "ddr-setup.cfg" 44*d67b0d97SEric Nelson#include "800mhz_4x128mx16.cfg" 45*d67b0d97SEric Nelson#include "clocks.cfg" 46