From patchwork Tue Jul 9 14:14:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 1129851 X-Patchwork-Delegate: ykai007@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=rock-chips.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fIYCLpYA"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 45jky73HGrz9sBt for ; Wed, 10 Jul 2019 00:21:03 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 25376C21E77; Tue, 9 Jul 2019 14:16:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 329F7C21DEC; Tue, 9 Jul 2019 14:16:54 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 436BBC21E70; Tue, 9 Jul 2019 14:15:04 +0000 (UTC) Received: from mail-pf1-f196.google.com (mail-pf1-f196.google.com [209.85.210.196]) by lists.denx.de (Postfix) with ESMTPS id 3E520C21F0F for ; Tue, 9 Jul 2019 14:15:04 +0000 (UTC) Received: by mail-pf1-f196.google.com with SMTP id g2so4579943pfq.0 for ; Tue, 09 Jul 2019 07:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=Fi0uLuyiwSZ5KxBAo38LgTgqwnvrpQWIDIohJnekj2w=; b=fIYCLpYAGINjVPyyipaxG8yxQrljsD4w63+/sWcle7iqYw8Y9xsU8G0PGz1rnNxF6f 03sH23wDpmdY4lXWnT+kZS8SwKMHgIjQsRK3IBU7mj4x6Sif5oz3DMv8T9wd/q//rqMr 4Szkly7hKxOY/lPqKOc2tCashIV2vDI/MHYI202P2QKwOSyE5QihgrUhAtGbcFP7Qc19 4H5H+q0+66WCq51pTV/bxcEfFVNy2qnj0nIja8CpF8GuoEg5DT3uBphc2Ea0KfpBmixp FuQywcEisl2pa/QMB3D9G9q9ldQ5b3GNOkF5tyf+OIgOunO30/gftldME2qfaye/sw50 bbfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=Fi0uLuyiwSZ5KxBAo38LgTgqwnvrpQWIDIohJnekj2w=; b=Ooak2lYNmPhZBt2oyYjtL5uuyhXev1R2yp2i0HkTKffFqEWWRVpVtLLF6Y0vvIOtGF 0+W5uzyYRVjtP0LcjLNvz9wXtp9tXTVvjPfBMpHvmcMpJoJK8gj2MmswtvDygLCO7OLK i6F/jib6kWividH84jqZF1hMoLvMQg95blxsvNVshpJcrRfW5WnbPyZVDXfUcz8gPnD6 iEVf9of3r4YPZFnazCjwxKNFFlomzTPsfz6neHPtNFu7KBQzHQVjG+x+rgvgtKXTHx+P qDEMeFCOWCr/mv572eQpURMjkESSnWXFfMJZKELVY3heAtRFZeLDKpq6KJd4H7rjd7+A lMsg== X-Gm-Message-State: APjAAAWc3lCsurJ4L+4IH/+ttCrPA9cR3kOS+qDNCeo5U/zrYOXwsh7U 5ysUuHkOULmHiESobxz5B1QHPAxE X-Google-Smtp-Source: APXvYqxUhWwVoNgImzTvj+wJrG/Fi+Xuv5UyLKYqotFM3HBLYF4Eb9Dv1KWw870H8qZQndutmLiW5Q== X-Received: by 2002:a63:2784:: with SMTP id n126mr30142502pgn.92.1562681702751; Tue, 09 Jul 2019 07:15:02 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id f17sm17822063pgv.16.2019.07.09.07.15.00 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 07:15:02 -0700 (PDT) From: Kever Yang To: u-boot@lists.denx.de Date: Tue, 9 Jul 2019 22:14:15 +0800 Message-Id: <20190709141429.21442-2-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190709141429.21442-1-kever.yang@rock-chips.com> References: <20190709141429.21442-1-kever.yang@rock-chips.com> Cc: andy.yan@rock-chips.com Subject: [U-Boot] [PATCH 01/15] rockchip: fixup board choice in Kconfig X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Kconfig for board target select is choice option, fixup for rk3036, rk3288 and rv1108. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036/Kconfig | 5 +++++ arch/arm/mach-rockchip/rk3288/Kconfig | 5 +++++ arch/arm/mach-rockchip/rv1108/Kconfig | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/arch/arm/mach-rockchip/rk3036/Kconfig b/arch/arm/mach-rockchip/rk3036/Kconfig index 5e04d20448..0f6b5c4629 100644 --- a/arch/arm/mach-rockchip/rk3036/Kconfig +++ b/arch/arm/mach-rockchip/rk3036/Kconfig @@ -1,5 +1,8 @@ if ROCKCHIP_RK3036 +choice + prompt "RK3036 board select" + config TARGET_EVB_RK3036 bool "EVB_RK3036" select BOARD_LATE_INIT @@ -8,6 +11,8 @@ config TARGET_KYLIN_RK3036 bool "KYLIN_RK3036" select BOARD_LATE_INIT +endchoice + config SYS_SOC default "rk3036" diff --git a/arch/arm/mach-rockchip/rk3288/Kconfig b/arch/arm/mach-rockchip/rk3288/Kconfig index c5dcd061cf..a32cd92976 100644 --- a/arch/arm/mach-rockchip/rk3288/Kconfig +++ b/arch/arm/mach-rockchip/rk3288/Kconfig @@ -1,5 +1,8 @@ if ROCKCHIP_RK3288 +choice + prompt "RK3288 board select" + config TARGET_CHROMEBOOK_JERRY bool "Google/Rockchip Veyron-Jerry Chromebook" select BOARD_LATE_INIT @@ -125,6 +128,8 @@ config TARGET_TINKER_RK3288 8GB eMMC and 2GB of SDRAM. Expansion connectors provide access to I2C, SPI, UART, GPIOs. +endchoice + config ROCKCHIP_FAST_SPL bool "Change the CPU to full speed in SPL" depends on TARGET_CHROMEBOOK_JERRY diff --git a/arch/arm/mach-rockchip/rv1108/Kconfig b/arch/arm/mach-rockchip/rv1108/Kconfig index e3a63b80e1..c5402ab1bd 100644 --- a/arch/arm/mach-rockchip/rv1108/Kconfig +++ b/arch/arm/mach-rockchip/rv1108/Kconfig @@ -1,5 +1,8 @@ if ROCKCHIP_RV1108 +choice + prompt "RV1108 board select" + config TARGET_EVB_RV1108 bool "EVB_RV1108" help @@ -22,6 +25,8 @@ config TARGET_ELGIN_RV1108 help RV1108 ELGIN is a board based on the Rockchip RV1108. +endchoice + config SYS_SOC default "rv1108"