[U-Boot] [U-Boot, v3, 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig
Andreas Bießmann
andreas at biessmann.org
Sun Feb 12 22:10:33 UTC 2017
On Tue, Feb 07, 2017 at 04:01:29PM +0800, Wenyou Yang wrote:
> Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file.
>
> Signed-off-by: Wenyou Yang <wenyou.yang at atmel.com>
> Reviewed-by: Andreas Bießmann <andreas at biessmann.org>
this one will conflict with e856bdcfb49291d30b19603fc101bea096c48196, just
drop it.
Andreas
> ---
>
> Changes in v3:
> - add the Reviewed-by tags.
> - rebase on the patch:
> [PATCH v2] ARM: dts: at91: add device tree files for at91sam9x5ek
> http://lists.denx.de/pipermail/u-boot/2017-February/280504.html
>
> Changes in v2: None
>
> configs/sama5d4_xplained_mmc_defconfig | 1 +
> configs/sama5d4_xplained_nandflash_defconfig | 1 +
> configs/sama5d4_xplained_spiflash_defconfig | 1 +
> configs/sama5d4ek_mmc_defconfig | 1 +
> configs/sama5d4ek_nandflash_defconfig | 1 +
> configs/sama5d4ek_spiflash_defconfig | 1 +
> include/configs/sama5d4_xplained.h | 3 ---
> include/configs/sama5d4ek.h | 3 ---
> 8 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/configs/sama5d4_xplained_mmc_defconfig b/configs/sama5d4_xplained_mmc_defconfig
> index e7518e819b..dfd607070d 100644
> --- a/configs/sama5d4_xplained_mmc_defconfig
> +++ b/configs/sama5d4_xplained_mmc_defconfig
> @@ -12,6 +12,7 @@ CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d4_xplained"
> CONFIG_FIT=y
> CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_MMC"
> CONFIG_BOOTDELAY=3
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/configs/sama5d4_xplained_nandflash_defconfig b/configs/sama5d4_xplained_nandflash_defconfig
> index 790d7d13d1..3ac745c01e 100644
> --- a/configs/sama5d4_xplained_nandflash_defconfig
> +++ b/configs/sama5d4_xplained_nandflash_defconfig
> @@ -10,6 +10,7 @@ CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d4_xplained"
> CONFIG_FIT=y
> CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_NANDFLASH"
> CONFIG_BOOTDELAY=3
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/configs/sama5d4_xplained_spiflash_defconfig b/configs/sama5d4_xplained_spiflash_defconfig
> index af6263fcaa..bd3353b5a0 100644
> --- a/configs/sama5d4_xplained_spiflash_defconfig
> +++ b/configs/sama5d4_xplained_spiflash_defconfig
> @@ -11,6 +11,7 @@ CONFIG_DEFAULT_DEVICE_TREE="at91-sama5d4_xplained"
> CONFIG_FIT=y
> CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_SERIALFLASH"
> CONFIG_BOOTDELAY=3
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/configs/sama5d4ek_mmc_defconfig b/configs/sama5d4ek_mmc_defconfig
> index 76b785569e..799fbbc689 100644
> --- a/configs/sama5d4ek_mmc_defconfig
> +++ b/configs/sama5d4ek_mmc_defconfig
> @@ -14,6 +14,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_MMC"
> CONFIG_BOOTDELAY=3
> # CONFIG_CONSOLE_MUX is not set
> CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/configs/sama5d4ek_nandflash_defconfig b/configs/sama5d4ek_nandflash_defconfig
> index 1bef32227a..cf2d71483f 100644
> --- a/configs/sama5d4ek_nandflash_defconfig
> +++ b/configs/sama5d4ek_nandflash_defconfig
> @@ -12,6 +12,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_NANDFLASH"
> CONFIG_BOOTDELAY=3
> # CONFIG_CONSOLE_MUX is not set
> CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/configs/sama5d4ek_spiflash_defconfig b/configs/sama5d4ek_spiflash_defconfig
> index bd7325efaf..67e2fab3d8 100644
> --- a/configs/sama5d4ek_spiflash_defconfig
> +++ b/configs/sama5d4ek_spiflash_defconfig
> @@ -13,6 +13,7 @@ CONFIG_SYS_EXTRA_OPTIONS="SAMA5D4,SYS_USE_SERIALFLASH"
> CONFIG_BOOTDELAY=3
> # CONFIG_CONSOLE_MUX is not set
> CONFIG_SYS_CONSOLE_IS_IN_ENV=y
> +CONFIG_SYS_NO_FLASH=y
> # CONFIG_DISPLAY_BOARDINFO is not set
> CONFIG_SPL=y
> CONFIG_HUSH_PARSER=y
> diff --git a/include/configs/sama5d4_xplained.h b/include/configs/sama5d4_xplained.h
> index e3abedb9a6..3fe67b3c86 100644
> --- a/include/configs/sama5d4_xplained.h
> +++ b/include/configs/sama5d4_xplained.h
> @@ -10,9 +10,6 @@
> #ifndef __CONFIG_H
> #define __CONFIG_H
>
> -/* No NOR flash, this definition should put before common header */
> -#define CONFIG_SYS_NO_FLASH
> -
> #include "at91-sama5_common.h"
>
> /* SDRAM */
> diff --git a/include/configs/sama5d4ek.h b/include/configs/sama5d4ek.h
> index 0cd6f37167..e86276fd33 100644
> --- a/include/configs/sama5d4ek.h
> +++ b/include/configs/sama5d4ek.h
> @@ -10,9 +10,6 @@
> #ifndef __CONFIG_H
> #define __CONFIG_H
>
> -/* No NOR flash, this definition should put before common header */
> -#define CONFIG_SYS_NO_FLASH
> -
> #include "at91-sama5_common.h"
>
> /* SDRAM */
More information about the U-Boot
mailing list