mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
59189a8b26
Gateworks Ventana is a product family based on the i.MX6. This patch adds support for all boards in the Ventana family. Where possible, data from the boards EEPROM is used to determine various details about the board at runtime. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
44 lines
1.2 KiB
INI
44 lines
1.2 KiB
INI
/*
|
|
* Copyright (C) 2013 Gateworks Corporation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*
|
|
* Refer doc/README.imximage for more details about how-to configure
|
|
* and create imximage boot image
|
|
*
|
|
* The syntax is taken as close as possible with the kwbimage
|
|
*/
|
|
|
|
/* image version */
|
|
IMAGE_VERSION 2
|
|
|
|
/*
|
|
* Boot Device : one of
|
|
* spi, sd, nand, sata
|
|
*/
|
|
#ifdef CONFIG_SPI_FLASH
|
|
BOOT_FROM spi
|
|
#else
|
|
BOOT_FROM nand
|
|
#endif
|
|
|
|
#define __ASSEMBLY__
|
|
#include <config.h>
|
|
#include "asm/arch/mx6-ddr.h"
|
|
#include "asm/arch/iomux.h"
|
|
#include "asm/arch/crm_regs.h"
|
|
|
|
/* Memory configuration (size is overridden via eeprom config) */
|
|
#include "../../boundary/nitrogen6x/ddr-setup.cfg"
|
|
#if defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 1024
|
|
#include "../../boundary/nitrogen6x/1066mhz_4x128mx16.cfg"
|
|
#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 1024
|
|
#include "../../boundary/nitrogen6x/800mhz_4x128mx16.cfg"
|
|
#elif defined(CONFIG_MX6DL) && CONFIG_DDR_MB == 512
|
|
#include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
|
|
#elif defined(CONFIG_MX6Q) && CONFIG_DDR_MB == 512
|
|
#include "../../boundary/nitrogen6x/800mhz_2x128mx16.cfg"
|
|
#else
|
|
#error "Unsupported CPU/Memory configuration"
|
|
#endif
|
|
#include "clocks.cfg"
|