From patchwork Thu Apr 22 13:31:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469212 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=85.214.62.61; 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=bWjyvWMZ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz833Sg7z9sW5 for ; Thu, 22 Apr 2021 23:40:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EB3B282B7B; Thu, 22 Apr 2021 15:39:57 +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="bWjyvWMZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4C86982B36; Thu, 22 Apr 2021 15:32:37 +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-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::615]) (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 58A9582B4A for ; Thu, 22 Apr 2021 15:32:34 +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=LIba3+gmH4lD65RH0rK0s2qG2LY3w2w9Wp6HaQ8upDtGKsjhCziWzPykQGZWN8UbB0dpROQ6BjOVAvkuSV18DMr3a7m+MzTUpG8+KMRd3lgQGsiJuvyaJhuaernsvR0wYEbwW2LyuohI6JtwB7l0x92dqxw2K0A6RZa2yIIMOd69a1xtrWZp7rp31BJWs4IuaHZoTJuwqkcX3gkjSRxJ92u0jmeYAF3IS1gdACKX+iVfH7rNnJ1uuiFmnE8iH8xFw98AX9fkyubDCpbQRpNpefz8rU+EaUwMhIWEw2SjnZiJimjBL/Lc2JAJPahmpllquDFXGDt+UWAUc5pUY8bp0w== 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=KjwHD8qlFKOkPmWUKaJkcB+GYs3N5SeIVPXIAT8vuoY=; b=jEZ+vj4nQ4UD6vSeHeCVumrFUWDxezWgg7ed0RRbwv8iSHlD7K0FSrKF95boPnCONMaYANEQYUjr43sxksJ9BuuUmtNp6aJr2dg41XWxkg/3vEh+uVH4AbpKe2qfo+ByHQiN56PLLXdY8ckKH687SuS3eSKsK7Y2s83QsvJjXW4S6oaw4CE1E6hE4RJsh003duUsmawdnFB8iTub//vQPB+5Q/Koo5jCA8xPLyAQiChhSXuo8yAI4kfcpcq5g18YAf3mNrmGS6RU2aHB1T9h79cVWHlaUARiiEBTJ3Na7kfvPfR2Sh7fgINnSe1mtXpFNDjQJGOhUa5yg/7BNBuHCA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) 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=KjwHD8qlFKOkPmWUKaJkcB+GYs3N5SeIVPXIAT8vuoY=; b=bWjyvWMZHimVodeW64s/llPEaDsU1tY59Xu9l+zw1X7RgyMA0i6ePwuCJUt9b2c3d1o1nWUCOqgpEAGdmTyjN8Tvpq4Y8lBs60aEkPHVRhxtlRrqim69ooZHw57YJtjhhHmDOt262DW/eVCtsMCWJRT9xMDDwD3gwHN21PZp1z8= Received: from AM6P193CA0118.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:85::23) by DB7PR10MB2425.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:42::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.20; Thu, 22 Apr 2021 13:32:30 +0000 Received: from VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:85:cafe::a6) by AM6P193CA0118.outlook.office365.com (2603:10a6:209:85::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Thu, 22 Apr 2021 13:32:30 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) 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.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.200) by VE1EUR03FT046.mail.protection.outlook.com (10.152.19.226) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:29 +0000 Received: from FE-EXCAS2001.de.bosch.com (10.139.217.200) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:09 +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.2; Thu, 22 Apr 2021 15:32:08 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:06 +0200 From: To: , , CC: , , Subject: [PATCH v2 01/18] am335x, guardian: configs: Enable clock driver Date: Thu, 22 Apr 2021 13:31:35 +0000 Message-ID: <20210422133152.16231-2-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 99257750-daec-4309-7098-08d9059313c4 X-MS-TrafficTypeDiagnostic: DB7PR10MB2425: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1284; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RhXjzfLGzskbi7ML3+B5vD/SAisLFp8hID1xHFj3slWhpiuM//KE8GHTmZMkDtQl5RRqNahBnBrXmulXfSxD+uxBP12S5jiMd0lMGu3bfp4s7zLWWL8GH4avpV0Q37eGp6+Yfi8o1DLBKstIyIGl6H8cPA3Dd8q3FD52iFVsIBmE5Ekutm9ALKr02Bs/zUsMPA81ohztFrb/dTiCXcl+GNpSupNgE/EDm7XSD+1695BOAenRJ48U6SS4IUxSwJG3lR8Nqb0q9B5HuCQ6yybwNe9EIliJ9UrVx91RPWessXnujflF25JgeKl9XtDdlj48fzl8mBOYPpPKA1RY52j2kq1fClIfi9wTNWvZOZRivuc7t0rJIAq5fK/VsGT2QTCpfg8DP1qXZAI1hY5ket+B8EIPxv9Y3SrOtapihwSD9U6hUqpzTBrDsxxzx5EOtJVVfCEaYqoHpeDTZ0aDgJDbmuo+jvDMunDjdwGGnrGOFoMHLUjUKmyRWVM+M4QGwJze9QFLtUZ93AZt4mTR64lBBmNv0KsFiNMI0UyoaTm2t1IbLq1vdaegxAFtTvd/Qk9B5NuZeVzccV3d7WMIJJu9I2U2/lPmo9aUOjs+0AT0rom//kSXeLWhdIHVMm+mGMwXxw4avtaxOD66hWeMQz97GLBOrBVihLksebychytzJS3nehtvSBSjIRT5inTqsSZO X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(136003)(346002)(39860400002)(396003)(376002)(46966006)(36840700001)(316002)(186003)(83380400001)(5660300002)(6666004)(2906002)(478600001)(47076005)(1076003)(4744005)(26005)(2876002)(81166007)(336012)(110136005)(4326008)(107886003)(356005)(2616005)(86362001)(16526019)(82310400003)(8936002)(54906003)(36860700001)(70586007)(70206006)(82740400003)(8676002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:29.8480 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 99257750-daec-4309-7098-08d9059313c4 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.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT046.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR10MB2425 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath Enable TI clock driver support for guardian board Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index d412311cec..791bbba26e 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -69,6 +69,13 @@ CONFIG_VERSION_VARIABLE=y CONFIG_BOOTP_SEND_HOSTNAME=y CONFIG_SPL_DM=y CONFIG_BOOTCOUNT_LIMIT=y +CONFIG_CLK=y +CONFIG_CLK_CCF=y +CONFIG_CLK_TI_AM3_DPLL=y +CONFIG_CLK_TI_CTRL=y +CONFIG_CLK_TI_DIVIDER=y +CONFIG_CLK_TI_GATE=y +CONFIG_CLK_TI_MUX=y CONFIG_LED=y CONFIG_LED_GPIO=y CONFIG_MISC=y From patchwork Thu Apr 22 13:31:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469210 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=85.214.62.61; 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=FDdjecYb; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FQz7Z1KHnz9sW5 for ; Thu, 22 Apr 2021 23:40:09 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1D70582B5B; Thu, 22 Apr 2021 15:39:50 +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="FDdjecYb"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 39D6682B4A; Thu, 22 Apr 2021 15:32:29 +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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20631.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::631]) (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 CE4D782B18 for ; Thu, 22 Apr 2021 15:32:25 +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=V/rEpn7M5cM9M1A+xaj9I0wM3hhLG4BwgmnLEUzHbj0GcQoisMcWSI5VdN8UKxVE9gzLixqE2LinrpJ4+RGCKUk7zNt6oiGop1dUPn0QQlURi1U8vsBYDWKwrWDqeYbgS4y9EEPS0io0oD2IqRH9V4gBT+nnd6fgozdLpph53fG65YG5CB1gSa4nksEFM4naMTpKzDU754+rA9/Q53ezPE42I6aibv2Ixa9svjlSncfQx89bfIo1WX505KkyAvleN47Jqelbdg8zr6IOH60y9MVq6I3eaVhiDyTijp1adwoM3jsnexcYJ48EpDtl2fIHJFnBL906oSImnlbPyII9pw== 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=WM9G6EOuVPEE8CHJCXkzcN4pxQ0qavvlmp0HgFc9uKc=; b=PuRfb2GR7eihaIfmuTxjI2AlLq3NQGd+gE3u2/LYF4ixcY/5dv1ErAe5RT5X+C6CUFKsZd44KOOPsxqQZoZ5tLFbJF7Mvehgk5R83lceUzt1uGdXemWqtRoiC8qPS5YE4UjI4giBcEYehzirKZpEnWenlDIDjbkHU5UysMhaGSkLH5fZ1Z0/QBwHl6ZFJMpLEmd8s4HipgmKOwDfmMNwZo1kVTkdoNwTKzibj19TYuMkQ+eSGt7ruKOWNnFCYEn6d+S82GoZF2d77qiwOCLdIvHOhmApiMVHmzsEhsmzH4fGvhUEqCTDv6eEO76g1/Rp+CLCf16VFlKbDH3dHvlsog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) 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=WM9G6EOuVPEE8CHJCXkzcN4pxQ0qavvlmp0HgFc9uKc=; b=FDdjecYbW8zc/ybixLkPfIaz5xbp/rKTmBnrMXepVYWlHvoKgGnX3gcKyGZWD2FWaURhsJrTR31wsIonlr+8Ilt8hTyVpezK6PZmtZDScX69s1Zi0FHzED2Z4hyb25fZLjobJ/edZlcr7wa9xsHMeCLa0878fK3wucRMF0w/9yc= Received: from DB6PR07CA0200.eurprd07.prod.outlook.com (2603:10a6:6:42::30) by AM6PR10MB2152.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:47::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Thu, 22 Apr 2021 13:32:18 +0000 Received: from DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:42:cafe::ee) by DB6PR07CA0200.outlook.office365.com (2603:10a6:6:42::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4087.17 via Frontend Transport; Thu, 22 Apr 2021 13:32:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.203) 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.203 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.203; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.203) by DB5EUR03FT047.mail.protection.outlook.com (10.152.21.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:17 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:11 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:10 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:08 +0200 From: To: , , CC: , , Subject: [PATCH v2 02/18] am335x, guardian: mem: Add board dependent mem values Date: Thu, 22 Apr 2021 13:31:36 +0000 Message-ID: <20210422133152.16231-3-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0607bec4-6b78-42af-8354-08d905930c9f X-MS-TrafficTypeDiagnostic: AM6PR10MB2152: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yw3Me1tWbvM/JrOvqgCdvZFCCVxEFNofZ+cO+lX+S+rKvQhrNEj0pKOB8X/qKo/EgUQybpWsPrz8NVg2t699jVq2jMUivkfr3UH93ICaD8xmQZ8MuhEVYH8gOwHDJhMliPLhen/KWO4/4cDUjGPQV+tPiR8rAq9WmzGzfVuKWccZiy/jYaHv8IVPf/4Me9n+XRGistkq/gxOzTLDb1Nozej2EHbY/K34SEBcMfX9DM/zg4CjSFYokGExz2Bbchi8rd6pS9J88Cc4VGNjc5YIAGhiP+7QqhqV0KmENcnmDWc/XF/8nJ9R45cTICXeetc6PFauB5dqPlUpLLo+x5S19qT/k3LDB7HZMW5105guwNF7VMwtoHsB994GBhkMQ0aV/n21IZhr9bf2CR58TLHYbIYq4idvq0uHEoJmT9Q1dPq2Mbc6xPGzuLWb0XO2TjT26cVv2HyPyay+tHFX46oc5PavvZx7pER25vkE7zhEqYo1hPJqn0Q5y5/fRxODduFINLyL9REO2+hVf4vvwbURDhGmgISG7SBFyazYeaJxHXyd5Do/b7JE4jqG85PATW5+Ap8bSgFf/qnFN63rtEAdWHN0h/sLtWDl7wYs1R+nkF5VW7aPLyLook6EsC0equwfsMKjXJVnFAzOIIuhi0mm0G+5uhqPhU3hvwJj7saF83PW+quKc97KRkjAP2I6dRlSpEYBWQGK1Nwr3NzPf4yUNL/bfcDc1WATien268LnLERL5Z3ILiVGnHmsC1w7YbT5nQRfu2G322mRDK63IlOSuA== X-Forefront-Antispam-Report: CIP:139.15.153.203; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(376002)(346002)(136003)(396003)(39860400002)(46966006)(36840700001)(53546011)(1076003)(47076005)(316002)(186003)(4326008)(26005)(5660300002)(82740400003)(36860700001)(8936002)(82310400003)(2616005)(81166007)(356005)(478600001)(83380400001)(107886003)(110136005)(54906003)(6666004)(86362001)(70206006)(8676002)(2906002)(70586007)(336012)(2876002)(16526019)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:17.8704 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0607bec4-6b78-42af-8354-08d905930c9f 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.203]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT047.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR10MB2152 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Moses Christopher - Add mem-guardian.h derived from am33xx/mem.h * Add GPMC config values optimized for Bosch Guardian Board * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA Signed-off-by: Moses Christopher --- On 06/01/21 9:01 pm, Gireesh.Hiremath@in.bosch.com wrote: > From: Moses Christopher > > - Add mem-guardian.h derived from am33xx/mem.h > > * Add GPMC config values optimized for Bosch Guardian Board > * NAND Chip used by Bosch Guardian Board is Micron MT29F4G08ABBFA > > Signed-off-by: Moses Christopher > Just wondering, Isn't NAND framework moved to Driver model and Device-tree model? In that case, these values should be obtained from DT. Thanks and regards, Lokesh Hi Lokesh NAND framework doesn't seems moved to driver model so we obtained values in mem-guardian.h Thanks and regards, Gireesh Hiremath .../include/asm/arch-am33xx/mem-guardian.h | 63 +++++++++++++++++++ arch/arm/mach-omap2/am33xx/board.c | 4 ++ arch/arm/mach-omap2/mem-common.c | 4 ++ board/bosch/guardian/board.c | 2 +- 4 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 arch/arm/include/asm/arch-am33xx/mem-guardian.h diff --git a/arch/arm/include/asm/arch-am33xx/mem-guardian.h b/arch/arm/include/asm/arch-am33xx/mem-guardian.h new file mode 100644 index 0000000000..e864a0fd36 --- /dev/null +++ b/arch/arm/include/asm/arch-am33xx/mem-guardian.h @@ -0,0 +1,63 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * (C) Copyright 2006-2008 + * Texas Instruments, + * + * (C) Copyright 2020 + * Robert Bosch Power Tools GmbH + * + * Author + * Moses Christopher + * + * Copied from: + * arch/arm/include/asm/arch-am33xx/mem.h + * + * Initial Code from: + * Mansoor Ahamed + * Richard Woodruff + */ + +#ifndef _MEM_GUARDIAN_H_ +#define _MEM_GUARDIAN_H_ + +/* + * GPMC settings - + * Definitions is as per the following format + * #define _GPMC_CONFIG + * Where: + * PART is the part name e.g. M_NAND - Micron Nand Flash + * x is GPMC config registers from 1 to 7 (there will be 7 macros) + * Value is corresponding value + * + * For every valid PRCM configuration there should be only one definition of + * the same. + * + * The following values are optimized for improving the NAND Read speed + * They are applicable and tested for Bosch Guardian Board. + * Read Speeds rose from 1.5MiBs to over 7.6MiBs + * + * Currently valid part Names are (PART): + * M_NAND - Micron NAND + */ +#define GPMC_SIZE_256M 0x0 +#define GPMC_SIZE_128M 0x8 +#define GPMC_SIZE_64M 0xC +#define GPMC_SIZE_32M 0xE +#define GPMC_SIZE_16M 0xF + +#define M_NAND_GPMC_CONFIG1 0x00000800 +#define M_NAND_GPMC_CONFIG2 0x00030300 +#define M_NAND_GPMC_CONFIG3 0x00030300 +#define M_NAND_GPMC_CONFIG4 0x02000201 +#define M_NAND_GPMC_CONFIG5 0x00030303 +#define M_NAND_GPMC_CONFIG6 0x000000C0 +#define M_NAND_GPMC_CONFIG7 0x00000008 + +/* max number of GPMC Chip Selects */ +#define GPMC_MAX_CS 8 +/* max number of GPMC regs */ +#define GPMC_MAX_REG 7 + +#define DBG_MPDB 6 + +#endif /* endif _MEM_GUARDIAN_H_ */ diff --git a/arch/arm/mach-omap2/am33xx/board.c b/arch/arm/mach-omap2/am33xx/board.c index 62178f1e70..4bf0535e3c 100644 --- a/arch/arm/mach-omap2/am33xx/board.c +++ b/arch/arm/mach-omap2/am33xx/board.c @@ -23,7 +23,11 @@ #include #include #include +#if IS_ENABLED(CONFIG_TARGET_AM335X_GUARDIAN) +#include +#else #include +#endif #include #include #include diff --git a/arch/arm/mach-omap2/mem-common.c b/arch/arm/mach-omap2/mem-common.c index 50d5f3e9eb..2dcf0cf9c3 100644 --- a/arch/arm/mach-omap2/mem-common.c +++ b/arch/arm/mach-omap2/mem-common.c @@ -15,7 +15,11 @@ #include #include #include +#if IS_ENABLED(CONFIG_TARGET_AM335X_GUARDIAN) +#include +#else #include +#endif #include #include #include diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 113838f8b7..9429454a74 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include From patchwork Thu Apr 22 13:31:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469214 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=85.214.62.61; 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=alY2T46r; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz8c0gXKz9sW5 for ; Thu, 22 Apr 2021 23:41:03 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 67CC182B88; Thu, 22 Apr 2021 15:40:08 +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="alY2T46r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 58F1282B43; Thu, 22 Apr 2021 15:32:43 +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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20629.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::629]) (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 1443882B4A for ; Thu, 22 Apr 2021 15:32:40 +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=cKZNsOb8FFdDnImzLOJHQKw+6BWd+vdhL60BrnOtqFn0S9U2dNmvJFiYnghuR8OMmhRMT0fyBaWTnaY22zj0WwI7y1GXxJdyeKc6I9wiUhJidW0D1PtuGOE0RMuD1ouC86WSU0smuaSJUyWeDOKK/jtkYur8PjctJ0/nOUFk7enyuN7SZV8D6ff4Y01AYUAwzBDGOiP7VF8WuB606uq2G0w//DHKQCnFNBfsnFosWwwmeAEFf+4mCZPbG+Q9aBqiVTIbxjz7jHJv8UFx31o6w3QBc0nfpwjpmJcVVSniIhRW8K/j9N3iWFtw32arwD6B5ifAeQCa+UD8krDlGCPFyw== 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=7KvUiFxcxoZ4WexUbDGzLTCmaXJP2JdKKc7wi9ywX/w=; b=k3PWAvlhbPfB3zDaaX+AeOawMiCuMMOBBRHx4UebOVFfGllClpMNAh/1iJLZCHO/WVYOK9z1WB4Rg/a2BYeBHZQr0X6K9Lq8UGBO47qX2jQLmowx884N2FrIAEw5uwDMUskblyVWOyiFDbJhsREUf6rDBt8LD2ucu0NMRsiIAyeErzdPAa54ZESocGEsiscCHeIiS3L5/DsbXhB7B0XOocVSTJKpFuErvkIf7PVdPrJDgMVLmBiHyNO2ZkLuvFZH0o+xrGTa4GJu6hbQDWkXD8SJZ3pznWo7WUnFYHFYTE4iE9bsrsq+RUa4MZYuNUIsBW7M65spTfdQMFbyvxFkMQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) 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=7KvUiFxcxoZ4WexUbDGzLTCmaXJP2JdKKc7wi9ywX/w=; b=alY2T46rDpWENUvsnJGdUTZPoO46HrvJt/cdS38XrFLns/mcBk8RxvL6+ZusmfNsXPN1nfFxpfZukZKmFf2GDmBVXsart6PUIwdpRYw1jLvo8by6DOp9dPCV+lrYbyVW66osqefCpwRZ+XBbBOFzTgBZukbEiSh5gLDZxGeHcxQ= Received: from MR2P264CA0108.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:33::24) by HE1PR1001MB1132.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:3:75::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.20; Thu, 22 Apr 2021 13:32:38 +0000 Received: from VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:33:cafe::31) by MR2P264CA0108.outlook.office365.com (2603:10a6:500:33::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:38 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) 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.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.200) by VE1EUR03FT011.mail.protection.outlook.com (10.152.18.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:38 +0000 Received: from FE-EXCAS2000.de.bosch.com (10.139.217.199) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:13 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2000.de.bosch.com (10.139.217.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:13 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:11 +0200 From: To: , , CC: , , Subject: [PATCH v2 03/18] am335x, guardian: configs: add ubi fastmap support Date: Thu, 22 Apr 2021 13:31:37 +0000 Message-ID: <20210422133152.16231-4-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e0545dca-841d-4381-5090-08d9059318a4 X-MS-TrafficTypeDiagnostic: HE1PR1001MB1132: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:203; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Nafc9eAoyQL6l/n/HwjivEbs84c2MrvzbBcFTPSU4vhc/MbGZFuS7ze9R7KMf4Z85wEGAA93ZRskXbp8Sz3nPAkbb9ciqsL3qbMJZPCxi/OlDmprxKfhdCMPqiubkB4gNaJ1gaQ6xYpOdPibXLVFdzmVZe/c0mrMLSyo8vq/uPbjpZDMJ/JULKG8J4ORCBOQBu5wY+OGFwhbHn3YNnZX/xyGQpcZGx2Mhp4c7jq0eDbRfaLTq71dfF/55QzxxffMNPEOloDMv9UDVaNSdBr2w3OzigZo9bp2csMEFcOa+49/39CtjKGDNUhAQC4QTkJZwlCC/LyC431ygoroI6KDuz4ULWBAMv/cUefOrAAmCZj52ioiuZhj4N22xoVhH6MzK6XsF7SEwcM5LkU2vklB5iwThWm7qF3MfeYRmNQS9WeWVEahqjk0yxJpz6mJo2hPzoIJVRlzPQPOTBdFSJTNmmOMi+u8CTeagM+3o1PJNQ73YQwwwRv+10MWo/LCyn7ToCnk2F+HI8r9iN/Skr96qYUpEzkEAaRDlpgwphrlPQTTKpbxVceNo9N2rDisz5AXa2fMS3dLuHS5CIIov4uB6Ikw9Z4MWiH52nAVBo//duiyebNzpuJ8/gymHrB4FYLLaSx6owgN3hx4O+j1tFyYLsdeQhNwh3M4gMfBOfs6kb/Z4JWxJcmJ3Oa9pN98ulaA X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(376002)(39860400002)(136003)(396003)(346002)(36840700001)(46966006)(2876002)(4744005)(107886003)(8676002)(2616005)(86362001)(70206006)(336012)(36860700001)(478600001)(8936002)(6666004)(82310400003)(82740400003)(2906002)(81166007)(5660300002)(54906003)(26005)(356005)(70586007)(47076005)(316002)(4326008)(1076003)(110136005)(16526019)(186003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:38.0289 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e0545dca-841d-4381-5090-08d9059318a4 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.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT011.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR1001MB1132 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - Trigger fastmap automatically 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 791bbba26e..a96cdf734c 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -87,6 +87,7 @@ CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y CONFIG_SYS_NAND_U_BOOT_OFFS=0x100000 CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x200000 CONFIG_MTD_UBI_FASTMAP=y +CONFIG_MTD_UBI_FASTMAP_AUTOCONVERT=1 CONFIG_PHYLIB=y CONFIG_DM_ETH=y CONFIG_PHY=y From patchwork Thu Apr 22 13:31:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469211 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=Ob2Eiweu; 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 4FQz7n6FTHz9sW5 for ; Thu, 22 Apr 2021 23:40:21 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 10F2082B65; Thu, 22 Apr 2021 15:39:54 +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="Ob2Eiweu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E6B3B82B43; Thu, 22 Apr 2021 15:32:30 +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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on20600.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::600]) (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 03BF382B36 for ; Thu, 22 Apr 2021 15:32: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=Gireesh.Hiremath@in.bosch.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bpO+7UyBZmc+o7CK0/lb4+2tr1Ev41j5w42WSbKEmeX90mqcBWqQpQpJQ+pzBHNNRnYRVux8bJ5KjkdLPaRA96lRHbHzGvBUBmjdXt3tqIwgOpc+T9h8OWTYsId9sI55BB1aULcmeorYFtaYl7fMZUKlel5LUTk57JI/GIkAdsLxmBTLZ206CVro6TXC9gFq3ehyuCWfGykLOdOw/w6mADre0sC9ZQL9jz36sxIddurIs2T7fGOCWcoXTpTbBH9d/45FUMYN0MZZFjVTguGJEqixaJ6CO8RNaEWjFyl3cmnhPZhPQDeqLCGNK/KuaRbhbT2GX4ABq/rtwShUTS+dvg== 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=835FPiBJeZZZeuuxAQbMSu315LvwInA6FmhFjjoY+tA=; b=jicL5CuX8s7/3Pou3Y3tdlfFOT7NZZksCh4ESZ0yiNbm/MASaMQU2+AUL0yQxoBL/iNkcGsGczACNXMd5TBZHdoYZiDD1xEEINNxSIiR8quJrThQUL/VyUoWubK/jhQ9y7ZXuVW1sG++BUOutZ28jiVhkH6gQNsbEyMXAsX+jsciCwCCbNwfdR9yxa4bFUYXOR/3Z5LiwScmf4NG6bne5pZDlTbNT2mzy+Rv5ffTsyj6qGQMy86f+R5YlOaRMRUZz9cmdB2UZSsJ5IcBh/FvxBE/Y4NMyniDPywXQZ1o1fi9ztkJW4BYHoPqGxR4FW0xu0Kfg3Yl4p7jQxHbbVEpaw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) 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=835FPiBJeZZZeuuxAQbMSu315LvwInA6FmhFjjoY+tA=; b=Ob2EiweutoGJUKPDYbKZpGGuuNZcLgGcSGAMyOxiT7oFnec3aN/A3ejuljEHDMjea/0bGG4t+0G+fDNkBOXd23lIQWKbqcCBCzMSdl/3RGESDFGWH9SzB9wLNQdGGVEzA+zHIHubvTc68ihksJuYJQq2b5mdppq6JMm62RTiaoU= Received: from DB6PR0501CA0031.eurprd05.prod.outlook.com (2603:10a6:4:67::17) by DB7PR10MB2041.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:5:3::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Thu, 22 Apr 2021 13:32:27 +0000 Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::a0) by DB6PR0501CA0031.outlook.office365.com (2603:10a6:4:67::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 13:32:27 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.203) 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.203 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.203; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.203) by DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:26 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:15 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:15 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:13 +0200 From: To: , , CC: , , Subject: [PATCH v2 04/18] am335x, guardian: set tftp_load_addr in environment Date: Thu, 22 Apr 2021 13:31:38 +0000 Message-ID: <20210422133152.16231-5-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3274f095-adeb-47f9-ba2a-08d905931178 X-MS-TrafficTypeDiagnostic: DB7PR10MB2041: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1303; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: swwYGZ6rbHjgPNpC1++Q6PzcyIHIKwafT4tIP66v/Gdbpoy5wItRQP+p5vjYt8BVL+dvENq67NX4R15609L0iCTSirF4VfMAP+yWeL5oyXUsfN8yXsuzlnhMsp3flxXzPySkGitRDEzLh0/n+JGOVLQKUrySX0ZKG2SNNjZ0z94eDfYgUyay5RRsxPdfZN2VGEa7IIGVNvDEZEVjZ8LB87AgYcfgExsX5IQnm5eHvDvTk2O4yg4aZqtzGpeINYLJv+k3Uqc49v02m85r0yUY+/eKx3EjJEOHtMvSJXuxwplOKICOtkBcGiiNPDK7cEdLcdmSJcw8lx0U4kS3DGeq3KOKmDgL4LQwozTkzExMnBvjswxyl/lV5lZSAiUsD41SKUulkDsHb4ZtRoGiDlJiyIneEBbl9hgjFHYi+/J6qgz5oUGNlWvagntDbQb6jjy9zkqqEDA7xwDzMDCoiY6vuUjCjiUlxAt+PrW8YmZcYbuNgx7iEhdPb+ZvmmmvdUbr4j3R7NoY/78CEFGGNLjgfWGpFTGc3x5DDlZwS3gPv4EHJCnAg0/DFMn0QQrNaR+ndp2tJJnH8s8/FszQ3OcwXSL4rMAKnxDZrLgHh8H3y41vXYFdUnkDDVB4OmTFMYQangvSvPVUuWKUcFmtBfbD5wfxU3e8W5W68oPi2xUsMCoV+wDVDR4wGsC63tpOYdf2 X-Forefront-Antispam-Report: CIP:139.15.153.203; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(396003)(39860400002)(346002)(136003)(376002)(36840700001)(46966006)(1076003)(36860700001)(4326008)(107886003)(54906003)(70206006)(356005)(82310400003)(2906002)(5660300002)(16526019)(316002)(86362001)(8936002)(2876002)(8676002)(336012)(47076005)(4744005)(110136005)(186003)(70586007)(82740400003)(6666004)(81166007)(26005)(478600001)(2616005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:26.0032 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3274f095-adeb-47f9-ba2a-08d905931178 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.203]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR10MB2041 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Moses Christopher Set tftp_load_addr to 0x82000000 in MEM_LAYOUT_ENV_SETTINGS Signed-off-by: Moses Christopher --- include/configs/am335x_guardian.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index c34c07a493..fe36e34c7d 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -29,6 +29,7 @@ #define MEM_LAYOUT_ENV_SETTINGS \ "scriptaddr=0x80000000\0" \ "pxefile_addr_r=0x80100000\0" \ + "tftp_load_addr=0x82000000\0" \ "kernel_addr_r=0x82000000\0" \ "fdt_addr_r=0x88000000\0" \ "ramdisk_addr_r=0x88080000\0" \ From patchwork Thu Apr 22 13:31:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469217 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=85.214.62.61; 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=HqS+NtmW; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz9N0rLvz9sWD for ; Thu, 22 Apr 2021 23:41:44 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C592282BA0; Thu, 22 Apr 2021 15:40:23 +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="HqS+NtmW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id CCE4B82B5A; Thu, 22 Apr 2021 15:32:49 +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 EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7d00::60c]) (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 78DAB82B4A for ; Thu, 22 Apr 2021 15:32:43 +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=fajaf2oiNVGEjewN5F9y+qGFwvWHSyYK3LQXOlbBDMVmd4KR9yarLjzVwL+hs9Y15cpaVvnBmRtRhM5s7l5vyKb2/6y8mbXkgHvf7QZmO/7SX5d8B7f6uAYgOfvIfZXBrGC9h3/z/NmbDDE443haGbGiM1SQCjtLg8Kwc1Rabf4n/sPMrgqeqZ3sE6To9qmhM+KSH/6+ZFKVmXdMHpE8VvgO/koH41hJG7EQeo8sbV4biqBzty55ZPLegSWajjkXEF318wlGt8ZepX7U0eAEDWxMXASsQV+vG0veeagHAibMXJmeedmJvKlvqC9kuKy+i+RrU7ZEBjE4B8dFTA/YFg== 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=tGb8nUOs7G1iz3U17LhDnIDWJiNzciF+3GJHoEvob58=; b=GRUO9MSlCFjX3EQHjDE/0XlmFaoJ9E5rpk/WSMtwSY8xFYOhM1+/9ms79Wgd3q8nf/SkxD1cH09nbnVjlogN2S7bF4nPrzuwbidcNfEj4UjlNiN3GTxcmLuZQblf604rVF3ZSq1Cin+OAIoocpkT8m27m5noGMoSsF0Qx+gMA35sq+66egCsscIQmRNaP0ZH8xWswRtA/Qhhq6joNqrj03eVOlOFnNslQwbhnymBJG58aRx5yi5Pu1x6JT9GcTCZC1sQT/UuKXwZ3Hxmtp8LKd/CB9pd8b6QCsTzOHBvqTGsGQuNMqvNHp/x/7lUBcOAZPFl/p69fRvEsAfEhUU5iw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) 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=tGb8nUOs7G1iz3U17LhDnIDWJiNzciF+3GJHoEvob58=; b=HqS+NtmWk4QtPsYlpaH5YJywOCIgCdMAaitGDpDXane9+TEzWRAzFZQz2nnHcBGbrXOyWne9B3yf3i2PtrxjvBysG3I34npi34jNV6tyNrUJtnUtW4lv+AZhR1LGxCHgF/1857RPWDYYNd83k+11npsQPRsWqKWa5fLuDpBa6LQ= Received: from AM6PR10CA0093.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::34) by HE1PR1001MB1017.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:3:73::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Thu, 22 Apr 2021 13:32:42 +0000 Received: from VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8c:cafe::a2) by AM6PR10CA0093.outlook.office365.com (2603:10a6:209:8c::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Thu, 22 Apr 2021 13:32:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) 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.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.200) by VE1EUR03FT026.mail.protection.outlook.com (10.152.18.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:41 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:17 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:17 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:15 +0200 From: To: , , CC: , , Subject: [PATCH v2 05/18] am335x, guardian: configs: cmd: add memtest configs Date: Thu, 22 Apr 2021 13:31:39 +0000 Message-ID: <20210422133152.16231-6-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1bfa2845-934e-4d88-23b4-08d905931ae3 X-MS-TrafficTypeDiagnostic: HE1PR1001MB1017: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2449; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EXGRvV5Hz1DK3RIrKtCnWT9sMpC6OhK6ZrliX/AFPBS3mhIjEdC8GiPOgLbTEboxiFijdZ7auPsMwMcYpRhmcQADSHkTpDJC/gvcV6/5Xux5N7nC/5ULi0VIyIptSuESWFTAEmbONQOClAg4VhwwxqOGBBKmKhAJvPmiNOD/qniggqgxi0s/H1sTXKjl0NJsfqCJkKU2ZrscsGu4RTBo5oEHsZT0Q2yEhDXM14TJOMV0lb9UArKj/McLdLIeK3Iv1WVgmZmFwZumTrAMsgECk11ynVroq6IRR+JFRA6HQvqbe7qJb1LX3eTYIvp1lrmZYJ9ElRFUAFJibYDBP634RJeMGo/AlbcMYGueaYpyHR8DlP+w2CckDo0563p6+um02NslqoisWNeDR+0cAU4ZgbuS13LvmITO1aNESOn1pAsWA3o54tThQKlbr+3z5fJNY2FBgNs5yDqB6Q5WDrTM9reatJjg0X9A1uM+I9hx9fMehNyyx4Xx9/ylkR/PcL/UwVzBvRigHOfgreDV6lwxhM0jIbBSrNbukeBGi93nBkGY0D8dK0L5Qn0kzZ48rFdMy6MlQUQHA6+pbUcJJrAi6BunSYt+bdfqRDf+PN7Oe3lSVXBe/Ga0PMLdJ/hkOi8r9UUzARVwQ+3jNP6o28SlePn1J9J9+lXeidMkF46sCCCsVMM9LAVyaiRXDIOXWTNk X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(396003)(346002)(46966006)(36840700001)(86362001)(110136005)(5660300002)(2906002)(478600001)(82310400003)(16526019)(54906003)(336012)(4326008)(70206006)(4744005)(1076003)(70586007)(8676002)(82740400003)(8936002)(186003)(107886003)(81166007)(26005)(316002)(47076005)(2876002)(356005)(2616005)(36860700001)(6666004)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:41.7971 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1bfa2845-934e-4d88-23b4-08d905931ae3 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.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR1001MB1017 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - Add mtest, meminfo commands Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index a96cdf734c..2ae7507eff 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -43,6 +43,8 @@ CONFIG_CMD_SPL=y CONFIG_CMD_SPL_NAND_OFS=0x0 CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set +CONFIG_CMD_MEMINFO=y +CONFIG_CMD_MEMTEST=y CONFIG_CMD_GPIO=y CONFIG_CMD_GPT=y CONFIG_CMD_I2C=y From patchwork Thu Apr 22 13:31:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469213 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=85.214.62.61; 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=W1modpOx; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz8K0Bwlz9sWD for ; Thu, 22 Apr 2021 23:40:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C977B82B73; Thu, 22 Apr 2021 15:40:00 +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="W1modpOx"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BF12B82B51; Thu, 22 Apr 2021 15:32:40 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::619]) (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 DE0BF82B18 for ; Thu, 22 Apr 2021 15:32:37 +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=Lizq2s/eoJN8zFJfdC3l075uiuUGIbZIcrYpBzspJlSLs0Je3BPeUdlb7Kle11FfqztSBHFB9xNZCKeSC5yzRsZjm8YdHbYVo/T5pl+nukKsrqvnjezRKHlOgE8kljdjTAVobY3J8kQpaTEjpxIzabEDQr8hf9Zja1DUAj7cXvIuXX6SMcqcxaSg6AakTLMsc27d/fp4tE+VowBamYrzzGIZQph5WaQ+OQpClq/x7S3F7tD0AWFt+EjhYY7DUZRecJxCa7D8O7ibDVAYCt8Z3wqgPg168DwTOOr3CdCnpff0Gyq+07NU5Q4jb/wawyXM76svtyl8z1czLB0w8hbBOA== 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=qUXobDhwRrR4yI7Fn2tSa1AE6z33n1Ludg4lzYJ8wWU=; b=LcdeUtflAoFW0//dZ22c3bUWXQ9khr7ConfGqjXnU25w/FahhiAN2exdKcYvMvIC7uCKqDPT0v5wdqUt5g6BUoOpep4jPiOuQ9DSzba6uw7rxOyBcbgpdlE8HRpyPpZBMSYxFWLf4iGPhxMxK2JzzwK6Ea756IeTZ4H1QmgRLn2PxblfXX0OtG/VVBJh8jR5m5/hj3h6/SK1Hl+IERGdC66vQSfMj3UYAYIhwZW0Oc2c1sP1PXcsS8psDvSdWeNq3TcBYUFBoPm1jPB72v6TUL9qicXdY9NU9vl2TxiGUitlrRDskM0Q1yNMfcjFIGHkEWyDSEEiEcPiYWCRseoatg== 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=qUXobDhwRrR4yI7Fn2tSa1AE6z33n1Ludg4lzYJ8wWU=; b=W1modpOxZGpecfwzXnt+8gse/QzfK+cODby+Ge+fNTBLAShS8OOaHILokd7j0gnnLRMvPhxNty7iXyV6oO/Gq5HRrRyCMHYCcQ60trbbBShO8ecQP7jpnfjTX8qCJOKRqAB+ZID5qkWriD+nJQaXf31LsJukQjAvaBEMLYw4DkA= Received: from AS8PR05CA0010.eurprd05.prod.outlook.com (2603:10a6:20b:311::15) by DB8PR10MB2874.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:e9::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Thu, 22 Apr 2021 13:32:36 +0000 Received: from VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:311:cafe::bd) by AS8PR05CA0010.outlook.office365.com (2603:10a6:20b:311::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 13:32:36 +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 VE1EUR03FT005.mail.protection.outlook.com (10.152.18.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:34 +0000 Received: from FE-EXCAS2000.de.bosch.com (10.139.217.199) 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.2; Thu, 22 Apr 2021 15:32:19 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2000.de.bosch.com (10.139.217.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:19 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:17 +0200 From: To: , , CC: , , Subject: [PATCH v2 06/18] am335x, guardian: add memtest address range Date: Thu, 22 Apr 2021 13:31:40 +0000 Message-ID: <20210422133152.16231-7-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 24e01460-5e4b-46fa-dafe-08d9059316bb X-MS-TrafficTypeDiagnostic: DB8PR10MB2874: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:2399; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: XmLM8ykn6hb2NhNxQtgQFTsHmuYL5rYVrRrf2a/0yPUQXzp2riK7Fk6KO3j9IexvK3bV2YLKn587Y8ihavyrEUpnD6W0YpRCrtYzpc9V00G3zzy9Xt020wG4aaFRSi2z2FCR12WTUC0T2vxXxzVIKay/Zu5a5eOdEFE030tcJMOtoHL+XCS2oqkJ0djAkGqVPvyJF0QMKe176d9D6LnFROvzw55x4/5eS7IpZZp7mI1TttJ75iACUilS5Lx8xuacZfAa8pRzp6ljB5MbwgtiXtEvzkx03QcYxeJWzo9r4lsUmhU6RWpJTYT1SpY4SIB8cViftLyE8LQ5mCdrDjWHaVpCKMwCc5KUn7uWIxwXlNzNT1EmtCsU5vX/p8BJJFMo6OftWnzyFVNpsooh1N84ZbLDhyRPHWPdw2XyVubW7kYZYSjFMp6jS3qAwMVxL6XnA06u9tpMosSP/2tQcajDmrCmUFueUYMrS+H23xM7y9VX0s9XUaTOIEcvOCVjajHj/AOVKgIzXEcuem34qx6UnP/HI7efZog52LDt8g1Obvn45eeQ0GqkeRufObGgqIs65tv/Srv9tdpUzgr9XusbkEyhOpaChrVG4Dg8K5YSrRimniHHYYkkwA90sWfZH78F1/lDyvv/xCrApSteDaXHoI5beRyZxR4zRyEaa2EAKsp7/+Az1QAun3m/1TaJlQza 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)(136003)(396003)(346002)(376002)(39860400002)(36840700001)(46966006)(47076005)(110136005)(5660300002)(70586007)(70206006)(186003)(107886003)(36860700001)(316002)(2906002)(82740400003)(8676002)(4744005)(54906003)(16526019)(4326008)(2616005)(26005)(8936002)(1076003)(86362001)(6666004)(2876002)(83380400001)(82310400003)(356005)(478600001)(336012)(81166007)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:34.8337 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 24e01460-5e4b-46fa-dafe-08d9059316bb 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: VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB2874 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - Add default mem start address as 0x80000000 - Add defauly mem end address as 0x81000000 - Implies default test runs for first 16MiB of DRAM Signed-off-by: Gireesh Hiremath --- include/configs/am335x_guardian.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index fe36e34c7d..acf4d4ab65 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -22,6 +22,10 @@ #define V_OSCK 24000000 /* Clock output from T2 */ #define V_SCLK (V_OSCK) +/* mem test config for first 16MiB */ +#define CONFIG_SYS_MEMTEST_START 0x80000000 +#define CONFIG_SYS_MEMTEST_END 0x81000000 + #define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG #ifndef CONFIG_SPL_BUILD From patchwork Thu Apr 22 13:31:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469219 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=85.214.62.61; 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=Md5gLWOf; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz9t4wZVz9sWH for ; Thu, 22 Apr 2021 23:42:10 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 38FF882BA1; Thu, 22 Apr 2021 15:40:35 +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="Md5gLWOf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 50D5482B55; Thu, 22 Apr 2021 15:32:50 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0630.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::630]) (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 2F23782B43 for ; Thu, 22 Apr 2021 15:32:46 +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=g+lu+3UmvdLq23NA+epz9XjkwH1zRa0CRc3s4T3ouhec0mtn1aSNb2SBD0NBCL+ex5uPAk7XS9f+IUXmBJ3wbW4rJJ4oAvyGsCTsXCVRg1mykwkqBfMDPitqGF0pFJBMzCh/OFJYYZRx/PIEpkYEL/nntzVsZ6eIw86Z3GVdV+MV6GmKSUF0vnWcXj0BmczkB+J+xtjunpz6kXM/EAfk3NrkbiU2Oj86XJfJ2mvPUGl3TDrNWDqGcFPBXgxWCBTuobZylgfIUv91Us1QpJQSKpeuIiRuiwx7K4H0xgAWytNVyRcf2BRSzIziS1JEJgXO29hxThIKUdDaW7CpC1Fxhw== 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=dydb+5ZrsKPz0RMWENbXs27r+Qj09H+XQISoB+Nap94=; b=l5WXURMtMXgyniQ8O2cFJZTs9InL/ji6KL61F9wwhndXr2idx7fgOZqfAtnggsBF3TeF14OLoqqjPZk5JktMx7okqPrb8e+zcF13j8Djo2Io6I5HrWcw5u1KjP81AMQyURfhf3ookTdPv02IuY7v7ITX73p3Hp4mRkqgLo2e3R8fEN7X2kjNh9A2WR18MoR/ECrsWUMCZoYgB/+MURXZvhgAQSIvClE5XSVUomgRoO3LMTa/wcFnW3HtD1vBccMODfq4U1gNDD06CCCSxWq+xeQspIYgkOu2JK+lLmjDr9kvWr3b7ZTluQ6D45JefuiL3y0ETznHQvdVnuyyY4mM/g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) 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=dydb+5ZrsKPz0RMWENbXs27r+Qj09H+XQISoB+Nap94=; b=Md5gLWOflCBne0Tyjaa5stnRKMX+NDV7o1n+vcSPdwxug1MrJIiZEHqJUVUcthuFAgyQbYn8Wtf4xi140zJRW5BwczJpKM076iE8HmZew5ohc+k7lhO0z/UcdedjzM0O1xDLEPP6Ab7PVpiv8iqxmwLoxv5ru+8CNuS6lZPL4uE= Received: from MR2P264CA0159.FRAP264.PROD.OUTLOOK.COM (2603:10a6:501:1::22) by PR3PR10MB4061.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:a1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22; Thu, 22 Apr 2021 13:32:45 +0000 Received: from VE1EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:501:1:cafe::9d) by MR2P264CA0159.outlook.office365.com (2603:10a6:501:1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 13:32:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) 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.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.200) 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.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:44 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:22 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:22 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:19 +0200 From: To: , , CC: , , Subject: [PATCH v2 07/18] am335x, guardian: Update pinmux configuration Date: Thu, 22 Apr 2021 13:31:41 +0000 Message-ID: <20210422133152.16231-8-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bdcfc33d-c878-4ee2-cb92-08d905931c97 X-MS-TrafficTypeDiagnostic: PR3PR10MB4061: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pWKM51/aChNhVj/PLQEtuyUsv9vAQRbQPRQqA8LB0bi6b4hlZWHxPJlrUjeMQtf46+sEMKGhKtT2o7yaJQV7VGQPXTO6I12eslgujfcebDe0xQe3KKqeib/rlrgkVIQq6raXadcVRybocco43VHn7nNSAkReQfW1Sy+/6Ebt4cU64lriiu7HRHb85fXLdIIFWOUcF3M2ZRh7p7B2UBVhJ0WgOtOOl9lQukgYiKUPKNtuYQTHOrpESpKnrTDXP8PY3lbiAY5aecwd7zUHz393QwWXGfZp0PDPP71nxodpF7bD6OZ+/FLVTFUU/lsVsQZx/QxpDhPdcWjSOMWhPIf6fPWgDD7yp4Vpj+aZWuMDl6XeET5KjYfbN5Bbtlu1fei1n1iRUKVuqk6DqG3q21PU5z33KdlFRAhLwg/ncPXRvMtQlXUOv/RIQBn9clX5yHttu09TyFyav06lkRsieD8Q1YvB3d7hriPjMTWgWR57W1RT3gIv5S3yCPYkXZw8w/IlJrhg9wAGrd0+rTKgitdl5qh3zJ2JhEpVC8jvM6nES1IJbxDVn5SQ0jPDpTc5KopEiD6U5e9pkAGEihTEr8QWQMYOTJ9C0KIaAKLZv5DCYt8CzY8dJrrLLJxhCFz1Ebj/Go5Iy+aQEzUwKY6NqvdQbHSDoTqks1Yo3sDpWImYnjLmc8DP5+efn2B2b8PitJK3 X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(346002)(396003)(39860400002)(376002)(136003)(36840700001)(46966006)(83380400001)(54906003)(316002)(70586007)(82740400003)(81166007)(15650500001)(2906002)(70206006)(110136005)(47076005)(356005)(86362001)(2876002)(1076003)(6666004)(5660300002)(82310400003)(107886003)(336012)(26005)(36860700001)(478600001)(8936002)(2616005)(53546011)(186003)(16526019)(8676002)(4326008)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:44.6627 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bdcfc33d-c878-4ee2-cb92-08d905931c97 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.200]; 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: PR3PR10MB4061 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Moses Christopher pinmux update for guardian board - control ASP Board Power: GPIO, on/off ASP Board Power - control Coincell Voltage Measurement: GPIO, enable/disable ADC measurements - powerOff Device GPIO-PowerOff, cut the PMIC supply Signed-off-by: Moses Christopher --- On 06/01/21 9:01 pm, Gireesh.Hiremath@in.bosch.com wrote: > From: Moses Christopher > > pinmux update for guardian board Please specify what this pinmux update is about. Thanks and regards, Lokesh Hi Lokesh Pin update details added. Thanks and regards, Gireesh Hiremath arch/arm/dts/am335x-guardian.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/am335x-guardian.dts b/arch/arm/dts/am335x-guardian.dts index 7e70a96d25..207246b4e0 100644 --- a/arch/arm/dts/am335x-guardian.dts +++ b/arch/arm/dts/am335x-guardian.dts @@ -401,12 +401,12 @@ guardian_interface_pins: pinmux_guardian_interface_pins { pinctrl-single,pins = < - AM33XX_IOPAD(0x928, PIN_OUTPUT | MUX_MODE7) - AM33XX_IOPAD(0x990, PIN_OUTPUT | MUX_MODE7) + AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLUP | MUX_MODE7) AM33XX_IOPAD(0x9ac, PIN_OUTPUT_PULLDOWN | MUX_MODE7) + AM33XX_IOPAD(0x914, PIN_OUTPUT_PULLDOWN | MUX_MODE7) AM33XX_IOPAD(0x980, PIN_INPUT | MUX_MODE7) AM33XX_IOPAD(0x984, PIN_INPUT | MUX_MODE7) - AM33XX_IOPAD(0x928, PIN_OUTPUT_PULLUP | MUX_MODE7) + AM33XX_IOPAD(0x94c, PIN_OUTPUT_PULLUP | MUX_MODE7) AM33XX_IOPAD(0x90c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) AM33XX_IOPAD(0x944, PIN_OUTPUT_PULLDOWN | MUX_MODE7) AM33XX_IOPAD(0x91c, PIN_INPUT | MUX_MODE7) From patchwork Thu Apr 22 13:31:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469215 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=M7crDJN3; 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 4FQz8t6YnRz9sWD for ; Thu, 22 Apr 2021 23:41:18 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F14FF82B85; Thu, 22 Apr 2021 15:40:13 +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="M7crDJN3"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8607482B5A; Thu, 22 Apr 2021 15:32:44 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on060c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::60c]) (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 0325C82B18 for ; Thu, 22 Apr 2021 15:32:41 +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=IiwVy4i+b/92Cgu8awyUY6TYrJgNrD73BXMOXU53PrG4hdGXx3yDSWzbpWaVpTlWOLoIbAqKqTGktFz3WfrY26FmNiwC89tG9jeDDvf8O2763mLd1XiWbrqxigF42IT1sMTPOQfR/C3Ktn1IJvmf5GTBUXZPoEfO84h7uRYI6jfg3lVwQs0kCU8ISC/EPWs6rxXehYahjt/Q+dGvU/Yxbc7x5tQuM+ZFH46lCl2slS5wg7Jc/zjJsTlCyW5Jrhtbw1lhFsaJ6mvffBpk7lfp4dLl5eFr3jTZnX8xO2oI2C+4Q2Gdzuy9Up3w9GXAAKZYdBud/eqMnarjquUqRiRrTg== 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=mzTloeeQ0k/YT/+szHJAAG9L7Q6Xvhem0Alq6nHEN+U=; b=HRE8cwZxHfhwq1ag3BW/IMKzfBj9IXL7mIkotb3SniOoCh3am2uXwEs409wb/PGcej/GpNCebrJ6d8RlE4re4ndpK/oETKpW+qYH3t4xFPVrGCfyfChC4XfJO5CkRdZ1GA7swH8M1UUMwpjkhP9A97eAnOO4MqDpbUijQS/W4pN3bZLIZ2ieKL3nuzO4Axhp445cFVAEmS2yTdYbtJ+TOZYIydeeESzlga2zt8LDit0s2CdQf6fM64QeMvfDhKLPVoZgvoXg/aChy00uKKy4sFeqJLGbECnlDpTrrFtuJ7SU54uKSJghZHFeKPeTOWqd2MsSKvoZBH4i9fu0flLFRA== 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=mzTloeeQ0k/YT/+szHJAAG9L7Q6Xvhem0Alq6nHEN+U=; b=M7crDJN3+IIJbyyDc8dUHCqHEOlXog+l2QbCyaSKN6zNmlLgaKXMcC1mqIx4IgYnwkvVkFRyd1nvrk4GRUsLTM/d/UALewsTm7C7RhKz7FflxY6BbT9Kl2MRPS20tux8gG/a1jjfV+vzEY7fmH10pm4kaOWJQo0EKBJMktZT6qo= Received: from AM5PR0601CA0036.eurprd06.prod.outlook.com (2603:10a6:203:68::22) by VI1PR10MB1824.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:802:34::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 13:32:40 +0000 Received: from VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:68:cafe::7b) by AM5PR0601CA0036.outlook.office365.com (2603:10a6:203:68::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:39 +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 VE1EUR03FT043.mail.protection.outlook.com (10.152.19.122) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:39 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) 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.2; Thu, 22 Apr 2021 15:32:24 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:24 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:22 +0200 From: To: , , CC: , , Subject: [PATCH v2 08/18] am335x, guardian: set environment variable autoload to no Date: Thu, 22 Apr 2021 13:31:42 +0000 Message-ID: <20210422133152.16231-9-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 34e92c57-7c5f-4afe-5d83-08d905931987 X-MS-TrafficTypeDiagnostic: VI1PR10MB1824: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /sdbJs0q6C1fw9oAsFDGyHuodCm+kJleH41Y4Hy+uL8yTVSHZ7Ar3QG24Gu+yQhFY8WJG6TQk0gsKTCNxHTxaVXcRmJj4vu+F58JjzE/cAwfhXFnPQMm5/xojzN/n869NKKsIHhET7+MYa6Z17n2I2WBtIcKuwebZzqBgBkW/iqGK0AZwjnyYRGijdVwsCNoIqWDJV90kw/HAiYTrVj8la3g3nueUsBFxuA7OnBIqHiaUKF3LiXnW0BOd3id48BPd1hfY1tQ9lhBvkyVxQz7GCP02HesQyQRqTqG7k5+QsG9joJeB1GiejszIMNZGTmn9mnAVWfIoGqnvRlu7mIXsRvr7W6An9oL8d75FmqdWZuEmeiQHa8aQV8UHxIdObbOQYM8II8XUV1PuJb4sOkFfoXWoliTVO7/FPk+4m/kYxkQzh4GbrOrUSGSQUoJ1WZ3joydLd1I0HBXPsdOn+wMPRxhMUYX+3nP6O2VnGzjuyIrZf+EfU/+uAz5vjCo7AUFWP52nnB9gokE/9E9nehckwtpPr9Oam6ooY+8EoT7KyMwnlLtJBK5JHwV/GlXSEoPf9NdbkWuq4ivG8KSu5HX3E+f4EdnomanFxK4rfIeV3zn01f06u8Bn3yZXdNfU7uHGv/LwpYKh0jPbtil61MHZqh+ScRxISrMP3UkalqUWfOXSzEhYnX58KYeICoBz8P+ 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)(136003)(346002)(396003)(376002)(39860400002)(36840700001)(46966006)(5660300002)(186003)(16526019)(8936002)(356005)(4744005)(81166007)(36860700001)(2616005)(336012)(316002)(82740400003)(26005)(86362001)(54906003)(478600001)(110136005)(2906002)(70586007)(2876002)(1076003)(107886003)(70206006)(6666004)(83380400001)(82310400003)(47076005)(4326008)(8676002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:39.5189 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 34e92c57-7c5f-4afe-5d83-08d905931987 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: VE1EUR03FT043.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB1824 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath autoload: if set to "no" then rarpb, bootp or dhcp commands will just perform a configuration lookup from the BOOTP / DHCP server, but not try to load any image using TFTP Signed-off-by: Gireesh Hiremath --- include/configs/am335x_guardian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index acf4d4ab65..fa6e02d09b 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -62,9 +62,9 @@ MEM_LAYOUT_ENV_SETTINGS \ BOOTENV \ GUARDIAN_DEFAULT_PROD_ENV \ + "autoload=no\0" \ "bootubivol=rootfs\0" \ "distro_bootcmd=" \ - "setenv autoload no; " \ "setenv rootflags \"bulk_read,chk_data_crc\"; " \ "setenv ethact usb_ether; " \ "if test \"${swi_status}\" -eq 1; then " \ From patchwork Thu Apr 22 13:31:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469216 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=85.214.62.61; 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=MUi2nQeG; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQz972GD4z9sW5 for ; Thu, 22 Apr 2021 23:41:31 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2C92E82B8E; Thu, 22 Apr 2021 15:40:19 +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="MUi2nQeG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4C14382B62; Thu, 22 Apr 2021 15:32:48 +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 EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0619.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::619]) (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 73A8A82B36 for ; Thu, 22 Apr 2021 15:32:43 +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=PoD38PuGi2u8qMfpg1amgwYGYlXlna4eC3S/EUE6sLjkwHTtOGVE7N7ohJiGgmA7PndELTKMi3b8IGiG0HPr9UgFPfgxU7XRymc0P52B/grrxeZClI8ptp0V5SWfgO206X5OC2KKnWOSloyrWxkb8S5reY1cKLq66T1pqZc9J8Ke5k79Qj2bxe5Ln+yB5+vgoXNmNS42EhOT0JhUkylArqhk9gpeYQ0Qo3DExkU95WWrVp/R3npE0A9WUTWZmxbKvQ7LRQJ1wsbyONozUAwuTUI4vWcd2BPEOQWLvWAfumx/p/W8hGXZYMQ/i026OhouXWXYMSyzCCWjftm4RCj3OQ== 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=L3ogb9vZpnzjOmP2lO6Az1az9c1Tn9oO0v09ZDudbFI=; b=K1HSlO/Vt7yk1v6IQ1R/Jg4josVe9dS0Hd08WV9x8UzmEApQTwwk/PC/bPD3qFk+GfIWP2e8J9gp3tEa8jCUXC7jyUpyhdDa7XwGqy3VF9qwyFzd41oHsfcN+1yHVE7w/a/nD67riSECMW8rqnj9IgTPVq7+qtQqrEGUNH4lINdTZCiQgC0t3/n/noC5wqwDIaPDe0aL2GTH9wb/Pih2TII8xj6y00TwtLH7Wae3DXuMpg/1hJkyi8moVc5x/hAPoiWOZ8xIOk8+3Ovw72WuHSOOMjzF79dMLzT4JoBHKuk95xOhTLP+oGgrX0WIrhh3caCIB9respOStKAgnU5QKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) 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=L3ogb9vZpnzjOmP2lO6Az1az9c1Tn9oO0v09ZDudbFI=; b=MUi2nQeGkcaEyUJHZiB73wNvAF9OGmUo5laE50RXJeWLyV7Cj0Hr/K/uai96qr7rrbPQJWCGZQ5oM+dIserMxZ3OWVrFp8LS2V6Y+QLlSdtCWJ3+YGdetfmnhLtrTm6FtC3KiZtyP1S8yIEH5QSB6tWblNx8McscCOY1Vq+6MkA= Received: from MR2P264CA0038.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500::26) by AM6PR10MB2583.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:af::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 13:32:42 +0000 Received: from VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:0:cafe::c5) by MR2P264CA0038.outlook.office365.com (2603:10a6:500::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) 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.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.199) by VE1EUR03FT006.mail.protection.outlook.com (10.152.18.116) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:41 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:26 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:26 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:24 +0200 From: To: , , CC: , , Subject: [PATCH v2 09/18] am335x, guardian: code cleanup and boot optimization Date: Thu, 22 Apr 2021 13:31:43 +0000 Message-ID: <20210422133152.16231-10-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d70e014b-7fe1-4d71-2fe3-08d905931af9 X-MS-TrafficTypeDiagnostic: AM6PR10MB2583: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:3383; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LYzY0NAlX8GLd7rYHPOZ+zdOqSt40FuxPUUCJ5GUL9Xldpt2TzDvuNKH+H66LvxAUQRh0h5LZYJpD6k2T+jdROR8PDBL9GtgOmeKbLEPSs9PpkAiXDJOeUdRZUke01r6w1wqGYFnHVeXI7eezpUsTxg3VTlFtfiYOfIWBm9Pfh9BreBoExmhshtbmchMt56o2sdrphzDFXMRWszzYF89vL0O9vDZzR6lkkgi0VGlnhRIAVmYXeOkTZ2CoGxSkvZakvWCmBlg9XeB5IkP9rXnWVq/2VpDfKJzSaFSIqrGpQ+EaQFIkmn8Tq9AmL2QRUEF5ZkmOh+64FcqMD7liRaNGAunlrzQyamauocrrPGuTkbGJcemgcJ3Gx6Isvnn1onVUqtChatLc77DlXfGk6kgajIYkKasT7pN1KWkZDZcsw6TdXTQKqC31YBEBTtnsrc/U5EqNN6RtosbnjvOSmM/Or9ZhhjQOnVeTI9YOhNXTEIIre2NteQg+STTwiQIv11flvCd9xWnegl+p+Js843s48WqaGyJeoGhuKWqALZT4cvqleUog5JnrHagcYxsy7pMw8LaWo78pEfoGou+5mRzed370Ub703GvRtP0E/SWg9V7yXqadhVehC3lczZpzR7rv7IHdYGNElVP6oyzeAoJqeI1bCIZXq4o4NleHXT/RM27EVkJwu8yxC6bVdnjmyJn X-Forefront-Antispam-Report: CIP:139.15.153.199; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(136003)(346002)(376002)(39860400002)(396003)(46966006)(36840700001)(5660300002)(47076005)(8676002)(356005)(6666004)(8936002)(70586007)(26005)(2906002)(336012)(54906003)(478600001)(36860700001)(70206006)(81166007)(4326008)(110136005)(2876002)(82310400003)(16526019)(86362001)(83380400001)(186003)(1076003)(316002)(107886003)(2616005)(82740400003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:41.9546 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d70e014b-7fe1-4d71-2fe3-08d905931af9 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.199]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT006.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR10MB2583 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - remove redundant headers and boot modes from board file Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 9429454a74..12d047b74b 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -9,19 +9,14 @@ */ #include -#include #include -#include #include #include #include -#include #include -#include #include #include #include -#include #include #include #include @@ -193,27 +188,11 @@ int board_init(void) #ifdef CONFIG_BOARD_LATE_INIT static void set_bootmode_env(void) { - char *boot_device_name = NULL; char *boot_mode_gpio = "gpio@44e07000_14"; int ret; - int value; struct gpio_desc boot_mode_desc; - switch (gd->arch.omap_boot_device) { - case BOOT_DEVICE_NAND: - boot_device_name = "nand"; - break; - case BOOT_DEVICE_USBETH: - boot_device_name = "usbeth"; - break; - default: - break; - } - - if (boot_device_name) - env_set("boot_device", boot_device_name); - ret = dm_gpio_lookup_name(boot_mode_gpio, &boot_mode_desc); if (ret) { printf("%s is not found\n", boot_mode_gpio); From patchwork Thu Apr 22 13:31:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469222 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=JAqLSLrD; 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 4FQzBc4g7Pz9sWD for ; Thu, 22 Apr 2021 23:42:48 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 18E3382CAD; Thu, 22 Apr 2021 15:40:48 +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="JAqLSLrD"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D7E2182B4A; Thu, 22 Apr 2021 15:32:57 +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 EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02on060e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe06::60e]) (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 B869C82B55 for ; Thu, 22 Apr 2021 15:32:52 +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=efSKyocrNKlSr+ACu0d8hFd30whUWEBNyLKftiWbovRJ0h86IfB57yIgMvqp0bXeep1IFLZ07alOcZoFOdjIumCUJjalVV3YVsCKT4cbU+n2rK7aXJbTo3JTVVXW3h7A3kHwaXxRmFcGomhnqXKINcM1PiJBUcm1u2z/vxkV+DtPvGhFb9nh14w6qRhiUxFDStmDPXT3LNHGx+CTOWu4RWj3koxXLidV6FpnuFIx/1KOfeh0YW/wWf9vTTLh+xzmBbf7Qdk4fqs2Mjey6KHab1kf7njdseTXtucbg3bRc8KeVXUMZ6sypTV5sTo7tXs5KmwQu/WBFISYOFX7DAu/3w== 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=7KAiIGX36QZ6g13c25919OlWVU3oYC/BrKYj0BtAvJ8=; b=lX+1275DxfBrHHU7BXkhafjgRsxeNhK2EA2g8COo3uCFCCGSSCha7ENckJ+x79oct4WHGSBuVtdCkZMdMgPekeVC3eeRB5gryUXG5ienNAK40AaXn2oEWT/zS9hUz6jJtTLVdGBaDrsTz8F27KLD3Qch0j4y5A57B2P6oJa3uL92VpuRfBKyPfQRQQ8lDnAxihs98368ol+rBz9aXZmqEEBADwv3nL0XzIyZXsjUbsBPmXA8ZFQTP0z/4Bfh82Y/c7++T3c27gsrx3vGh0PdL4JiVApQtabqMbBhF+qBiniIVzTqnpfbzJC4M1VHaE/e5donKnOG51IqZScqXshDKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.200) 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=7KAiIGX36QZ6g13c25919OlWVU3oYC/BrKYj0BtAvJ8=; b=JAqLSLrDexwmB/s1i6inrx9O+1ZPrWrCbQertmU9vQFBH7Sfb1AreLhJkTn6oHgBHy/hTlji6hruE7YNMCVY9wz7CFjPwOPDFJL0a2CTKsN81hoCvIWMlf0v55ucb8QCcZDqGaKbt3N0V+p59x/V8JCP/nnPtYMrELFSxQvY6K8= Received: from AM6PR10CA0074.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::15) by DB6PR1001MB1175.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:4:65::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.24; Thu, 22 Apr 2021 13:32:48 +0000 Received: from VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8c:cafe::3b) by AM6PR10CA0074.outlook.office365.com (2603:10a6:209:8c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Thu, 22 Apr 2021 13:32:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.200) 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.200 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.200; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.200) by VE1EUR03FT026.mail.protection.outlook.com (10.152.18.148) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:48 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:29 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:28 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:26 +0200 From: To: , , CC: , , Subject: [PATCH v2 10/18] am335x, guardian: configs: set boot delay Date: Thu, 22 Apr 2021 13:31:44 +0000 Message-ID: <20210422133152.16231-11-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ec48515e-5f97-459d-d5ff-08d905931e9a X-MS-TrafficTypeDiagnostic: DB6PR1001MB1175: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1775; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: DyffB/UefuMsvhaMF7sSv39bKIUVhqE7Zjkn4dOVxP7Z4T6XQMncomWOMHg/IVTl2zoMrXXWRLe8hRD/H9dR2BXkpXsP09GXk8ENC0Uc/jv7D4Uxzv7HUMuXjrsPP8Dj8QrwkO1nH7tlhtZhW4EtBrDJRCp6JE6zAjWDJT+VR2SThbqGqOn8TiuRLHD2W0NRp2g8i7tX7AFXYPXl/KvsDMJbBLA5C8GN1tV6oe4K+yKRD3bt1BzvKC6BuxqN0dVJFG1eJOOE2f57C9uO82bwJx+VZBbyUnteFU5HGMNZZw34SldMM9ZqEUS0OUwc1y8TdaL6OIf302tRyn0TFYB2PD8RYZQDK3HUrvNAUfPiqDPnc5YCp6Z27bGpUotFvtTxjWmC2wAQvCtB4kTlObPtpfWDro0DKxP59zGfVYlhwCzA/baY7wsfozbxxQst4dv7AGyItZwQiusvnowGcSmlSyJNVLjUhh+7tgKdZXoC2Vg6eVsq/cpii4hTAqcvCpNO1RL75SoxpywZ6eqR3YzlnnDhYxePj/6M3e+9Rc3ylYgLTKLBGk1h8JTIE8PHs8X8I9SsFa49Ng3MkfPVgsT8j5j3iJ9p2Hn2jWKGI5iKU34lxGBo7Ppk1wNL3xcQVZG5T02IErhXP683EICtguTqrCTiodN/+5Qnxamrx/gCZUjIWnLWmqTY27YoZdqa2B2g X-Forefront-Antispam-Report: CIP:139.15.153.200; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(376002)(396003)(39860400002)(346002)(136003)(46966006)(36840700001)(336012)(82740400003)(478600001)(8676002)(356005)(4326008)(1076003)(316002)(70206006)(4744005)(107886003)(8936002)(47076005)(81166007)(70586007)(86362001)(36860700001)(2876002)(2906002)(16526019)(110136005)(5660300002)(26005)(82310400003)(2616005)(6666004)(186003)(54906003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:48.0371 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec48515e-5f97-459d-d5ff-08d905931e9a 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.200]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT026.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR1001MB1175 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - set boot delay to zero, to increase boot speed 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 2ae7507eff..e47c6aad74 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -17,6 +17,7 @@ CONFIG_ENV_OFFSET_REDUND=0x540000 CONFIG_SPL_LIBDISK_SUPPORT=y CONFIG_DEFAULT_DEVICE_TREE="am335x-guardian" CONFIG_DISTRO_DEFAULTS=y +CONFIG_BOOTDELAY=0 CONFIG_AUTOBOOT_KEYED=y CONFIG_AUTOBOOT_PROMPT="Press SPACE to abort autoboot in %d seconds\n" CONFIG_AUTOBOOT_DELAY_STR="d" From patchwork Thu Apr 22 13:31:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469218 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=R6tluuYP; 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 4FQz9d4F3gz9sW5 for ; Thu, 22 Apr 2021 23:41:57 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 40D9D82C97; Thu, 22 Apr 2021 15:40:29 +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="R6tluuYP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8D63D82B59; Thu, 22 Apr 2021 15:32:49 +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 EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0d::61c]) (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 535D282B55 for ; Thu, 22 Apr 2021 15:32:44 +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=NB6pjxXVrdfLwFY46pYG/wyyBSJ0QJoRXinIPOOWeYt1QK4XtxNd/BZliInyp2XuIx9xCPP6EO2ZCb1SmUc+UVFGR4RvoxLh3jPJ4yRF87yQ3F54ExQjnNFVJ6gSn+6bgtWiUpp2AOTGqVdjDdNWomK8Kup7ltkn/KCJxUhWj0SDisE0luMnPdH4WPjCsqQbqXYtINJrnYfo4GcBnpWs9HyGOEO5Rxpc/Iv8m2mQCfvlo1xyh4wnhPzFREg9mRL1D/8cBVA3xsmmQOMW3GuEcxkQn2JbculHSQzZaSfFfmEmi/3uuzWp/2qoHmEqhGzpgQ0krD41a/rLoA8y46C1hw== 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=v/OopremWR6kR+g1cirPrMTYIC/2reIaHGojtW68pkQ=; b=bymhAF6cappnBEiMAluYr5rdrEx2SKx/t517XCRN6hIsQZ2deuwHWLbBapTOTv9QvZ2Kc1Uimxvmnv9501A2/6WgS1ikTWirTJ3WTmawHSlQrtsZ1yy8YxSOBoM8a3/HshDXYquYJY+Z5Tr5eB7L0KFMtuPiKVZjFaqfS5lWBGsPqBv89OE0tQlGhrotYPYGo6XnO7gCEFGCCBKiQxXtYVSvYLJB4tEcpCXfmkwVUfASuI4ygmZ5ciUAa7PKnm3AJkeVqfOg0EnL4N0WnUlJME1YBzlSz1JmtDgekyb9pV0il9QlTgiLI9flzmF64/GNLWTxatrXKL9WcugKWuYIuQ== 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=v/OopremWR6kR+g1cirPrMTYIC/2reIaHGojtW68pkQ=; b=R6tluuYPyelOLyJNKGdm0B76DKnMJmzSf+k8+Su95XDuQQw+4cDJLd4vKyTicEGyf++yLjOyxsmd5kYHGoKPm3ltbPFgpKU7QwcTftN5WCYp2koI+FnWzqLpw6CNNLZdUPRGLniEXZfEufEotZE7qP4SG9ix/7gcvTvGa0N+Mtc= Received: from MRXP264CA0034.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:14::22) by AM6PR10MB2837.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:a3::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 13:32:43 +0000 Received: from VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:14:cafe::cb) by MRXP264CA0034.outlook.office365.com (2603:10a6:500:14::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 13:32:43 +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 VE1EUR03FT004.mail.protection.outlook.com (10.152.18.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:42 +0000 Received: from FE-EXCAS2000.de.bosch.com (10.139.217.199) 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.2; Thu, 22 Apr 2021 15:32:30 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2000.de.bosch.com (10.139.217.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:30 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:28 +0200 From: To: , , CC: , , Subject: [PATCH v2 11/18] am335x, guardian: configs: cmd : disable spl command Date: Thu, 22 Apr 2021 13:31:45 +0000 Message-ID: <20210422133152.16231-12-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cced6aee-118f-4c36-2d8a-08d905931b82 X-MS-TrafficTypeDiagnostic: AM6PR10MB2837: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:261; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ICkkF8jOOW588tm7w8bdcl5OLiR55PEIOQgkqpuLeQijoTx4UCYchEgaXCPvHZ5IPDtWcPPKQgliIV8S4isXv8S0KOuPusErpd1/SXOzQMvh7hB2r410MtLcH2IZB3P1AemqyK9sP3D5aeqeGT5g3fO9KgazH0PQfsnBxzGAk00UUBNS3KnbPecuJhxhhAgKMnb8uVoJAT2t/WVHxZ2YGsR+GAAFR9VVMzwzr7KOELOBTGBUFJQvC6zeuz6P1pEWHjBeoQIiRCkZwogfbc1xIt8FoVYlCiTOFRl12BIQFSKLCL7bhQRden8CTJITdxipEaVM1DOtMwebLxBZLSMJeNKWJfOq4wnhD2ge4+wvE7BNfrE/CX5STLEBGzkVRrQnqT+ahwcBxRFTB7JIbDzyW7bq0yu3iDoVaARey5Tb+bL6T81Ayu7PHiwnnhtXCwF7QW1X2RZdNVQ61fvhmlbkNsIsSJajqd0ln2KTsepC+qXF1AQ/wD2qxhPf6AKjv9VnkUGiDh9zshojwEQPEngtNHiOrY5DHKGThp+jxtzdtum5e5+85z7E3W8kqvafFIBo3FgywPaUFBUiNY3mt/gX99q9HHOZH8yVCXEhxzkLbQvQdkBoz53Ay5LO9ZGet1eZevLCxFiAEB4cIOIBM827598fEIt0LsEv5YRPVaw2b81/HE51EkU/NhIe/KwP1UQX 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)(346002)(136003)(376002)(39860400002)(396003)(36840700001)(46966006)(5660300002)(47076005)(82310400003)(8676002)(2616005)(356005)(82740400003)(70206006)(54906003)(4744005)(336012)(36860700001)(6666004)(8936002)(70586007)(81166007)(110136005)(4326008)(26005)(478600001)(83380400001)(16526019)(186003)(1076003)(316002)(86362001)(2876002)(2906002)(107886003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:42.8423 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cced6aee-118f-4c36-2d8a-08d905931b82 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: VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR10MB2837 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - disable support for spl command Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index e47c6aad74..4620c2b6aa 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -40,7 +40,7 @@ CONFIG_SPL_NET_VCI_STRING="Guardian U-Boot SPL" CONFIG_SPL_POWER_SUPPORT=y CONFIG_SPL_USB_GADGET=y CONFIG_SPL_USB_ETHER=y -CONFIG_CMD_SPL=y +# CONFIG_CMD_SPL is not set CONFIG_CMD_SPL_NAND_OFS=0x0 CONFIG_CMD_ASKENV=y # CONFIG_CMD_FLASH is not set From patchwork Thu Apr 22 13:31:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469221 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=aLNmzkHN; 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 4FQzBN0S9sz9sW5 for ; Thu, 22 Apr 2021 23:42:35 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 99A2082CA6; Thu, 22 Apr 2021 15:40:45 +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="aLNmzkHN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 25B1682B4A; Thu, 22 Apr 2021 15:32:54 +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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2062b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::62b]) (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 4212282B18 for ; Thu, 22 Apr 2021 15:32:46 +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=U8atdEluhVCpy3HSpclU9KkBJpykYK/4SKu0uf4LWJrquqhE7iQNVkiDrogZhW9bzOwtbqfMn+KAALHoKO1DZCv0zFq8szN2SsIeFc722xF7pft++91411s1pAfUk514SdWd471TZRrwaB+Rzse+5h8AjNtenf1dbi0BEyqegh7q7XrkE/YW8ZiECq1G5GjwY8V8Cq+y20dbSIxvJsLxbbCnLyvV2RxFhVMZwsrGcGTAjEV3jVD1QyT0/0W1bcaHqnx8/a8iO7lp6ou4Jq66S7tTu9y+ieqqv88yR6TcnOJLXDWEf+cglpQwcomQDibg1af7fiSkyNlOYy2PpgXPnw== 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=ftOWkzxtwEA94wG/bN7RXat+GrCCdIlDfzzjKMc47TU=; b=gCL26Ds3X7MXg1LGIyw+351g2xmgAlBVSU5C1MawQDj8DJZ3EUplghWsjmIpSvuCTnmWbO+9lV0LJBq4q4e7kjT2N3vVlEH5LdHVw9QnFqg4hS0FZuZLH57DEO54qVVUvjJf+FiAdcjSvl+1mo0fBpA4ITuHZ+KaaUalRZxG/e/STPDy8dFDt6YIEfzlvMhgW8XF9vO3xZBoz8uZPLVhg9iLfvdWKhglSP3ooqP8jVKX8fHlpCE73FLR9azUh1aNiSXJobxkHw0cKuv+Z3+xRpIn8ojYJv0TRR7+HoNGwjuutwr/vjFWRL2RjPBf8aFhWGSCDa5ovZtt0ZN7ZGd6Zw== 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=ftOWkzxtwEA94wG/bN7RXat+GrCCdIlDfzzjKMc47TU=; b=aLNmzkHNFMRCxiMVWqCjOKFREQk9dFr5JlhdsE8j9QKuJTIk6EqUW9AHrMiA5HSPYF4YUzybi4zIgpI9FyR3sgbhgLr2VI52wmOOnIL/SSVQTOUI9RlvfmOIRZPsTE56r8QElQFnmF/l8OiaZktRplOiR+ZmbwWxyOVNpzC6LvQ= Received: from MRXP264CA0034.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:14::22) by DB8PR10MB3895.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:148::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 13:32:45 +0000 Received: from VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:500:14:cafe::48) by MRXP264CA0034.outlook.office365.com (2603:10a6:500:14::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22 via Frontend Transport; Thu, 22 Apr 2021 13:32:45 +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 VE1EUR03FT004.mail.protection.outlook.com (10.152.18.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:44 +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.2; Thu, 22 Apr 2021 15:32:32 +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.2; Thu, 22 Apr 2021 15:32:32 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:30 +0200 From: To: , , CC: , , Subject: [PATCH v2 12/18] am335x, guardian: update swi logic Date: Thu, 22 Apr 2021 13:31:46 +0000 Message-ID: <20210422133152.16231-13-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b8619a43-0125-4103-fba6-08d905931cc3 X-MS-TrafficTypeDiagnostic: DB8PR10MB3895: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:669; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: iRQrWkO6KtVN3RpWFa3rTLZPJXHj5CUfpcA+QCbmluM9oACWZ9TFuKUj37KxBrHx7klAEvmIop7llWVjWx9eEb3EhFM0P4ND9Gu2Ds1DbRbIpfTg240QD68jMbVbISPpJMjFwREt/eC7cFvNKLaCLm0x28DF0Q93c4l+NyeyxvOCEB7zWBycD2i6AUm9+Sk8oJtNYmepdQod9e2frExTThhc0uBSiYj1sd7Of1Pn2I7cAwkMgtqngjvTDRYDnbZT9Fs7VAvQSrEvVepXtSoSR75b/oQGMbFqQWhiy6YZk2p0DnwuPRMqwjDw02KUC9SETuq2KsmWxOetQcXQ8EMlxIMUb1cyNZDH+nAuX9UM690epfw1tHPapNkgM8pn+yMQAXUD0PuKaacNEM7tSTysMuySMiRnGGRJvgkZG25TKY7D9UErNvsDhCLHPZHO5+8dfZjTCFvmue8ZRutwRg2EixRmy/g8za+a9oZClp9rb58vYLrbA8GJWfH08SYNWIsYrRBaJ1TmznNCEwXTLzKVM/LBo/MPv2rO3b7hxKosbyT/iqW1GEhRWXXbhyHy2RGdobm+6klUkHXEKOq1VY6oOzrvgycDlNIzCLSBeWzbJAiefkQfBryToqf0rzh3zfClMpbzn8ia5rVE0WuH+ZuKx7O0Swtw9Bsm4O8x4hQozpN/6wpgXpQjIRZjMnf6gIqM7ghCNlCk/sIlnK1oBpm//w== 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)(39860400002)(376002)(346002)(396003)(136003)(36840700001)(46966006)(478600001)(2906002)(110136005)(86362001)(8936002)(2876002)(83380400001)(70586007)(316002)(1076003)(70206006)(336012)(5660300002)(2616005)(16526019)(54906003)(4326008)(6666004)(82310400003)(26005)(36860700001)(82740400003)(8676002)(47076005)(107886003)(186003)(81166007)(356005)(36900700001)(139555002); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:44.9523 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b8619a43-0125-4103-fba6-08d905931cc3 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: VE1EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB3895 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath read boot mode gpio and set the swi status Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 15 +++++++++++++-- include/configs/am335x_guardian.h | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 12d047b74b..8704806047 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -205,8 +205,19 @@ static void set_bootmode_env(void) goto err; } - value = dm_gpio_get_value(&boot_mode_desc); - value ? env_set("swi_status", "0") : env_set("swi_status", "1"); + dm_gpio_set_dir_flags(&boot_mode_desc, GPIOD_IS_IN); + udelay(10); + + ret = dm_gpio_get_value(&boot_mode_desc); + if (ret == 0) { + env_set("swi_status", "1"); + } else if (ret == 1) { + env_set("swi_status", "0"); + } else { + printf("swi status gpio error\n"); + goto err; + } + return; err: diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index fa6e02d09b..b966df08c6 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -68,13 +68,13 @@ "setenv rootflags \"bulk_read,chk_data_crc\"; " \ "setenv ethact usb_ether; " \ "if test \"${swi_status}\" -eq 1; then " \ - "setenv extrabootargs \"swi_attached\"; " \ "if dhcp; then " \ "sleep 1; " \ "if tftp \"${tftp_load_addr}\" \"bootscript.scr\"; then " \ "source \"${tftp_load_addr}\"; " \ "fi; " \ "fi; " \ + "setenv extrabootargs $extrabootargs \"swi_attached\"; " \ "fi;" \ "run bootcmd_ubifs0;\0" \ "altbootcmd=" \ From patchwork Thu Apr 22 13:31:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469220 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=JUOgIBmi; 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 4FQzB73dGTz9sW5 for ; Thu, 22 Apr 2021 23:42:23 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9426282B8A; Thu, 22 Apr 2021 15:40:39 +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="JUOgIBmi"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DA98F82B5A; Thu, 22 Apr 2021 15:32:53 +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-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on061e.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1e::61e]) (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 1388782B51 for ; Thu, 22 Apr 2021 15:32:47 +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=ijTKg4BvX/+rm6dIp4gN5pyeZCCMBat78GiNAI0Oz6wjacD0D66Ca1WDfj6zcfIHraUWOMBSMMx7Ms/Kn79KfQP2wU4U6Q81oeeJA2+OxRBtz9mbmAOAxnFw+csI9J58VGNSbSQIsMwYXQ0ppy/9A24o02UvYhHTyWh5fLg4XY8qzCMEXMpiNVZJNMwhbMI2ViPYalyiAiWeDrxv/G2AYMiHka2ccC6/LwoXKpY+xU6lBodLk00f/VFwGmDKvlyih23HFxNWXLgvgnlejQG5Vahw5S/XqOJAC102dcilrtw6vlQ3px18ej3DxHto3c5t5bgWpRGfr6oDV3l+IJv8GA== 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=5jauDA6hRtOfEPoiZfRPT9VNJp0cUP4OJ29qKi8SG+w=; b=Gv/lIDWBn0hCF4MiCrxxZkP5dXyxrXO8KxbDklU/3/SBCYZ9slY5IeEZwaE+un9T0pDexjqMgNQk7ksZWKALvRzLD4rYusWJLTk3ETEmrdzIocormd6w76wJrSERxs2ozBSBuYTJ7oMDkm+TYlYmPsAvZ10JbdVIxdkn5VW//47NPpxf5A/6275LbG20SspFda9LKxhdVP4bBgdvdCHebs2KkPwcY0iAQW8gDfyd/WZHlwZE3FL0B3XdArjj7AKg7zCAT88sy+hYdqEBk0kLvqRFJCtenc6fWHEhOGqdWRHnRLViVX6xGWiJzpQfQcegNYxHMfY1A0XGA9y1UcaLhw== 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=5jauDA6hRtOfEPoiZfRPT9VNJp0cUP4OJ29qKi8SG+w=; b=JUOgIBmidsvM/JsqzMA3KY1K9JznvLWP3FQHSMKsj9aUslO2tA7GLApMdQjoBNmq77eP42uBbta9Z7BXBBosgJerdRrfcQnJz2wTlOEjO5l7I52sJdYaMzu8cDUECvVfnA3nRCzgqj2i5ze6mS+rbAS8fg4WDPnLCsdbEJvtmow= Received: from AS8PR05CA0023.eurprd05.prod.outlook.com (2603:10a6:20b:311::28) by AS8PR10MB4582.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:2eb::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.23; Thu, 22 Apr 2021 13:32:46 +0000 Received: from VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:311:cafe::df) by AS8PR05CA0023.outlook.office365.com (2603:10a6:20b:311::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Thu, 22 Apr 2021 13:32:46 +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 VE1EUR03FT005.mail.protection.outlook.com (10.152.18.172) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:45 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) 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.2; Thu, 22 Apr 2021 15:32:34 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:34 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:32 +0200 From: To: , , CC: , , Subject: [PATCH v2 13/18] am335x, guardian: Enable backlight Date: Thu, 22 Apr 2021 13:31:47 +0000 Message-ID: <20210422133152.16231-14-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2c57581c-3e99-414d-8509-08d905931d57 X-MS-TrafficTypeDiagnostic: AS8PR10MB4582: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1265; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V3C29aDxxe361Wvo7AtGcpUNHuRgLhyMDIW2sfDSWPyT438lX9SLXJRg1lmUz6nPQQynStyD6eLNQj8rptROj+FUr6P4/wvTE1D2Xc+zJJHKFkpNiKm1xgfSzgvpKCSx6tmwdhedL/K+sYl1h882Xs2KWKcq9NTMGhW5KzMWYSc2iVIcf1QXRBbklNJI1/h0fuRBTPSebPz+KVwjYyda0QahZvsKfZv+CkOob4SXUzNBkyL/0akfy0DZ2VHrC6kQ+wN/4KmzT9j6d2oyOwhNod1YRLcw3VOEGWj/e4RVcP7la0AtiQXL31SyYzjeWTuSJ7cdYRecmoOyMNol2HdnTXh8j9Cwtx7sRA0m+MqWypl866KMwwPPH2fKbTuzWpTVXMKPZaNxYkAmTpQ6cEdPzU3Y7aGzMuPHnv3WUT71vlxwqdqFCQBn2GEXKENQV+/e30gnzLfRjlPTij9Y/1brBDYlFbW3E+Lz4retkJT8+xp1XtuUEJlr8KesGBhH/UVg6ywQxxky8jjuhpMFypTN79vfoWIzpev5muIKeGMh3qugNBFuF6bS+mPs5GGxiglSKKyyTxy7qeB6LT15U+ZT1rnxPz2SN6zkxWDKS5VlZ93xm2lJEHvBP2elPJRDc9WUryfH+gEXHq0JHzNjL/jR6wySH7KzLCjYgvmVwdT3gb3ymnStr1nu3S+B2zYkebjY 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)(376002)(136003)(39860400002)(346002)(396003)(36840700001)(46966006)(54906003)(70206006)(478600001)(6666004)(336012)(107886003)(4326008)(110136005)(70586007)(26005)(16526019)(186003)(2876002)(47076005)(8936002)(8676002)(82740400003)(316002)(81166007)(1076003)(356005)(2906002)(2616005)(5660300002)(86362001)(82310400003)(36860700001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:45.9192 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c57581c-3e99-414d-8509-08d905931d57 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: VE1EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR10MB4582 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath Enable backlight, set brightness value and dimming frequency Signed-off-by: Gireesh Hiremath --- board/bosch/guardian/board.c | 26 ++++++++++++++++++++++++++ include/configs/am335x_guardian.h | 1 + 2 files changed, 27 insertions(+) diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 8704806047..6e6221ca60 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -224,12 +224,38 @@ err: env_set("swi_status", "err"); } +void lcdbacklight_en(void) +{ + unsigned long brightness = env_get_ulong("backlight_brightness", 10, 50); + + if (brightness > 99 || brightness == 0) + brightness = 99; + + /* + * Brightness range: + * WLEDCTRL2 DUTY[6:0] + * + * 000 0000b = 1% + * 000 0001b = 2% + * ... + * 110 0010b = 99% + * 110 0011b = 100% + * + */ + + tps65217_reg_write(TPS65217_PROT_LEVEL_NONE, TPS65217_WLEDCTRL2, + brightness, 0xFF); + tps65217_reg_write(TPS65217_PROT_LEVEL_NONE, TPS65217_WLEDCTRL1, + brightness != 0 ? 0x0A : 0x02, 0xFF); +} + int board_late_init(void) { #ifdef CONFIG_LED_GPIO led_default_state(); #endif set_bootmode_env(); + lcdbacklight_en(); return 0; } #endif /* CONFIG_BOARD_LATE_INIT */ diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index b966df08c6..08a9ac950c 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -63,6 +63,7 @@ BOOTENV \ GUARDIAN_DEFAULT_PROD_ENV \ "autoload=no\0" \ + "backlight_brightness=50\0" \ "bootubivol=rootfs\0" \ "distro_bootcmd=" \ "setenv rootflags \"bulk_read,chk_data_crc\"; " \ From patchwork Thu Apr 22 13:31:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469225 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=85.214.62.61; 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=R1Lz/Hwp; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQzCM6vv5z9sW5 for ; Thu, 22 Apr 2021 23:43:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2BA2682CBD; Thu, 22 Apr 2021 15:41:03 +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="R1Lz/Hwp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E8D8282B59; Thu, 22 Apr 2021 15:33:06 +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,UPPERCASE_50_75 autolearn=no autolearn_force=no version=3.4.2 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02on0628.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe05::628]) (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 8AA7B82B36 for ; Thu, 22 Apr 2021 15:33:00 +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=ZL1dN8tJIQP9Pv7FF4oSFPeUa0IsmQWd1JfLGW9BzxkxvwJMAWnsrFmYdDjQjiBQJTpcKpPqi6eXWqKRKtymeue2LaLxkFlEHrtVwwtzA2cbAG9kC9qIubXHX5S70cX1MGOJ46NYbyqRgLjStdSg7zMNuYbkD4YhDnbVFaFbbP9xadQAFw/aJF0Ep6T+XX62F/gTpcSutE2C8ugFYAd+EHRLvOyu51gZfLlZwmvNWrw95ryrap3dPjyrFyKcGgOdmD1vV0Ktt6w8zBposjQPTWT4TtUxZrhQv5u1fjt3+v2eHWNd2Zqe8jer6ouoTXcYPbl/aX9Yiyax0YEA8fLKCw== 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=wKyvCTe9QajdPOAE+Dv91kJZU+c4NopZhbxq+f1YGiQ=; b=TqOKpGhdO06RB8uE+ccEkbdjiYAzvOSiiTj4Us16oWDykPId3EWha2/uIYcGE4JaZVEbfdiHjjgiwC17n8uthtYsPakFTOvbh9t8iwWVc0gGP8fL7ZW0zaBfWRxp2+SFqkX8TVuBIp0vDoEly0Ye2j6dTKD2Q3Cos6R4aJqXs5nUeWeAEnwVkRJsrLWaCiZK5NqFq0F8ZFtR/scMBgGqcyVpV5B6tkLoqs1kxg4lJklnaVel+4eDGtdMAtXiG/sj2aT8daLdG5LtPHos9hNPVhfqR678Fuv/qyltAtIzlnA600YMYe0RPMJXeSGan6XlD8fl5mZSmiGuhIWN7VM8YQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) 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=wKyvCTe9QajdPOAE+Dv91kJZU+c4NopZhbxq+f1YGiQ=; b=R1Lz/Hwp5piA+7VUc0P3Dq2GNxzK1fy463VwqA640KZMFpY+r3J8sr0e5engSFaZ2tbiZ14idagupWwqlARJoD0WwirCB4lfV5ty1bGSdp1pKywGForKrs5wBeJabEoPXaic6fwyIUVhMVJ6ZIGjvu1LQYugkJAamuXlmWppDnU= Received: from DB7PR05CA0029.eurprd05.prod.outlook.com (2603:10a6:10:36::42) by AM0PR10MB2161.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:d9::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Thu, 22 Apr 2021 13:32:50 +0000 Received: from DB5EUR03FT032.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:36:cafe::74) by DB7PR05CA0029.outlook.office365.com (2603:10a6:10:36::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.203) 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.203 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.203; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.203) by DB5EUR03FT032.mail.protection.outlook.com (10.152.20.162) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:49 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:36 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:36 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:34 +0200 From: To: , , CC: , , Subject: [PATCH v2 14/18] am335x, guardian: configs: Enable display config Date: Thu, 22 Apr 2021 13:31:48 +0000 Message-ID: <20210422133152.16231-15-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 08c32b18-ed85-4ef4-5015-08d905931fa1 X-MS-TrafficTypeDiagnostic: AM0PR10MB2161: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:208; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LU9r8ClixB/yveiHKaufafDaYcCnZf56nJlNI+gwsPWgMhrJ8nW6T8SETwYXcwVmeMjFQ0LADoqV4U48cX5hZ/V9o2vX2QKfN6ggRO2fvxrFbWZn+smmKu/04W0vvpN2ADVmPwGE0HB+T0R3vYtxMxzKf1Su+a29gzOHSK3/Zt/9Xmb2BQcvSBpEISYRR734ndG+mcaEhBDJnWt1f1hH5Fw8gCNB9l8hQBXQptD5lXpvKdFJdSAd7yB1Na0jZzAu6thoAnjXfz44U/rorl0eJIxEy+dbvuBckU4DqN2UveL4zDon5icuCW6N04n7SVKg2awBM/MVr2LrM/pSmA8jjc6pfE5BWhy0wkayRPgeUTb2MofX6W70vyFOkthcxhPEul5YoXw2mMf2hBz0mSKqw9VX6wJZgBQLHKnGPMQsNtPEG7KHdZUMoED4q8E1MpLAzGLhTpJuM0tDn2dAs5G9W9F94EciyqrcnzpyqFzx0/r5SoXWbMiCXNcP9wbPwNQXrJNfnBi5uGQ8I5De2gXQr1SdKkauTQHjfV08fLwwWhibdcXljsRVqf6RQRLvB4oC/hZ3pfPoZEPbDTnzEHYfyiv7gTH6Z+K4FeXedT/wz6ZCtO8ZtVbEl6MmxhMX0kERvu1Qf9sIQTEZBs0xYapO676LiDE79Sgj82cHZ575Ky/MDadS/ulFMhuk4fygsGIo X-Forefront-Antispam-Report: CIP:139.15.153.203; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(346002)(396003)(136003)(39860400002)(376002)(46966006)(36840700001)(8676002)(316002)(8936002)(478600001)(54906003)(1076003)(110136005)(81166007)(82740400003)(70586007)(83380400001)(47076005)(5660300002)(70206006)(86362001)(186003)(356005)(16526019)(36860700001)(107886003)(26005)(82310400003)(4326008)(6666004)(2616005)(336012)(2906002)(2876002)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:49.7463 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 08c32b18-ed85-4ef4-5015-08d905931fa1 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.203]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT032.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB2161 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath -Enable configuration for display driver -Disable support for SPL GPIO, CMD LED & SPL GPIO Signed-off-by: Gireesh Hiremath --- configs/am335x_guardian_defconfig | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/configs/am335x_guardian_defconfig b/configs/am335x_guardian_defconfig index 4620c2b6aa..6056b78991 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -1,7 +1,7 @@ CONFIG_ARM=y CONFIG_ARCH_CPU_INIT=y CONFIG_ARCH_OMAP2PLUS=y -CONFIG_SPL_GPIO_SUPPORT=y +# CONFIG_SPL_GPIO_SUPPORT is not set CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y CONFIG_ENV_SIZE=0x40000 @@ -53,8 +53,7 @@ CONFIG_CMD_MTD=y CONFIG_CMD_NAND=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set -CONFIG_BOOTP_DNS2=y -# CONFIG_CMD_LED is not set +CONFIG_CMD_BMP=y CONFIG_CMD_EXT4_WRITE=y CONFIG_CMD_MTDPARTS=y CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:256k(SPL),256k(SPL.backup1),256k(SPL.backup2),256k(SPL.backup3),1m(u-boot),1m(u-boot.backup1),1m(u-boot-2),1m(u-boot-2.backup1),256k(u-boot-env),256k(u-boot-env.backup1),256k(splash-screen),-(UBI)" @@ -97,6 +96,9 @@ CONFIG_PHY=y CONFIG_NOP_PHY=y CONFIG_PINCTRL=y CONFIG_PINCTRL_SINGLE=y +CONFIG_SPI=y +CONFIG_DM_SPI=y +CONFIG_OMAP3_SPI=y CONFIG_USB=y CONFIG_DM_USB_GADGET=y CONFIG_SPL_DM_USB_GADGET=y @@ -109,6 +111,11 @@ CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments" CONFIG_USB_GADGET_VENDOR_NUM=0x0451 CONFIG_USB_GADGET_PRODUCT_NUM=0xd022 CONFIG_USB_ETHER=y +CONFIG_DM_VIDEO=y +CONFIG_DM_PANEL_HX8238D=y +CONFIG_VIDEO_BPP16=y +CONFIG_SYS_WHITE_ON_BLACK=y +CONFIG_AM335X_LCD=y CONFIG_SPL_WDT=y # CONFIG_SPL_USE_TINY_PRINTF is not set CONFIG_SPL_OF_LIBFDT=y From patchwork Thu Apr 22 13:31: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: 1469223 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=f5K0bNuF; 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 4FQzBs0K3Vz9sW5 for ; Thu, 22 Apr 2021 23:43:00 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5A6CE82CAC; Thu, 22 Apr 2021 15:40:53 +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="f5K0bNuF"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 101F182B58; Thu, 22 Apr 2021 15:32:59 +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 EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2061c.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e1a::61c]) (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 6F9F282B18 for ; Thu, 22 Apr 2021 15:32:54 +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=nL3TULyNwkiGHUji+Di+513zEyn2Ol6V9lsjWBOOOgQempimXVssDECbB7Np2xd+Yw99pbEo7Jar2Xn9mo+Fh1zHK2F0WAL0KUxTktofQ7IB1D7bG+M6LqnmaIQoDIpIagWXwnmxsrROq5aE7/QfnHnz5NUwTEjdLMhdXaxc5mhrwTtJ4Md31hYmOWc8IQpk3NQelY0w5T2B5RUnlMvrEeEfF+KFCd0ee1ZaQHtLGLwRJgBjB3r9KbyydKNoAgyPjIa6bWbJivPjgS/x30GeESndZvE2wSLA02YXy7tp7jsCPX8uXBRghE6JqR/3m+x7i+TbWarwTlWTLvcLj/I58g== 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=6Hb0S3QOZfbuQ2I2EokZ7Bx+HeavptEnQSkdm+FybIw=; b=ALjDorcxZpEuok/5CJmzbB8AFBwIWB1vXc2AEWZl3S1QVxpb5Lv2hrI4CLk28aKDUH6wy5WPSXWrCInjydkDcikgJmyy9hU288SeFVIBcKdhdFuwQuNyKHJNwmQgOJmZnEKG8fdkDhFuYpA33QWnTAC1A/ZeaWH8VPt1xaNT9xLP6sWfUKushBegWkH5hpC7PA0aAKasyY5BSqx5FadS7Fazx7Ck8OZi8HEYKV+Cx6Ym6gsZJ+VPA4H7GQGbrpik0FvCMPuG+KDN16fxrg3t+jozuF2RBZKy4bNIPcN+Ol0Nq1tYDBiCsAUnWHf3jhLdun+7gFc7wcTypX3UsFxGWQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.203) 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=6Hb0S3QOZfbuQ2I2EokZ7Bx+HeavptEnQSkdm+FybIw=; b=f5K0bNuFLzXfvImaFXXUrV6e1uu2aWvK//W0o95VmeDEPZ9KWwKxLh/WDIk8ExvP+LsgZTE3ZR6lxfg5seYtSfr4LEPkBcQA84hdYXM/bi7fN+HiB4opTTMIV/Jl97lGZSFSHdcZXKsF6hsy47O+MyMhKNK8Z479C3BzvbaRf5Y= Received: from DB6PR0202CA0040.eurprd02.prod.outlook.com (2603:10a6:4:a5::26) by PA4PR10MB4350.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:10c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22; Thu, 22 Apr 2021 13:32:53 +0000 Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:a5:cafe::83) by DB6PR0202CA0040.outlook.office365.com (2603:10a6:4:a5::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:53 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.203) 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.203 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.203; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.203) by DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:51 +0000 Received: from SI-EXCAS2000.de.bosch.com (10.139.217.201) by eop.bosch-org.com (139.15.153.203) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:39 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2000.de.bosch.com (10.139.217.201) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:39 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:36 +0200 From: To: , , CC: , , Subject: [PATCH v2 15/18] drivers: video: hx8238 fix build bug Date: Thu, 22 Apr 2021 13:31:49 +0000 Message-ID: <20210422133152.16231-16-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a0901b50-9c61-462d-4603-08d9059320e0 X-MS-TrafficTypeDiagnostic: PA4PR10MB4350: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:293; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G4W9FUfci7jDbeJynyE2i+/dgb0iVifsabfVamSwp/2g1zKwPAB5b+pN/1zm3TRdF2oiIpRCDbEVri2ElHjEHVBnXFwUd1pn5FmzhXXzdkCx9V0oQSNXoMk4Oq/wZtOszi7C0HT43F3/VVjRYqb0xlmR6jPFcubY5x/FfmB8YwFVJahXZCKoVzXkgE2llmidpyHPoiLeFrfLUn68kkAc9/Lzp8W9iSX+QFOsOUmAVNxjeSnyp7JCC16vB8iIFj5LNogjmwLhORcBJoVlri4GQzsl35f36+uzwdd87gg+hPQ4zfIWOsZzJU6uzt5ALwd7qCPEjYcr9ZkPonhoG9Qtv/q18Mh+CNQ2cJSVcsJdKY59hqTStFiLqWqjPRjCmdbbKMF2yt+260T4c9mVfu19QqHaXIPwvzYGTFWYWO8yjf3slOdqhHUkM3IcSMAmnugxbHslNvSBpKfs0YcL7OnLL5KMTc18EAJ6Hn46wbdwlVTsZ3VkwgqoHuqh51FYumcctw9bvWIa9JWmA/dAHB9vK23z5wdA605vil8DisohyKVN/rysoS9n1h+vZ8q3yIQ1fQecTxGQueQEcvjswjvpdP5rEdqDpdE7H1MGwyJQMA35rd1HWp2dbNzL2WL4G/TSLVt/mVhCQYwPw3Jfb9TlFXm9QQ7BBEMaOlfLWYtIm/JOMeiRru5hIFXEaNzKpuvl X-Forefront-Antispam-Report: CIP:139.15.153.203; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(39860400002)(136003)(396003)(376002)(346002)(36840700001)(46966006)(2616005)(316002)(8676002)(110136005)(82310400003)(36860700001)(107886003)(54906003)(83380400001)(47076005)(81166007)(356005)(82740400003)(4326008)(70206006)(16526019)(6666004)(26005)(186003)(86362001)(2906002)(5660300002)(1076003)(8936002)(70586007)(336012)(2876002)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:51.8462 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a0901b50-9c61-462d-4603-08d9059320e0 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.203]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR10MB4350 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath update panel driver hx8238 fix build bug Signed-off-by: Gireesh Hiremath --- drivers/video/Makefile | 2 +- drivers/video/hx8238d.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 933f06e9d8..1c534a6f9a 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -15,7 +15,7 @@ obj-$(CONFIG_VIDEO_MIPI_DSI) += dsi-host-uclass.o obj-$(CONFIG_DM_VIDEO) += video-uclass.o vidconsole-uclass.o obj-$(CONFIG_DM_VIDEO) += video_bmp.o obj-$(CONFIG_PANEL) += panel-uclass.o -obj-$(CONFIG_PANEL_HX8238D) += hx8238d.o +obj-$(CONFIG_DM_PANEL_HX8238D) += hx8238d.o obj-$(CONFIG_SIMPLE_PANEL) += simple_panel.o endif diff --git a/drivers/video/hx8238d.c b/drivers/video/hx8238d.c index f7e7753a53..6ee97cb4ff 100644 --- a/drivers/video/hx8238d.c +++ b/drivers/video/hx8238d.c @@ -191,7 +191,7 @@ U_BOOT_DRIVER(hx8238d) = { .name = "hx8238d", .id = UCLASS_PANEL, .of_match = hx8238d_ids, - .ofdata_to_platdata = hx8238d_ofdata_to_platdata, + .of_to_plat = hx8238d_ofdata_to_platdata, .probe = hx8238d_probe, - .priv_auto_alloc_size = sizeof(struct hx8238d_priv), + .priv_auto = sizeof(struct hx8238d_priv), }; From patchwork Thu Apr 22 13:31:50 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469224 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=85.214.62.61; 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=UiRZZCbS; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQzC61jVqz9sWD for ; Thu, 22 Apr 2021 23:43:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 627A482CB7; Thu, 22 Apr 2021 15:40: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=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="UiRZZCbS"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B171082B18; Thu, 22 Apr 2021 15:33:00 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::609]) (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 B3A0282B43 for ; Thu, 22 Apr 2021 15:32:56 +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=OJ372xtVGBMJVGHHm6bupyUM0Y8IKoOUk9f4MR57NQ2VC1LHavyHx0zKDHrGiI75BjNTuJVeaZO8xJgw6ZUdD+lkF9AsGqvPCuGCP9SsV62OxSFe14FkLCNttAXFaWMMKNdQ7EtBN3RJ/e4ITzYjZihYk6R5EtDczuMCWHuMSYdVIBem6hE12Fq7636bN92S3Jv+U6PbP8czZf3JHA6AZoLH4sVaGhSWap4PzeYYM4aO9jPeAfmDVWhwGoSPx7eGhG6tuodQYfvJ3eKeLugtoUKaZI5L2RPqewFQN366HBc7fLrShk6Qg+40xeX9Rd3QAWK7uI344fMqbbrnHvCiqg== 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=IeJP0l1phPhjqnyXLoMP8/IyDvz0VVKf7uZ20TDurM4=; b=LHbmVPmKyh5in2k6YlbhrnpbWIk7qy6J5Q2OQ7ie9LCOD+84NaOowuhZaAPFa/nrYnwGeP88GPgeYhpN3wWnWUAM0ZQ16Sp4ROY/80paWZIISMDmEw+V/qdYizbfn/eAWQHHnmzOxsyZmcIDD7KBHCAFGmRll7cATKFV/1Qs6z5cYWrW+SUe9m3Wd+R8MRXRy1++KkUGVP+t0fOdZtLHZMAnv8X1CE9ZjWrJz8PfYKQ7MAOhcDXzqr8s5Rz/66+D47NqF9/h7/5FQN54z/zLx9PLFsMtLb8PmQ5+Z4KNvzcC8ZstuUmdwZ6fhdYnUMK6xmNo9G+VcqOdIq5h29lZOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) 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=IeJP0l1phPhjqnyXLoMP8/IyDvz0VVKf7uZ20TDurM4=; b=UiRZZCbSeWvMWOhD3YJ/QCufzY9DqumH7WNjyNOdNq1N3FfypnExFvhjVapfuVuvMdEpJ3l2led35McC08+3vr+NPc2BQ2PezWn8+v2JwtuFrFSupOIDLNoYu2og0y1dwWM4bX97W4IdyTq2En2J+JHqezWWUTJ8IP71B19/w4E= Received: from AM6P193CA0096.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::37) by AM7PR10MB3843.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:14c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Thu, 22 Apr 2021 13:32:55 +0000 Received: from VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:88:cafe::51) by AM6P193CA0096.outlook.office365.com (2603:10a6:209:88::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:55 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) 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.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.199) by VE1EUR03FT054.mail.protection.outlook.com (10.152.19.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:55 +0000 Received: from SI-EXCAS2001.de.bosch.com (10.139.217.202) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:41 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by SI-EXCAS2001.de.bosch.com (10.139.217.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:41 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:38 +0200 From: To: , , CC: , , Subject: [PATCH v2 16/18] am335x, guardian: Enable panel driver Himax HX8238D Date: Thu, 22 Apr 2021 13:31:50 +0000 Message-ID: <20210422133152.16231-17-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aa406dae-6c84-48e7-c1a7-08d9059322da X-MS-TrafficTypeDiagnostic: AM7PR10MB3843: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:20; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: G44sx7HsKdr9XAfK2Yn6GBFbAEW16Zt+UYojtkd8iBOCmLBrClO1YHjrUONn27UxbNCq8JaX/19YKvImWFwll64YeS4ig1P2JJ5VNz3BHI5JQwNyA9p0sJ0ppUJ9zOktQdCakSAlTTwKzAewZ+QUFw8nt7YvrTMS/hk2IDjNT9HDOFkzL9C1Hd6Koempa5NXWbhdE+wEyWXLwAc0wfKgbBgOq4ung/Hip9C+s8qetM+hgaiNTHYfaAXbT1NapwZ2UDQ0eHmoRoLrnTzbtcQcA/EaffeV1Gr0lf96N0iabouZyMj4qL8zLkeOsghU2qTZmyJ2DhkcsQGNI3twz+ASJbhUC42Te6finHKSyJJAm5w3QLeAkxME5/XE6DD1blnDDiizAzFDfB48w8HCQGZmrbxtjU7vKtSS1Drzfsm0MbbI50THHtLCHiw1PDg3Cj6M+ayEBnA0+rs7e8CJf4UD85NlsiHgTaapO8UyfM2+hPZfzDPYgwKxkE+/EtO9NgfC1ThyAmRoWNpfCiJSSTvsGJG99pN1PwJ6r4e9pTD77AwCZF2maBHPUSdTYM1TwwlEY5TsEZ9OzAi5HPXbjReq2U/YFuZGu6pAYYiKP4W7V9BMXmxxWJwNQuPhyPLiGXQAqgFPfExn7OxfulNDf17NiFGvzYA9yMn2TYCtQbJnMt6HYqgObZ+7KHEi0aNF+I36 X-Forefront-Antispam-Report: CIP:139.15.153.199; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(396003)(346002)(46966006)(36840700001)(2906002)(4326008)(110136005)(16526019)(336012)(6666004)(54906003)(186003)(47076005)(82310400003)(316002)(2616005)(107886003)(36860700001)(26005)(2876002)(1076003)(81166007)(70206006)(356005)(8936002)(8676002)(53546011)(5660300002)(70586007)(86362001)(83380400001)(82740400003)(478600001)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:55.1799 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa406dae-6c84-48e7-c1a7-08d9059322da 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.199]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT054.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR10MB3843 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath - Enable lcd controller - Display splash screen Signed-off-by: Gireesh Hiremath --- On 06/01/21 9:01 pm, Gireesh.Hiremath@in.bosch.com wrote: > diff --git a/board/bosch/guardian/board.c > b/board/bosch/guardian/board.c index 8b3c82cafd..f3e616d21c 100644 > --- a/board/bosch/guardian/board.c > +++ b/board/bosch/guardian/board.c > @@ -79,6 +79,18 @@ void am33xx_spl_board_init(void) > int mpu_vdd; > int usb_cur_lim; > > + struct cm_perpll *const cmper = (struct cm_perpll *)CM_PER; > + > + /*enable lcd controller related clocks*/ > + u32 *const clk_domains[] = { 0 }; > + > + u32 *const clk_modules_xre1specific[] = { > + &cmper->lcdclkctrl, > + &cmper->lcdcclkstctrl, > + 0 > + }; > + do_enable_clocks(clk_domains, clk_modules_xre1specific, 1); I am worried this is going to effect other platforms. Recently CLK support is introduced for am33 platforms. Can you use that and get clocks info from DT. Thanks and regards, Lokesh Hi Lokesh I removed lcdc clock enabling code from board file and used recently added CLK & LCD driver support from am33 platforms. Thanks and regards, Gireesh Hiremath arch/arm/dts/am335x-guardian-u-boot.dtsi | 11 +++ arch/arm/dts/am335x-guardian.dts | 8 ++- arch/arm/mach-omap2/am33xx/Kconfig | 2 + board/bosch/guardian/board.c | 87 +++++++++++++++++++++++- board/bosch/guardian/mux.c | 3 +- include/configs/am335x_guardian.h | 11 +++ 6 files changed, 119 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/am335x-guardian-u-boot.dtsi b/arch/arm/dts/am335x-guardian-u-boot.dtsi index 986f58e664..a1a7913de8 100644 --- a/arch/arm/dts/am335x-guardian-u-boot.dtsi +++ b/arch/arm/dts/am335x-guardian-u-boot.dtsi @@ -42,6 +42,17 @@ u-boot,dm-pre-reloc; }; +&spi0 { + lcd0: display@0 { + compatible = "himax,hx8238d"; + pinctrl-names = "default"; + pinctrl-0 = <&lcd0_pins>; + reg = <0>; + label = "lcd"; + spi-max-frequency = <100000>; + }; +}; + &uart0 { u-boot,dm-pre-reloc; }; diff --git a/arch/arm/dts/am335x-guardian.dts b/arch/arm/dts/am335x-guardian.dts index 207246b4e0..69bee45848 100644 --- a/arch/arm/dts/am335x-guardian.dts +++ b/arch/arm/dts/am335x-guardian.dts @@ -87,7 +87,7 @@ ac-bias = <255>; ac-bias-intrpt = <0>; dma-burst-sz = <16>; - bpp = <24>; + bpp = <16>; bus-width = <16>; fdd = <0x80>; sync-edge = <0>; @@ -247,6 +247,12 @@ &lcdc { blue-and-red-wiring = "crossed"; status = "okay"; + + port { + lcdc_0: endpoint@0 { + remote-endpoint = <0>; + }; + }; }; &mmc1 { diff --git a/arch/arm/mach-omap2/am33xx/Kconfig b/arch/arm/mach-omap2/am33xx/Kconfig index 9a98e8a0a9..204975092a 100644 --- a/arch/arm/mach-omap2/am33xx/Kconfig +++ b/arch/arm/mach-omap2/am33xx/Kconfig @@ -94,6 +94,8 @@ config TARGET_AM335X_GUARDIAN select DM_SERIAL select DM_GPIO select DM_USB + select DM_VIDEO + select DM_PANEL_HX8238D config TARGET_AM335X_SL50 bool "Support am335x_sl50" diff --git a/board/bosch/guardian/board.c b/board/bosch/guardian/board.c index 6e6221ca60..03740c08b9 100644 --- a/board/bosch/guardian/board.c +++ b/board/bosch/guardian/board.c @@ -25,12 +25,16 @@ #include #include #include -#include #include #include #include #include #include +#include +#include +#include +#include +#include #include "board.h" DECLARE_GLOBAL_DATA_PTR; @@ -249,13 +253,94 @@ void lcdbacklight_en(void) brightness != 0 ? 0x0A : 0x02, 0xFF); } +#if IS_ENABLED(CONFIG_AM335X_LCD) +static void splash_screen(void) +{ + struct udevice *video_dev; + struct udevice *console_dev; + struct video_priv *vid_priv; + struct mtd_info *mtd; + size_t len; + int ret; + + struct mtd_device *mtd_dev; + struct part_info *part; + u8 pnum; + + ret = uclass_get_device(UCLASS_VIDEO, 0, &video_dev); + if (ret != 0) { + debug("video device not found\n"); + goto exit; + } + + vid_priv = dev_get_uclass_priv(video_dev); + mtdparts_init(); + + if (find_dev_and_part(SPLASH_SCREEN_NAND_PART, &mtd_dev, &pnum, &part)) { + debug("Could not find nand partition\n"); + goto splash_screen_text; + } + + mtd = get_nand_dev_by_index(mtd_dev->id->num); + if (!mtd) { + debug("MTD partition is not valid\n"); + goto splash_screen_text; + } + + len = SPLASH_SCREEN_BMP_FILE_SIZE; + ret = nand_read_skip_bad(mtd, part->offset, &len, NULL, + SPLASH_SCREEN_BMP_FILE_SIZE, + (u_char *)SPLASH_SCREEN_BMP_LOAD_ADDR); + if (ret != 0) { + debug("Reading NAND partition failed\n"); + goto splash_screen_text; + } + + ret = video_bmp_display(video_dev, SPLASH_SCREEN_BMP_LOAD_ADDR, 0, 0, false); + if (ret != 0) { + debug("No valid bmp image found!!\n"); + goto splash_screen_text; + } else { + goto exit; + } + +splash_screen_text: + vid_priv->colour_fg = CONSOLE_COLOR_RED; + vid_priv->colour_bg = CONSOLE_COLOR_BLACK; + + if (!uclass_first_device_err(UCLASS_VIDEO_CONSOLE, &console_dev)) { + debug("Found console\n"); + vidconsole_position_cursor(console_dev, 17, 7); + vidconsole_put_string(console_dev, SPLASH_SCREEN_TEXT); + } else { + debug("No console device found\n"); + } + +exit: + return; +} +#endif /* CONFIG_AM335X_LCD */ + int board_late_init(void) { + int ret; + struct udevice *cdev; + #ifdef CONFIG_LED_GPIO led_default_state(); #endif set_bootmode_env(); + + ret = uclass_get_device(UCLASS_PANEL, 0, &cdev); + if (ret) { + debug("video panel not found: %d\n", ret); + return ret; + } + lcdbacklight_en(); + if (IS_ENABLED(CONFIG_AM335X_LCD)) + splash_screen(); + return 0; } #endif /* CONFIG_BOARD_LATE_INIT */ diff --git a/board/bosch/guardian/mux.c b/board/bosch/guardian/mux.c index 9c81f29f9f..12c3eb666f 100644 --- a/board/bosch/guardian/mux.c +++ b/board/bosch/guardian/mux.c @@ -28,8 +28,9 @@ static struct module_pin_mux i2c0_pin_mux[] = { static struct module_pin_mux guardian_interfaces_pin_mux[] = { {OFFSET(mcasp0_ahclkx), (MODE(7) | PULLDOWN_EN)}, + {OFFSET(mii1_txen), (MODE(7) | PULLDOWN_EN)}, {OFFSET(mcasp0_aclkx), (MODE(7) | PULLUP_EN)}, - {OFFSET(mii1_txd0), (MODE(7) | PULLUP_EN)}, + {OFFSET(mdio_clk), (MODE(7) | PULLUP_EN)}, {OFFSET(uart1_rxd), (MODE(7) | RXACTIVE | PULLUDDIS)}, {OFFSET(uart1_txd), (MODE(7) | PULLUDDIS)}, {OFFSET(mii1_crs), (MODE(7) | PULLDOWN_EN)}, diff --git a/include/configs/am335x_guardian.h b/include/configs/am335x_guardian.h index 08a9ac950c..ef73446466 100644 --- a/include/configs/am335x_guardian.h +++ b/include/configs/am335x_guardian.h @@ -86,6 +86,17 @@ #endif /* ! CONFIG_SPL_BUILD */ +#define CONFIG_BMP_16BPP +#define SPLASH_SCREEN_NAND_PART "nand0,10" +#define SPLASH_SCREEN_BMP_FILE_SIZE 0x26000 +#define SPLASH_SCREEN_BMP_LOAD_ADDR 0x82000000 +#define SPLASH_SCREEN_TEXT "U-Boot" + +/* BGR 16Bit Color Definitions */ +#define CONSOLE_COLOR_BLACK 0x0000 +#define CONSOLE_COLOR_WHITE 0xFFFF +#define CONSOLE_COLOR_RED 0x001F + /* NS16550 Configuration */ #define CONFIG_SYS_NS16550_COM1 0x44e09000 /* UART0 */ #define CONFIG_SYS_NS16550_COM2 0x48022000 /* UART1 */ From patchwork Thu Apr 22 13:31:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469226 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=c6Tq03xz; 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 4FQzCb5PtCz9sWH for ; Thu, 22 Apr 2021 23:43:39 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA41C82B7F; Thu, 22 Apr 2021 15:41:08 +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="c6Tq03xz"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4BD1782B36; Thu, 22 Apr 2021 15:33:07 +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 EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on0609.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe0c::609]) (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 8415E82B55 for ; Thu, 22 Apr 2021 15:33:01 +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=I/hrxP+JsGjpvF5XIv4Iw6YL8tS5A+MeCBG/weBEXXIbcXpiHzrI2mKOzln/7nf943l4d+JmErDYUbAKhxscM1jBHIvTg9St643veYLIXO1COUciBVC3EoOCgRYylE0dU5a2QWeCAjtFQuN9pvNH6zc0lnFrSg0vE6ZYIsmc7jXZhQpnhZAfbA4rDUZR5FRHDBaRGupRe1ysQI311dvds94U1cBhkfzhv6jnq8IAyob0dlNnBiQ5EmnsDq/ywBvLkhE+cajRYrL/RPeGjZkg4Vd+BL9KdVPYVgUm4ZG46VKf7q/NvKyy1DJ3dyji7Q64XAYPkFdA9sJ2PEYdg8G8NA== 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=Z6zYF6w8f8BVtzLpiNMeNh2mizBTXrTOETkFQ8WFBp8=; b=Ug7wtBu1em9ptmTeTsHjT1siN8qSqcxd1ql8A7cRJzce4vTKQ+m+M2jUMLfYwTktdr2y0a++sowAB2Q0EmM+THQRqKC8udY6bC7DGUduA9V5Jl9KbhELqdR4EyGiSJwxvLnXG5mn9O9h8ZJmb3BdrHYuGiOn6+iMJF3Wez1kZTmf7/w8lwkM7C1EXTTLh34S77KbXz7WR1k5cIDD48F+1uTROpcIGw+AQCMij3sFdvhOT8/YcW5wk+Una25H9RpG46actvI+3kimnlF6ZWqTbe8v1zFmXsfn4pwGNAa8MIV5Z8EQCcvXRso/+PT7uFRc415+rGSBavptMB00txaFRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) 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=Z6zYF6w8f8BVtzLpiNMeNh2mizBTXrTOETkFQ8WFBp8=; b=c6Tq03xzg8xM8xRNovFd7oEuLo3xkhuorJ3t8+iYxyy7i2QlNhQhD0UQ2uMHpjdTSUwf3R1XRF3sHuXVt68hKkUlZuLNS25/pNp2/y6HB4fQe76q/2dunN+i1e7Ugx++aqZtn1ETPXMM1MKCHNRB+qO3J9LKr5XORjFzqoIuvkA= Received: from AM5PR04CA0017.eurprd04.prod.outlook.com (2603:10a6:206:1::30) by DB8PR10MB2890.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:10:e6::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20; Thu, 22 Apr 2021 13:32:58 +0000 Received: from VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:1:cafe::3c) by AM5PR04CA0017.outlook.office365.com (2603:10a6:206:1::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.20 via Frontend Transport; Thu, 22 Apr 2021 13:32:58 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) 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.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.199) by VE1EUR03FT039.mail.protection.outlook.com (10.152.19.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:57 +0000 Received: from FE-EXCAS2000.de.bosch.com (10.139.217.199) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:43 +0200 Received: from SI-HUB2000.de.bosch.com (10.4.103.108) by FE-EXCAS2000.de.bosch.com (10.139.217.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:43 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:41 +0200 From: To: , , CC: , , Subject: [PATCH v2 17/18] am335x, guardian: software update available status is stored in AM3352 RTC scracth register Date: Thu, 22 Apr 2021 13:31:51 +0000 Message-ID: <20210422133152.16231-18-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d19a8709-c28c-4a52-4892-08d90593240a X-MS-TrafficTypeDiagnostic: DB8PR10MB2890: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Hr8WdwVzOTeDBOiiSAx13HpmM8NdLep6Wid4urUwZof0K6beQdW5Xd3TGYXFi8z9Av2IlejKFtRRzrTnjCX50A+M9SUR7/zty8qp4bsQvJfDyKAknnCxcMfiCQWVs+kB9VXjHphYzgcbZkHWTScnnNFfHRazAPAl6Jy9oHRMjvZ8IP0uiQe/L2vdkevvlVCR7Ovho+VmifHwJtJf+HOG1qQA1kJoh3SRXiBCNT1hujq7+MIqkxG8iHrfxr36LvmE/YG+PofOuzJpBFi+/ZOt4LUt52pghtWoK8jQyH+VjdBXAvk17JedUhg9w/cI8nG09IHnaABDivbGCOiG3J+7KgZwTVtU5ezKQRR69TrfnQ87309vqZ0t4mS29Brrdm3oPa54ATImCslcM0gXKY69YHigmDVEgZOO1P7pItfA944ixux6lRDmU9mzONEI9sVdhHsz3ZT8N5HPeogT1WcfukpTyKPUaieO7hErevGv0H/zbbOyG5Mk0P/nEuZ1fn1Efyhuu8ztJR1M9UEpNdI0WivRB8ZfxurYGdf0mo1nDNYsyMKPa4LQPkJ47QuouHpLTlVOKdJs5AasL5abKjaJJt74b012Okor7VpYkWZuKWFQf4rCo7bvyINTrG1A2glkDS7QarpgAU+P05nWmH4VtLSqs1SpC5+s5V4J0fUzTrNZHq3xdN1SWcJg7+Pr5I1K X-Forefront-Antispam-Report: CIP:139.15.153.199; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(136003)(396003)(346002)(376002)(39860400002)(36840700001)(46966006)(81166007)(36860700001)(1076003)(86362001)(186003)(2616005)(8676002)(83380400001)(336012)(47076005)(16526019)(15650500001)(478600001)(82310400003)(6666004)(26005)(316002)(2906002)(2876002)(54906003)(356005)(110136005)(70206006)(107886003)(70586007)(53546011)(8936002)(5660300002)(82740400003)(4326008)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:57.1621 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d19a8709-c28c-4a52-4892-08d90593240a 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.199]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR10MB2890 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 at phobos.denx.de X-Virus-Status: Clean From: Gireesh Hiremath RTC second scratch register[32-bit]: -zero byte hold boot count value -first byte hold update available state -second byte hold version -third byte hold magic number Signed-off-by: Gireesh Hiremath Gbp-Pq: Topic apertis/guardian Gbp-Pq: Name am335x-guardian-software-update-available-status-is-store.patch --- On 06/01/21 9:02 pm, Gireesh.Hiremath@in.bosch.com wrote: > From: Gireesh Hiremath > > RTC second scratch register[32-bit]: > -zero byte hold boot count value > -first byte hold update available state > -second byte hold version > -third byte hold magic number > > Signed-off-by: Gireesh Hiremath > > Gbp-Pq: Topic apertis/guardian > Gbp-Pq: Name > am335x-guardian-software-update-available-status-is-store.patch Hmm..not sure what this is.. Cover letter is not needed for a single patch btw. > --- > configs/am335x_guardian_defconfig | 1 + > drivers/bootcount/Kconfig | 27 ++++++++++++-- > drivers/bootcount/Makefile | 1 + > drivers/bootcount/bootcount_nvmem.c | 57 > +++++++++++++++++++++++++++++ Please split driver and defconfig changes. Isn't it possible to re-use drivers/bootcount/bootcount_davinci.c? Thanks and regards, Lokesh Hi Lokesh Splited driver and defconfig changes. We are using the update manager on an AM3352 where we have only the RTC Scratch registers to store the data in. Unfortunately the drivers/bootcount/bootcount_davinci.c is only handling the bootcount itself and not dealing with update_available and version. The consequence is that rollbacks could always happen, not just after an update. This can e.g. be triggered if the user tries to start up the device with a weak accu pack where the device bootloader might be executed and then the battery dies off during Linux startup. Then bootcount would be incremented, but not reset by the Linux process. If that happens several times in a row, the device will roll back, even if the update was done years ago. Other backends, like drivers/bootcount/bootcount_ext.c handle this properly, by only incrementing boot count if update_available==1. We thought of modifying bootcount_davinci.c but we concerned about backwards compatibility and breakage of other user space update managers. Therefore we think to introduce an alternative backend. Thanks and regards, Gireesh Hiremath drivers/bootcount/Kconfig | 27 ++++++++++++-- drivers/bootcount/Makefile | 1 + drivers/bootcount/bootcount_nvmem.c | 57 +++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 drivers/bootcount/bootcount_nvmem.c diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index b5ccea0d9c..d543061233 100644 --- a/drivers/bootcount/Kconfig +++ b/drivers/bootcount/Kconfig @@ -42,6 +42,25 @@ config BOOTCOUNT_AM33XX This requires the RTC clocks, etc, to be enabled prior to use and not all boards with this IP block on it will have the RTC in use. +config BOOTCOUNT_AM33XX_NVMEM + bool "Boot counter in AM33XX RTC IP block with upgrade_available flag" + depends on AM33XX + select SPL_AM33XX_ENABLE_RTC32K_OSC if AM33XX + help + Add support for maintaining bootcount,upgrade_available, + version and BOOTMAGIC in a AM33xx RTC IP block + scratch register2. + + A bootcount driver for the RTC IP block found on many TI platforms. + This requires the RTC clocks, etc, to be enabled prior to use and + not all boards with this IP block on it will have the RTC in use. + + If there is upgrade in software then "upgrade_available" is 1, + "bootcount" is incremented otherwise "upgrade_available" and + "bootcount" is always 0. So the Userspace Application must set + the "upgrade_available" and "bootcount" variable to 0, if a boot + was successfully. + config BOOTCOUNT_ENV bool "Boot counter in environment" help @@ -177,16 +196,18 @@ config SYS_BOOTCOUNT_EXT_NAME config SYS_BOOTCOUNT_ADDR hex "RAM address used for reading and writing the boot counter" - default 0x44E3E000 if BOOTCOUNT_AM33XX + default 0x44E3E000 if BOOTCOUNT_AM33XX || BOOTCOUNT_AM33XX_NVMEM default 0xE0115FF8 if ARCH_LS1043A || ARCH_LS1021A depends on BOOTCOUNT_AM33XX || BOOTCOUNT_GENERIC || BOOTCOUNT_EXT || \ - BOOTCOUNT_I2C + BOOTCOUNT_I2C || BOOTCOUNT_AM33XX_NVMEM help Set the address used for reading and writing the boot counter. config SYS_BOOTCOUNT_MAGIC hex "Magic value for the boot counter" - default 0xB001C041 + default 0xB001C041 if BOOTCOUNT_AM33XX + default 0xB0 if BOOTCOUNT_AM33XX_NVMEM + depends on BOOTCOUNT_AM33XX || BOOTCOUNT_AM33XX_NVMEM help Set the magic value used for the boot counter. diff --git a/drivers/bootcount/Makefile b/drivers/bootcount/Makefile index 51d860b00e..12658ffdce 100644 --- a/drivers/bootcount/Makefile +++ b/drivers/bootcount/Makefile @@ -8,6 +8,7 @@ obj-$(CONFIG_BOOTCOUNT_RAM) += bootcount_ram.o obj-$(CONFIG_BOOTCOUNT_ENV) += bootcount_env.o obj-$(CONFIG_BOOTCOUNT_I2C) += bootcount_i2c.o obj-$(CONFIG_BOOTCOUNT_EXT) += bootcount_ext.o +obj-$(CONFIG_BOOTCOUNT_AM33XX_NVMEM) += bootcount_nvmem.o obj-$(CONFIG_DM_BOOTCOUNT) += bootcount-uclass.o obj-$(CONFIG_DM_BOOTCOUNT_RTC) += rtc.o diff --git a/drivers/bootcount/bootcount_nvmem.c b/drivers/bootcount/bootcount_nvmem.c new file mode 100644 index 0000000000..5f266d5ec8 --- /dev/null +++ b/drivers/bootcount/bootcount_nvmem.c @@ -0,0 +1,57 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * (C) Copyright 2011 + * Heiko Schocher, DENX Software Engineering, hs@denx.de. + * (C) Copyright 2018 Robert Bosch Power Tools GmbH. + * + * A bootcount driver for the RTC IP block found on many TI platforms. + * This requires the RTC clocks, etc, to be enabled prior to use and + * not all boards with this IP block on it will have the RTC in use. + */ + +#include +#include + +#define BC_VERSION 2 + +void bootcount_store(ulong bootcount) +{ + u8 upgrade_available = 0; + ulong val = 0; + struct davinci_rtc *reg = + (struct davinci_rtc *)CONFIG_SYS_BOOTCOUNT_ADDR; + + val = raw_bootcount_load(®->scratch2); + upgrade_available = (val >> 8) & 0x000000ff; + + /* Only update bootcount during upgrade process */ + if (!upgrade_available) + bootcount = 0; + + val = (bootcount & 0x000000ff) | + (upgrade_available << 8) | + (BC_VERSION << 16) | + (CONFIG_SYS_BOOTCOUNT_MAGIC << 24); + + /* + * write RTC kick registers to enable write + * for RTC Scratch registers. Scratch register 2 is + * used for bootcount value. + */ + writel(RTC_KICK0R_WE, ®->kick0r); + writel(RTC_KICK1R_WE, ®->kick1r); + raw_bootcount_store(®->scratch2, val); +} + +ulong bootcount_load(void) +{ + unsigned long val = 0; + struct davinci_rtc *reg = + (struct davinci_rtc *)CONFIG_SYS_BOOTCOUNT_ADDR; + + val = raw_bootcount_load(®->scratch2); + if ((val >> 24) != CONFIG_SYS_BOOTCOUNT_MAGIC) + return 0; + else + return val & 0x000000ff; +} From patchwork Thu Apr 22 13:31:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gireesh Hiremath X-Patchwork-Id: 1469227 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=85.214.62.61; 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=kYDD7FVW; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4FQzCr6sRSz9sW5 for ; Thu, 22 Apr 2021 23:43:52 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 349D982CCC; Thu, 22 Apr 2021 15:41:12 +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="kYDD7FVW"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C925E82B4A; Thu, 22 Apr 2021 15:33:09 +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 EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03on0615.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe09::615]) (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 3859082B43 for ; Thu, 22 Apr 2021 15:33:02 +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=RILPq0RM+XFyCBPHitH5Mb8B39fMN29C3I7DWQujzyzYMp0PFymFVZ/qQBoLbZevsNfDTfHL9V/1fN7u0aCXk+gfOIC0fcojRJDyujTtKlnOul8M+FY2ggSKRMU8r7cnnHUjdWToEFsSrlclBSVuudeaAU6+KQMp7vP5OzKEYpe/3i5lHkNrD/WjxeOtJLeTdi0LebjtSHr+pQ3JC/JdTNXGaYiCm0DPy3C3WJsw9JIY28JZZbEOG2Kq6m/j44i7kaIT3jTXkBttT9mFpc9eFWbRKIc97oqKPzyNmdEKAJbHQfxR0cYbO5GfCg0bKK81UcSwUS/MRZPNT53gjEAa5g== 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=cJjtn4wEM3c7+KVYvYfkd5c+1EuxkjdfGkCuOvE/jww=; b=Fm33UEHpOz3do8k4HzV+iVafwBloSJLY9ueIzBseM/MZYY9vQVR0ejU0HRWoUU/A4ZGcbgUuTlknPR2fLcIAx0BQNe5KtR12uVykWKeXy4e7HaIoMvrqxxP+BKY101mxTrszu3MY1tDAKcdb+GOspSw84Z14Tk06MztE+BQDrmIuSeTkqG4kenMUxOhMHAOPOdJyPtNqyQ7kSGcWVlm1jJrvaAWeDjdcMSk7hmaWPmpBivMOWs7abWoGEjsDqvTd+H5zsBRkO6yYxzhhBjPoEW7EHg10h9268hx2OK0+oxQGx6GJWbQ3Z0QC7mI3iQhk79MUhJ1S0mYIAHsdhqibJw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 139.15.153.199) 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=cJjtn4wEM3c7+KVYvYfkd5c+1EuxkjdfGkCuOvE/jww=; b=kYDD7FVWxAK6VGP2PZJEfCnFhJybtR+vkhwenzsy6N5Kg3xzCoZKcNPLuTWNUworr7WAwFjliWa7dcVagsj+Mylr0EtHu57M6gGezYeR2CX1O5avzO2HipFtWmF7QcZd/TW04ffuEivw2NVMb/sJiwVntwKgUcVxH0l2sJKLLQ0= Received: from AM7PR04CA0010.eurprd04.prod.outlook.com (2603:10a6:20b:110::20) by VI1PR10MB3694.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:800:135::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.22; Thu, 22 Apr 2021 13:33:01 +0000 Received: from VE1EUR03FT008.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:110:cafe::36) by AM7PR04CA0010.outlook.office365.com (2603:10a6:20b:110::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:33:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 139.15.153.199) 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.199 as permitted sender) receiver=protection.outlook.com; client-ip=139.15.153.199; helo=eop.bosch-org.com; Received: from eop.bosch-org.com (139.15.153.199) by VE1EUR03FT008.mail.protection.outlook.com (10.152.18.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21 via Frontend Transport; Thu, 22 Apr 2021 13:32:59 +0000 Received: from FE-EXCAS2001.de.bosch.com (10.139.217.200) by eop.bosch-org.com (139.15.153.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2176.2; Thu, 22 Apr 2021 15:32:45 +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.2; Thu, 22 Apr 2021 15:32:45 +0200 Received: from localhost.localdomain (10.141.216.63) by SI-HUB2000.de.bosch.com (10.4.103.108) with Microsoft SMTP Server id 15.1.2176.2; Thu, 22 Apr 2021 15:32:43 +0200 From: To: , , CC: , , Subject: [PATCH v2 18/18] am335x, guardian: configs: Enable bootcount nvmem support Date: Thu, 22 Apr 2021 13:31:52 +0000 Message-ID: <20210422133152.16231-19-Gireesh.Hiremath@in.bosch.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> References: <20210422133152.16231-1-Gireesh.Hiremath@in.bosch.com> MIME-Version: 1.0 X-Originating-IP: [10.141.216.63] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aa95261d-cb78-47a1-c52b-08d905932572 X-MS-TrafficTypeDiagnostic: VI1PR10MB3694: 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: 1lxKRSNwfeK7fLLHZOks9nSoT8oOmzzBZWTf2wFXRoM+7EgDddVt3BZhw8wcsVHBKajYbi2/GGNJiKCq+/HYvG+2eKfdw1XtEAaGBkuJsf7ebjQtl5rkkEDt4cHSryyExxch8x1ZSROuRvmDsKRCvPdnH8qnvwZW6dslCXNfkj8N+asB8bdRl1QkvEtSArK/tI0K3jVtr1sKSF67ieMcg09zgz0pLMi7DrvFAGvVGdOlghliEL8OoCFDXdqcaLdg5kt6q5TovcoMBL1ztxtwo35hsvdBnmFMPFjKkHXtDt96bIxs65d1jMfRtt/n/QhREJlUqrba+E9kevVfWEReCAc+RXcMF1LABtU4acHV10Nzybbm7IuG0/W6/Xg2rb+thxpbCi2UWtvmdCKSLGybR4fdUFyxfiYjoPTJUuUk+p02SpBzWsd9Buhf1l+sgLIG9MQnS1TU8bRrH7B1QbpaRc7IFNEutXd9PvrAMVI/IBODdKDOMvGzdLjV6LLd/JKKYnjDCkeJaAyGU88RIdukXdify64wzLI9VnnqeXfLdz/rarQ/KabhQAAsluVsabrpuyde0+yvwFI2ZiSEv+QSRosTMt0A4urucyIxhxXNdDdVMOFe+iz0geNEwuGOSUpg4BNS3ZP+FVbQd5MTsCImm744kzC7JnEUUjAlPsv6goF4ZMYtx/4ZU5qBBzTxQkOy X-Forefront-Antispam-Report: CIP:139.15.153.199; CTRY:DE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:eop.bosch-org.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(4636009)(396003)(136003)(39860400002)(346002)(376002)(36840700001)(46966006)(336012)(478600001)(4326008)(316002)(86362001)(186003)(16526019)(2616005)(26005)(70206006)(2876002)(82740400003)(4744005)(83380400001)(82310400003)(1076003)(6666004)(107886003)(5660300002)(81166007)(356005)(70586007)(54906003)(36860700001)(2906002)(47076005)(8936002)(8676002)(110136005)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: in.bosch.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Apr 2021 13:32:59.5226 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa95261d-cb78-47a1-c52b-08d905932572 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.199]; Helo=[eop.bosch-org.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB3694 X-Mailman-Approved-At: Thu, 22 Apr 2021 15:39:45 +0200 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.102.4 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 6056b78991..65a3c23e9c 100644 --- a/configs/am335x_guardian_defconfig +++ b/configs/am335x_guardian_defconfig @@ -71,6 +71,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