Commit 53b7f18044c44e7f3ea0ee10bb4cd775df3aaa3c

Authored by Fabio Estevam
Committed by Stefano Babic
1 parent 7d29acd9b7

mx6: Use a common SPL configuration file

Many boards use a minimal .cfg file in the SPL case.

Introduce spl_sd.cfg so that we can reuse it.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Stefano Babic <sbabic@denx.de>

Showing 7 changed files with 11 additions and 47 deletions Side-by-side Diff

arch/arm/imx-common/spl_sd.cfg
  1 +/*
  2 + * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
  3 + *
  4 + * SPDX-License-Identifier: GPL-2.0+
  5 + */
  6 +
  7 +IMAGE_VERSION 2
  8 +BOOT_FROM sd
board/compulab/cm_fx6/imximage.cfg
1   -/*
2   - * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
5   - */
6   -
7   -IMAGE_VERSION 2
8   -BOOT_FROM sd
board/freescale/mx6sabresd/mx6sabresd_spl.cfg
1   -/*
2   - * Copyright (C) 2011 Freescale Semiconductor, Inc.
3   - * Jason Liu <r64343@freescale.com>
4   - *
5   - * SPDX-License-Identifier: GPL-2.0+
6   - *
7   - * Refer doc/README.imximage for more details about how-to configure
8   - * and create imximage boot image
9   - *
10   - * The syntax is taken as close as possible with the kwbimage
11   - */
12   -
13   -/* image version */
14   -IMAGE_VERSION 2
15   -
16   -/*
17   - * Boot Device : one of
18   - * spi, sd (the board has no nand neither onenand)
19   - */
20   -BOOT_FROM sd
board/kosagi/novena/setup.cfg
1   -/*
2   - * Copyright (C) 2014 Marek Vasut <marex@denx.de>
3   - *
4   - * SPDX-License-Identifier: GPL-2.0+
5   - *
6   - * Refer docs/README.imxmage 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   -/* Boot Device : sd */
16   -BOOT_FROM sd
configs/cm_fx6_defconfig
1 1 CONFIG_SPL=y
2   -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/compulab/cm_fx6/imximage.cfg,MX6QDL,SPL"
  2 +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6QDL,SPL"
3 3 +S:CONFIG_ARM=y
4 4 +S:CONFIG_TARGET_CM_FX6=y
configs/mx6sabresd_spl_defconfig
1 1 CONFIG_SPL=y
2   -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx6sabresd/mx6sabresd_spl.cfg,SPL,MX6Q"
  2 +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,SPL,MX6Q"
3 3 +S:CONFIG_ARM=y
4 4 +S:CONFIG_TARGET_MX6SABRESD=y
configs/novena_defconfig
1 1 CONFIG_SPL=y
2   -CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/kosagi/novena/setup.cfg,MX6Q"
  2 +CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,MX6Q"
3 3 +S:CONFIG_ARM=y
4 4 +S:CONFIG_TARGET_KOSAGI_NOVENA=y