From patchwork Wed May 17 09:25:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 763481 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3wSXf92qCCz9s8F for ; Wed, 17 May 2017 21:49:05 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="TN1sl45Z"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id DBE4CC21D92; Wed, 17 May 2017 10:06:37 +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_DNSWL_NONE, RCVD_IN_MSPIKE_H2, 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 C998DC223D7; Wed, 17 May 2017 10:06:34 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 5899CC21D4B; Wed, 17 May 2017 09:27:10 +0000 (UTC) Received: from mail-oi0-f48.google.com (mail-oi0-f48.google.com [209.85.218.48]) by lists.denx.de (Postfix) with ESMTPS id A1D26C2226D for ; Wed, 17 May 2017 09:27:09 +0000 (UTC) Received: by mail-oi0-f48.google.com with SMTP id b204so7918264oii.1 for ; Wed, 17 May 2017 02:27:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=u4Jcz+F28Rrg72Xd2YfQyRlRDLbdmbpK72GaNm6MxKA=; b=TN1sl45ZEzhhkVcJRR45k7Bdz63DDKbl9AJ4NguRRf547fqxXpXZfW37ybBntAfq8V sdUqmj79KKBLG3viiBW6I+XJ7KJIFEw3Kz3dthMJK9HLhISFGE+0oYIxQDi/fJIPiUeH yHkQTb1M0Lk00hMVb9uvWDlI11uXyD2lZODUHOhjafeHclNdKNpSFKNg7fY16giK8p93 JawDcNfStyUL0AJDGMWVXtABs5cyZ2EB6TirQmMsq8H8lArdbLAToD7XSG1CCHe6rQ+d OpqKxr12onrR2MGx0xksu+i0bWq3Q5aiAiipTpFaXdVbnwBQn09RtppxclLCS3d636N/ /zVQ== 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=u4Jcz+F28Rrg72Xd2YfQyRlRDLbdmbpK72GaNm6MxKA=; b=V8Plm8BjB5KFOYM5ZrwUMHEyfow3PxjaF/1EwhSMtTnTpTSw96+4llLGjLzdr/NfA8 E2WSu4LzHkDb5MBY/wCPFvY/vm2m8a9O70hvUBy9KIh2ljv9qQf0u4JaE4aCr7q4T2eJ 8VVnyvhBixvKYgxS6LSUMXebZb1rZUhPOqE8YRgcU5Z4kcewkcdAetsGCAxRIjxP/3Ok 5oVMuWKDyZPU0mWM5xcdWBRLcSR/5qmi7Cx72bbRFv6dio1y3a8SMzGJOrDR7JQ05d7+ Y3DF9Qg+iTTsSylHd8LnP3NOESHLBhYNGnnUgyiz8wHNdhOpk3QWOG8D8EB9zM4lN5/Y m/hQ== X-Gm-Message-State: AODbwcDnTZwODyTR10yKhEweESQctO1UzPg2SYFn5oVClO0vjOdm2nsL /eI4toCVY5kHGML9 X-Received: by 10.157.48.138 with SMTP id s10mr1304370otc.109.1495013228405; Wed, 17 May 2017 02:27:08 -0700 (PDT) Received: from kaki.bld.corp.google.com ([2620:0:1005:11:f934:5ed:f6d9:d017]) by smtp.gmail.com with ESMTPSA id s192sm820004oie.40.2017.05.17.02.27.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 May 2017 02:27:07 -0700 (PDT) Received: by kaki.bld.corp.google.com (Postfix, from userid 121222) id 2930A40550; Wed, 17 May 2017 03:27:07 -0600 (MDT) From: Simon Glass To: U-Boot Mailing List Date: Wed, 17 May 2017 03:25:24 -0600 Message-Id: <20170517092544.19357-29-sjg@chromium.org> X-Mailer: git-send-email 2.13.0.303.g4ebf302169-goog In-Reply-To: <20170517092544.19357-1-sjg@chromium.org> References: <20170517092544.19357-1-sjg@chromium.org> Cc: Tom Rini Subject: [U-Boot] [PATCH v3 28/48] Convert CONFIG_CMD_GSC to 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" This converts the following to Kconfig: CONFIG_CMD_GSC Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None board/gateworks/gw_ventana/Kconfig | 8 ++++++++ configs/gwventana_emmc_defconfig | 1 + configs/gwventana_gw5904_defconfig | 1 + configs/gwventana_nand_defconfig | 1 + include/configs/gw_ventana.h | 1 - include/configs/pcm058.h | 1 - scripts/config_whitelist.txt | 1 - 7 files changed, 11 insertions(+), 3 deletions(-) diff --git a/board/gateworks/gw_ventana/Kconfig b/board/gateworks/gw_ventana/Kconfig index c5779846da..5d1bae41ac 100644 --- a/board/gateworks/gw_ventana/Kconfig +++ b/board/gateworks/gw_ventana/Kconfig @@ -14,4 +14,12 @@ config CMD_EECONFIG help Provides access to EEPROM configuration on Gateworks Ventana +config CMD_GSC + bool "Enable the 'gsc' command" + help + Provides access to the GSC configuration: + + gsc sleep - sleeps for a period of seconds + gsc wd - enables / disables the watchdog + endif diff --git a/configs/gwventana_emmc_defconfig b/configs/gwventana_emmc_defconfig index 289134e854..12de448115 100644 --- a/configs/gwventana_emmc_defconfig +++ b/configs/gwventana_emmc_defconfig @@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_TARGET_GW_VENTANA=y CONFIG_CMD_EECONFIG=y +CONFIG_CMD_GSC=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y diff --git a/configs/gwventana_gw5904_defconfig b/configs/gwventana_gw5904_defconfig index 5e5f1f6d37..6d8cd6030c 100644 --- a/configs/gwventana_gw5904_defconfig +++ b/configs/gwventana_gw5904_defconfig @@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_TARGET_GW_VENTANA=y CONFIG_CMD_EECONFIG=y +CONFIG_CMD_GSC=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_WATCHDOG_SUPPORT=y diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig index eedccfc999..62b9b575ca 100644 --- a/configs/gwventana_nand_defconfig +++ b/configs/gwventana_nand_defconfig @@ -5,6 +5,7 @@ CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_TARGET_GW_VENTANA=y CONFIG_CMD_EECONFIG=y +CONFIG_CMD_GSC=y CONFIG_SPL_MMC_SUPPORT=y CONFIG_SPL_SERIAL_SUPPORT=y CONFIG_SPL_NAND_SUPPORT=y diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h index 661d8c38c8..4dcff0347f 100644 --- a/include/configs/gw_ventana.h +++ b/include/configs/gw_ventana.h @@ -142,7 +142,6 @@ /* Various command support */ #define CONFIG_CMD_HDMIDETECT /* detect HDMI output device */ -#define CONFIG_CMD_GSC #define CONFIG_CMD_UNZIP /* gzwrite */ #define CONFIG_RBTREE diff --git a/include/configs/pcm058.h b/include/configs/pcm058.h index 041d84018f..44b4ffdf99 100644 --- a/include/configs/pcm058.h +++ b/include/configs/pcm058.h @@ -87,7 +87,6 @@ /* Various command support */ #define CONFIG_CMD_HDMIDETECT /* detect HDMI output device */ -#define CONFIG_CMD_GSC #define CONFIG_RBTREE /* Physical Memory Map */ diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 718a8ede2a..0a5cd1595f 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -383,7 +383,6 @@ CONFIG_CM922T_XA10 CONFIG_CMDLINE_EDITING CONFIG_CMDLINE_PS_SUPPORT CONFIG_CMDLINE_TAG -CONFIG_CMD_GSC CONFIG_CMD_HASH CONFIG_CMD_HD44760 CONFIG_CMD_HD44780