From patchwork Fri Jun 11 16:13:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1491052 X-Patchwork-Delegate: lokeshvutla@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=in.bosch.com header.i=@in.bosch.com header.a=rsa-sha256 header.s=selector1 header.b=MX5EyoGi; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4G1mGN3NwMz9sWD for ; Sat, 12 Jun 2021 02:17:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3528182970; Fri, 11 Jun 2021 18:15:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=in.bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=in.bosch.com header.i=@in.bosch.com header.b="MX5EyoGi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9D6AB8291E; Fri, 11 Jun 2021 18:15:05 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,SPF_HELO_PASS autolearn=no autolearn_force=no version=3.4.2 Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0627.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe02::627]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 641E681249 for ; Fri, 11 Jun 2021 18:14:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=in.bosch.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Gireesh.Hiremath@in.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GRzs0F0i2C6OOkqyh1zqWHR+1kwICpou42KjaNSgPfStM37tR61YHrgSI5B3OqnKOZN/b0B5S1GxWAQSupGofy0IbZrY2mBBbRkzsBI+Q8fEhCdtyyOOAK2nP2z1B0NX5H5CRzN2ZDze17qHHyiBmkPa+5CB+E/DJblazWfsEbrJhSfEo1oZWQEXLKobIT28NyRbPGWrFk0eeWKB+aHdEGcmf76VZ3qK88OSD9MXz5ALULB42nw85lC1bWGKxwqYdV1HiPzzM2R5aBM9ns0dylitXNd9/+MUzlK0e5QJ7vYk/HiPIi0kHBG5XVCVCKe+4r/D4VOvWI7ICl4fWHPMQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qVRw6td06mKeW44yc9iAcsH8d3rT4QJ1rm20CL3cCiQ=; b=Kf1rKU4T+gXnR/Y2oo0sAyIfGQOflAYR4edfzu5kMojAIPQmdOLKVIu/7I8tFepnpvvGGGX8AjzlKqm1C4kHriERo61GN5MYWXE1dR7SyM/PKv8vyUGOi+B3qh/IoOtq/DP7JzkN2MMk06mtbur2jxNjYFbXi02T26X+ndvqfz1qf0uB6hP0MaB+zHeib7m3OkY7PGyh0Mo28AZk7L4fzbgM5vFkh2Su3GlVq8PxjnHL/Ua31DNMsv/Wj0wvvvgJ8+Z7T1rfuTzyTkxTYklED3TUtm4o1pwnOgb3xChv9OkX6TdnY5Glseldcq2T+SLteD+jqeLN12jxZswojC17fg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.201) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=in.bosch.com; dmarc=pass (p=reject sp=none pct=100) action=none header.from=in.bosch.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=in.bosch.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qVRw6td06mKeW44yc9iAcsH8d3rT4QJ1rm20CL3cCiQ=; b=MX5EyoGih4F47n/4rjcPoqE+l1XPMB4Dj6k3azuqtvgbY/oFp3LStyVCgBeZAFxXGEiZTJFstwWurUYk9uZ6OqI7J5kg0OqPrhvaVUTwgGIuMsqhZyaM13sRwFtg+klPCZDyiNkO1iFCf9vsSPKC3cZUYdJXCO3JWh0XKElCtIA= Received: from AM6PR0202CA0039.eurprd02.prod.outlook.com (2603:10a6:20b:3a::16) by PAXPR10MB5086.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:215::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21; Fri, 11 Jun 2021 16:14:57 +0000 Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:3a:cafe::51) by AM6PR0202CA0039.outlook.office365.com (2603:10a6:20b:3a::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.20 via Frontend Transport; Fri, 11 Jun 2021 16:14:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.201) smtp.mailfrom=in.bosch.com; lists.denx.de; dkim=none (message not signed) header.d=none; lists.denx.de; dmarc=pass action=none header.from=in.bosch.com; Received-SPF: Pass (protection.outlook.com: domain of in.bosch.com designates 139.15.153.201 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.201; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.201) by VE1EUR03FT022.mail.protection.outlook.com (10.152.18.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.21 via Frontend Transport; Fri, 11 Jun 2021 16:14:57 +0000 Received: from FE-EXCAS2001.de.bosch.com (10.139.217.200) by eop.bosch-org.com (139.15.153.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.14; Fri, 11 Jun 2021 18:14:50 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2001.de.bosch.com (10.139.217.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.14; Fri, 11 Jun 2021 18:14:49 +0200 Received: from localhost.localdomain (10.141.230.85) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.14; Fri, 11 Jun 2021 18:14:47 +0200 From: To: , , CC: , , Subject: [PATCH v4 17/18] configs: am335x_guardian: Enable bootcount nvmem support Date: Fri, 11 Jun 2021 16:13:49 +0000 Message-ID: <20210611161350.2141-18-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210611161350.2141-1-Gireesh.Hiremath@in.bosch.com> References: <20210611161350.2141-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.230.85] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 68344dbd-504f-4873-6a30-08d92cf40e5f X-MS-TrafficTypeDiagnostic: PAXPR10MB5086: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1002; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4uTePHSFHnFvKCrno/gkPIVnHQnAdUqS/a+icrAp30YLGN+Ivr1VXU5JL3q4oldp4i4abC8grYeMioxQRN4LOb/aJhC8pHdvDDONiLSLvgxFH2UUHC7++40l7W9/I3iwibU+Po9ixdluHyltxr+YKoKsRE0PXBzcLEB0AS3H9YpIY++osgrci2h7t6/D3EFyriWdWoQBXVxql2kg+S+0CrDux/S74wkqseUR0Z9qHRoks/aCiPhfaD8rPk8DMgWXqigkcJOkuDXP36NlI6Gycr+9uUCN4hnfrh7/7azJoWCltpL3LzYCfsSDiUuFEaCUQI8MyfdJBFMBxZud+/liD3DeJxCokYWKOnTfAhSeU4QKvAa6r4DtCWjIf5SKg6RTM2R/piuFanNdcPu6d97y4RRp44fMoTAPO4q31h9D8DidDBQLzWpz7Ev/Jrz/COlnti581X28lwtV8nnA0T6PCfEKYrOeyY6b6bhjrqYyYIQJk5ROUR0/OcBkQT26OKTtpIc5N9xmc51z8z81iMgUAmKfDf3pxy4Txm2PZp+wjp22vS9TG24dVz4tffGW8wO0fnUC7xgseMvy6ITsP3Vuu8EkMzNXFK2SpuBsfP8vk+Cjof5gT5USraASmD/31BjQ7c5a1rYRmRfMK7rEfPKxrXMxTPpWtm/hPDtp9qJh9ySOQZEWpHxsBOPf9uWg7LIV X-Forefront-Antispam-Report: CIP:139.15.153.201; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(54906003)(8676002)(498600001)(356005)(107886003)(186003)(81166007)(82310400003)(8936002)(4326008)(16526019)(26005)(70206006)(5660300002)(70586007)(47076005)(2616005)(336012)(86362001)(2876002)(2906002)(4744005)(36860700001)(83380400001)(110136005)(1076003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2021 16:14:57.3419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 68344dbd-504f-4873-6a30-08d92cf40e5f X-MS-Exchange-CrossTenant-Id: 0ae51e19-07c8-4e4b-bb6d-648ee58410f4 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=0ae51e19-07c8-4e4b-bb6d-648ee58410f4; Ip=[139.15.153.201]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR10MB5086 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath include bootcount nvmem support Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 38c5c47c16..3dc478d4e0 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -73,6 +73,7 @@ CONFIG_VERSION_VARIABLE=y CONFIG_BOOTP_SEND_HOSTNAME=y CONFIG_SPL_DM=y CONFIG_BOOTCOUNT_LIMIT=y +CONFIG_BOOTCOUNT_AM33XX_NVMEM=y CONFIG_CLK=y CONFIG_CLK_CCF=y CONFIG_CLK_TI_AM3_DPLL=y