public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2] ARM: zynq: drop "optional" from board select in favor of ZC702
@ 2015-08-04  7:05 Michal Simek
  2015-08-12 10:19 ` Michal Simek
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Simek @ 2015-08-04  7:05 UTC (permalink / raw)
  To: u-boot

From: Masahiro Yamada <yamada.masahiro@socionext.com>

One disadvantage of commit a26cd04920dc (arch: Make board selection
choices optional) is that Kconfig could create such an insane
.config file that no board is selected.

Rip off the "optional" again in favor of ZC702 as the default
target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

Changes in v2:
- Make ZC702 default instead of zedboard

 arch/arm/mach-zynq/Kconfig   | 2 +-
 configs/zynq_zc702_defconfig | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 1de5b0710a61..7a1aec45e79a 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -10,7 +10,7 @@ config ZYNQ_CUSTOM_INIT
 
 choice
 	prompt "Xilinx Zynq board select"
-	optional
+	default TARGET_ZYNQ_ZC702
 
 config TARGET_ZYNQ_ZED
 	bool "Zynq ZedBoard"
diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
index 5dde452cc39b..c7faee78da9a 100644
--- a/configs/zynq_zc702_defconfig
+++ b/configs/zynq_zc702_defconfig
@@ -1,6 +1,5 @@
 CONFIG_ARM=y
 CONFIG_ARCH_ZYNQ=y
-CONFIG_TARGET_ZYNQ_ZC702=y
 CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702"
 # CONFIG_SYS_MALLOC_F is not set
 CONFIG_SPL=y
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH v2] ARM: zynq: drop "optional" from board select in favor of ZC702
  2015-08-04  7:05 [U-Boot] [PATCH v2] ARM: zynq: drop "optional" from board select in favor of ZC702 Michal Simek
@ 2015-08-12 10:19 ` Michal Simek
  0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2015-08-12 10:19 UTC (permalink / raw)
  To: u-boot

On 08/04/2015 09:05 AM, Michal Simek wrote:
> From: Masahiro Yamada <yamada.masahiro@socionext.com>
> 
> One disadvantage of commit a26cd04920dc (arch: Make board selection
> choices optional) is that Kconfig could create such an insane
> .config file that no board is selected.
> 
> Rip off the "optional" again in favor of ZC702 as the default
> target.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
> 
> Changes in v2:
> - Make ZC702 default instead of zedboard
> 
>  arch/arm/mach-zynq/Kconfig   | 2 +-
>  configs/zynq_zc702_defconfig | 1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
> index 1de5b0710a61..7a1aec45e79a 100644
> --- a/arch/arm/mach-zynq/Kconfig
> +++ b/arch/arm/mach-zynq/Kconfig
> @@ -10,7 +10,7 @@ config ZYNQ_CUSTOM_INIT
>  
>  choice
>  	prompt "Xilinx Zynq board select"
> -	optional
> +	default TARGET_ZYNQ_ZC702
>  
>  config TARGET_ZYNQ_ZED
>  	bool "Zynq ZedBoard"
> diff --git a/configs/zynq_zc702_defconfig b/configs/zynq_zc702_defconfig
> index 5dde452cc39b..c7faee78da9a 100644
> --- a/configs/zynq_zc702_defconfig
> +++ b/configs/zynq_zc702_defconfig
> @@ -1,6 +1,5 @@
>  CONFIG_ARM=y
>  CONFIG_ARCH_ZYNQ=y
> -CONFIG_TARGET_ZYNQ_ZC702=y
>  CONFIG_DEFAULT_DEVICE_TREE="zynq-zc702"
>  # CONFIG_SYS_MALLOC_F is not set
>  CONFIG_SPL=y
> 

Applied.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150812/ed6de40f/attachment.sig>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-12 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04  7:05 [U-Boot] [PATCH v2] ARM: zynq: drop "optional" from board select in favor of ZC702 Michal Simek
2015-08-12 10:19 ` Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox