From patchwork Tue Aug 7 07:41:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 954386 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="FBNkH4Je"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 41l62j3c2xz9ryt for ; Tue, 7 Aug 2018 17:43:41 +1000 (AEST) Received: by lists.denx.de (Postfix, from userid 105) id 2C91CC21F64; Tue, 7 Aug 2018 07:42:50 +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, 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 69E62C21F76; Tue, 7 Aug 2018 07:42:19 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id F06B4C21ECE; Tue, 7 Aug 2018 07:42:06 +0000 (UTC) Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by lists.denx.de (Postfix) with ESMTPS id DCD35C21F3C for ; Tue, 7 Aug 2018 07:42:01 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id f14-v6so6913259pgv.13 for ; Tue, 07 Aug 2018 00:42:01 -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:in-reply-to:references; bh=Uh3AQVuuRKZffYVUK0cxD2QTv4FFYOAW0dsK8FNTj9I=; b=FBNkH4JelYo8EhORn88aWWYeX2QoxbEzq4pVgGKqKGce+N4Ug5bBzVs7bpP513oTK5 sUJ58DF1c/HGdpGjyLiWvn/A/VXEHyN1k4IwvCtqtnsfR5/kYQZAEgU+/H0cEmdxATAc Uyno+R0CckAILUJOOH/Nkg1uqDmcRZSrkLtWTZOMt5One7jg/dGJMIx4BkS+g+oR5mF7 EM90x56bY/XCtsXDKkvRxg99VbnMVGfy5gI2tnIH4P3QdoOgKpqOepk9wO/aSD6NVSNE iKyVUhESQKciQylfd9rEliEMPF1E9McwxRGJHcn7KYYNBAmGv1/in83P3gYYtZd/Hoe6 C4nQ== 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:in-reply-to :references; bh=Uh3AQVuuRKZffYVUK0cxD2QTv4FFYOAW0dsK8FNTj9I=; b=irsS5OPbQRyUw7fzTTFv4zmL/PJViRogG6+RNUbUn6Bj8pm7HhTg/O1gSG6mXOafOK gdfn6DgHD+HtMg2mvxcdWHFd9ye81zhCXFzQjaHm9h7mBr81fQoe606+ovTC+FG4c+Cv w/6K7GYZIYes7OCLIeoU8K/SNvdLLBpDTi+5I0t+p5uzKhFcrgxplGrTbZ9gT/HV2DC3 yxPZi6Z2z473CJDS8jvOuNYWQTU++i9dOJLaaakUNIlYW19/7p7+GHG5v8Ul4dGGAujA b6MZsOoOPx/eikk+ON6DfnjZEC+zZZtrV4RkRmLNaJ0YyHwGc/yxKRuO2CwtNhOcZvvu rpQA== X-Gm-Message-State: AOUpUlHalVwk0Azo8bjVXECCMtaI9z0z/OnSQ01A5YJrMsVaJqCuUe6u CwJj1BttZ8frBwK7iWQBa7Vsa3Jk X-Google-Smtp-Source: AAOMgpeeUOxSsZDjim0soKnrRwPFPPC7utUrXjU4peSKJmIM+Ub+wl0ojsGf2BzdLJWtaADbbkEVww== X-Received: by 2002:a63:a042:: with SMTP id u2-v6mr17274260pgn.80.1533627719537; Tue, 07 Aug 2018 00:41:59 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc ([2001:df5:b000:22:3a2c:4aff:fe70:2b02]) by smtp.gmail.com with ESMTPSA id t9-v6sm1423501pgi.87.2018.08.07.00.41.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 07 Aug 2018 00:41:58 -0700 (PDT) From: Chris Packham To: u-boot@lists.denx.de Date: Tue, 7 Aug 2018 19:41:45 +1200 Message-Id: <20180807074146.5071-2-judge.packham@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180807074146.5071-1-judge.packham@gmail.com> References: <20180807074146.5071-1-judge.packham@gmail.com> Cc: Prafulla Wadaskar , Walter Schweizer , Siddarth Gore , Jason Cooper , Stefan Roese , Chris Packham Subject: [U-Boot] [PATCH v3 2/3] 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 --- Changes in v3: None Changes in v2: None 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 739ab320f637..3ce021abea84 100644 --- a/include/configs/guruplug.h +++ b/include/configs/guruplug.h @@ -25,6 +25,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 deec71734dc7..12e38b3f12dc 100644 --- a/include/configs/sheevaplug.h +++ b/include/configs/sheevaplug.h @@ -29,6 +29,10 @@ */ #include "mv-plug-common.h" +#ifdef CONFIG_CMD_DATE +#define CONFIG_RTC_MV +#endif /* CONFIG_CMD_DATE */ + /* * Environment variables configurations */