2
* Copyright (C) 2013 Gateworks Corporation
4
* SPDX-License-Identifier: GPL-2.0+
6
* Refer doc/README.imximage for more details about how-to configure
7
* and create imximage boot image
9
* The syntax is taken as close as possible with the kwbimage
16
* Boot Device : one of
19
#ifdef CONFIG_SPI_FLASH
27
#include "asm/arch/mx6-ddr.h"
28
#include "asm/arch/iomux.h"
29
#include "asm/arch/crm_regs.h"
31
/* Memory configuration (size is overridden via eeprom config) */
32
#include "../../boundary/nitrogen6x/ddr-setup.cfg"
33
#if defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 1024
34
#include "../../boundary/nitrogen6x/1066mhz_4x128mx16.cfg"
35
#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 1024
36
#include "../../boundary/nitrogen6x/800mhz_4x128mx16.cfg"
37
#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 512
38
#include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
39
#elif defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 512
40
#include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
42
#error "Unsupported CPU/Memory configuration"