From patchwork Wed Jun 27 10:47:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 935392 X-Patchwork-Delegate: sr@denx.de 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=fail (p=none dis=none) header.from=gmail.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="EYSpEMjY"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41G04H6MHbz9s29 for ; Wed, 27 Jun 2018 20:47:59 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 43DAFC21D8E; Wed, 27 Jun 2018 10:47:54 +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=FREEMAIL_FROM, 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 13859C21C2C; Wed, 27 Jun 2018 10:47:52 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A2032C21C2C; Wed, 27 Jun 2018 10:47:50 +0000 (UTC) Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by lists.denx.de (Postfix) with ESMTPS id 0A314C21C29 for ; Wed, 27 Jun 2018 10:47:50 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a22-v6so785174pfo.12 for ; Wed, 27 Jun 2018 03:47:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=0v6ClonWIlYZM5+jozAUckeOz/QXdKy04ila3u/33OU=; b=EYSpEMjY8dihY+vK9pwAVoC2dAWA9Y/+UACE0romuxJYZ7lIZeZXKscitECYorY3HQ +YozVP/dLeq2d4EllZA96WSbnpM813aD+P5pmaq8M5uCR2wcZ+L8po3KQw/XyiuhpySi 34SOCbdRFIyyEJa2prZBn+wnVOAYKHDIx6ziz6hLNHTPDQEvsAaJDQRrApivn1aGFmPP 8MynjTr/PHy5AiyuWifKwJPwQ+aQ+Y4hBM8FrRCrQMDIUTSe2BBEy8Bnoevk5iZ+o2VT 33cNrN5B+Mp5BMv3I55mip/rK7bArbPZti+boN5HYo5CSBttywEVhUdafAoXySV0axF3 2z9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=0v6ClonWIlYZM5+jozAUckeOz/QXdKy04ila3u/33OU=; b=PuCeupHzuIYB5aXve+v57LHBiV3PirQKvqhnbCuwoIDpS47AOT4em9ljQGG36gPCp5 uxeL1LOacE7qTVOZzaaq0xOXVdKS0pJocv25MIbraMQac2nWhhOwL/haThRbuVNdcCag AAtUiU7Ec3Ws/14BUK20drgVSI/OrR3LVVa6pUuZTkDIXysWuTy9uE67ofTHfDKB+s5k lsy+DRqgfKt/gzXjdymyCThz3htp5wEZjgegklFpcKxuQGuu17mc8NGBihUboYLdytm0 lCkCsMTQLZJwZKhE253V3eybGpV8I/3Secy/EYT7D3p3M3osmYD+/cyt+d6EYULxWsyo iMBw== X-Gm-Message-State: APt69E3b7apmTMmn7QRvk906rE0AXmy1XPb5BUleNqS4/FiwuSU3jcfB TQErI3/DQg+dwJnM+arQ+gp9DBP2 X-Google-Smtp-Source: AAOMgpdSk7Lkv+JjtpmAN5rHpdmx3mlfyhsx8ED5dLl8xrqGAy1VKAmicAN+cTZKEUWGbBRzFKiGKg== X-Received: by 2002:a62:e310:: with SMTP id g16-v6mr5339776pfh.25.1530096468111; Wed, 27 Jun 2018 03:47:48 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02]) by smtp.gmail.com with ESMTPSA id y15-v6sm5990661pfm.136.2018.06.27.03.47.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 27 Jun 2018 03:47:46 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Wed, 27 Jun 2018 22:47:35 +1200 Message-Id: <20180627104736.27232-1-judge.packham@gmail.com> X-Mailer: git-send-email 2.18.0 Cc: Prafulla Wadaskar , Walter Schweizer , Siddarth Gore , Jason Cooper , Stefan Roese , Chris Packham Subject: [U-Boot] [PATCH 1/2] configs: move RTC_MV config from mv-plug-common.h to boards 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" To aid in migrating CONFIG_RTC_MV to Kconfig move the definition of it from mv-plug-common.h to the board config headers that nest it. Signed-off-by: Chris Packham --- include/configs/dreamplug.h | 4 ++++ include/configs/ds109.h | 4 ++++ include/configs/guruplug.h | 4 ++++ include/configs/mv-plug-common.h | 7 ------- include/configs/sheevaplug.h | 4 ++++ 5 files changed, 16 insertions(+), 7 deletions(-) diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h index 1c94bf9fa1bf..742232d2d660 100644 --- a/include/configs/dreamplug.h +++ b/include/configs/dreamplug.h @@ -27,6 +27,10 @@ */ #include "mv-plug-common.h" +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MV +#endif /* CONFIG_CMD_DATE */ + /* * Environment variables configurations */ diff --git a/include/configs/ds109.h b/include/configs/ds109.h index c06f0058deb5..f8d663714239 100644 --- a/include/configs/ds109.h +++ b/include/configs/ds109.h @@ -30,6 +30,10 @@ */ #include "mv-plug-common.h" +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MV +#endif /* CONFIG_CMD_DATE */ + /* * Environment variables configurations */ diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h index 04b7e944a461..27096fbb20f3 100644 --- a/include/configs/guruplug.h +++ b/include/configs/guruplug.h @@ -27,6 +27,10 @@ */ #include "mv-plug-common.h" +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MV +#endif /* CONFIG_CMD_DATE */ + /* * Environment variables configurations */ diff --git a/include/configs/mv-plug-common.h b/include/configs/mv-plug-common.h index 81c07a889a36..f424e2cc6c52 100644 --- a/include/configs/mv-plug-common.h +++ b/include/configs/mv-plug-common.h @@ -22,11 +22,4 @@ */ #include "mv-common.h" -/* - * RTC driver configuration - */ -#ifdef CONFIG_CMD_DATE -#define CONFIG_RTC_MV -#endif /* CONFIG_CMD_DATE */ - #endif /* _CONFIG_MARVELL_PLUG_H */ diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h index dc6375841ed8..bf684babebf3 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -31,6 +31,10 @@ */ #include "mv-plug-common.h" +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MV +#endif /* CONFIG_CMD_DATE */ + /* * Environment variables configurations */