[U-Boot] [PATCH v3 17/28] configs: remove raw NAND core from k2g defconfigs

Boris Brezillon
2018-12-05T10:19:49Z

On Wed, 5 Dec 2018 00:57:03 +0100
Miquel Raynal <miquel.raynal@bootlin.com> wrote:

> Due to previous Makefile organization, the raw NAND subdirectory was
> not compiled in if CMD_NAND was not enabled. Because the Denali driver
> does not compile with these boards (undefined environment offset),
> remove the dependency within the defconfig over the controller driver
> (was ignored anyway in the past).

Maybe this should be moved before the Makefile re-organization if this
the build of those defconfigs.

>
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
> ---
> configs/k2g_evm_defconfig | 1 -
> configs/k2g_hs_evm_defconfig | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/configs/k2g_evm_defconfig b/configs/k2g_evm_defconfig
> index dee00ec8d4..b474781ccb 100644
> --- a/configs/k2g_evm_defconfig
> +++ b/configs/k2g_evm_defconfig
> @@ -41,7 +41,6 @@ CONFIG_MMC_OMAP_HS=y
> CONFIG_MTD=y
> CONFIG_MTD_UBI=y
> CONFIG_MTD_RAW_NAND=y
> -CONFIG_NAND_DAVINCI=y
> CONFIG_DM_SPI_FLASH=y
> CONFIG_SPI_FLASH=y
> CONFIG_SPI_FLASH_BAR=y
> diff --git a/configs/k2g_hs_evm_defconfig b/configs/k2g_hs_evm_defconfig
> index b8c395d78d..a50a7abf30 100644
> --- a/configs/k2g_hs_evm_defconfig
> +++ b/configs/k2g_hs_evm_defconfig
> @@ -34,7 +34,6 @@ CONFIG_MMC_OMAP_HS=y
> CONFIG_MTD=y
> CONFIG_MTD_UBI=y
> CONFIG_MTD_RAW_NAND=y
> -CONFIG_NAND_DAVINCI=y
> CONFIG_DM_SPI_FLASH=y
> CONFIG_SPI_FLASH=y
> CONFIG_SPI_FLASH_BAR=y