diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-20 13:17:56 -0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-11-24 11:59:59 +0100 |
commit | 3a7577e5f384f6fdbd8e9b8eefa8573c508fd6de (patch) | |
tree | 9561032a210916c335b40df87ab9db8894fed19f | |
parent | 7bf38161af878935f5c04c503a136dd5d333cd9e (diff) | |
download | u-boot-imx-3a7577e5f384f6fdbd8e9b8eefa8573c508fd6de.zip u-boot-imx-3a7577e5f384f6fdbd8e9b8eefa8573c508fd6de.tar.gz u-boot-imx-3a7577e5f384f6fdbd8e9b8eefa8573c508fd6de.tar.bz2 |
gw_ventana: Use the generic spl_sd.cfg
gw_ventana can boot from SPI or NAND and both of these interfaces boot from
the same 0x400 offset.
This means that we could simplify the code and replace the custom gw_ventana.cfg
with the generic spl_sd.cfg, as it provides the same boot offset of 0x400.
Cc: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
-rw-r--r-- | board/gateworks/gw_ventana/gw_ventana.cfg | 23 | ||||
-rw-r--r-- | configs/gwventana_defconfig | 2 |
2 files changed, 1 insertions, 24 deletions
diff --git a/board/gateworks/gw_ventana/gw_ventana.cfg b/board/gateworks/gw_ventana/gw_ventana.cfg deleted file mode 100644 index dd8aa61..0000000 --- a/board/gateworks/gw_ventana/gw_ventana.cfg +++ /dev/null @@ -1,23 +0,0 @@ -/* - * 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 diff --git a/configs/gwventana_defconfig b/configs/gwventana_defconfig index f185329..4cddbdd 100644 --- a/configs/gwventana_defconfig +++ b/configs/gwventana_defconfig @@ -1,4 +1,4 @@ CONFIG_SPL=y -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/gateworks/gw_ventana/gw_ventana.cfg,MX6QDL" +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL" +S:CONFIG_ARM=y +S:CONFIG_TARGET_GW_VENTANA=y |