From patchwork Thu Aug 20 15:11:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rayagonda Kokatanur X-Patchwork-Id: 1348447 X-Patchwork-Delegate: trini@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; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=broadcom.com header.i=@broadcom.com header.a=rsa-sha256 header.s=google header.b=VgBywBl4; 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 4BXSn057Ppz9sV4 for ; Fri, 21 Aug 2020 01:12:20 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6450D82386; Thu, 20 Aug 2020 17:11:51 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.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=broadcom.com header.i=@broadcom.com header.b="VgBywBl4"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F214C82386; Thu, 20 Aug 2020 17:11: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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9601182384 for ; Thu, 20 Aug 2020 17:11:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=rayagonda.kokatanur@broadcom.com Received: by mail-pg1-x543.google.com with SMTP id i10so1289151pgk.1 for ; Thu, 20 Aug 2020 08:11:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mE65GQwE1Ne1CqAxNPEi8rWE481M9ftyZ2GBAr40OhM=; b=VgBywBl4aQY/1l6rsNOU8WF46Z7Nx7cp9idnvExWPgvH9oT7vmcJvAYfmyzLSHiA0P A+nQtPRWDhelbhE4LCZojjrZocJejIJuPdkrUfP3w9+5nKFgQ6XC6hZalrZo/cOxiuaA pmnZ2jWStWuA7OINUoA96I8YxcsG7axfWfxhM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mE65GQwE1Ne1CqAxNPEi8rWE481M9ftyZ2GBAr40OhM=; b=eHl8eHhPHTlfGs2sYsh7FsWqqykZIft/ufWR5M/cWxS6pzaFC64ByveEiXv0h52Vt+ jaLFndeM2v3TNl2Rm4GCbhauwz6dD751p9JJ6cQC0boX/lwmXYill05s2RFibMwNUPSa A9ChngdSSHTijeo4mPgn64Y+HPoHrepcZbUfoNQ+a+RnLBOjdWSx9GDx2cMp+p4WuwUe MmhcLWouawWzmB3SaTakZK1zWBqxu3xiIQTP9QMLYikGQu3tI7wSzPGbzkx0xa67hF31 OymrDcgNzHq6NmQLkyac7zb8+A47rPW0lAoGNFfmDMz9SFrOmxGGq6CFBtpg+arsxUx0 eAnA== X-Gm-Message-State: AOAM533JGs7okGiAVTIxX6dKMRpUlaT0+RpgXUFY9I3YT+drGmB4bcmW HXxadSbVyVOnx60ANf9Zr9OVa1OT8dZLWRyNnrSi8YhqUJRwfGay+ENGAyluQCoFDWazWcV29z6 zd4Ye1l085CCjSleuLvvnaRxWNZSlCT8r9DeHNnoKlssqpW1gXDMdBA7p8t1j7J2hW/iIZCq673 WVMP63wpOX X-Google-Smtp-Source: ABdhPJwbmtL+jO4eRbG3/3um8QEhEPplgZpg0Heqdc35++tk8JUE0GBrQbK9gRgPzMSHrjlNAawyig== X-Received: by 2002:a65:4507:: with SMTP id n7mr2671658pgq.285.1597936302386; Thu, 20 Aug 2020 08:11:42 -0700 (PDT) Received: from rayagonda.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id e23sm2861014pgb.79.2020.08.20.08.11.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Aug 2020 08:11:41 -0700 (PDT) From: Rayagonda Kokatanur To: u-boot@lists.denx.de, Simon Glass , Tom Rini , Bharat Gooty , Vladimir Olovyannikov Cc: Rayagonda Kokatanur Subject: [PATCH v2 4/5] board: ns3: kconfig: extend board kconfig with specific commands Date: Thu, 20 Aug 2020 20:41:07 +0530 Message-Id: <20200820151108.5503-5-rayagonda.kokatanur@broadcom.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200820151108.5503-1-rayagonda.kokatanur@broadcom.com> References: <20200820151108.5503-1-rayagonda.kokatanur@broadcom.com> 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.3 at phobos.denx.de X-Virus-Status: Clean From: Vladimir Olovyannikov Extend Kconfig for the board with board-specific commands selection. Signed-off-by: Vladimir Olovyannikov Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- board/broadcom/bcmns3/Kconfig | 7 +++++++ cmd/Makefile | 2 ++ 2 files changed, 9 insertions(+) diff --git a/board/broadcom/bcmns3/Kconfig b/board/broadcom/bcmns3/Kconfig index 8ce21f980d..cb73f98eae 100644 --- a/board/broadcom/bcmns3/Kconfig +++ b/board/broadcom/bcmns3/Kconfig @@ -12,4 +12,11 @@ config SYS_SOC config SYS_CONFIG_NAME default "bcm_ns3" +config CMD_BCM_EXT_UTILS + bool "Enable Broadcom-specific U-Boot commands" + default y + help + Enable Broadcom specific U-Boot commands such as error log setup + command or any other commands specific to NS3 platform. + endif diff --git a/cmd/Makefile b/cmd/Makefile index 3a9c9747c9..c7a08ed109 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -197,6 +197,8 @@ obj-$(CONFIG_$(SPL_)CMD_TLV_EEPROM) += tlv_eeprom.o # core command obj-y += nvedit.o +obj-$(CONFIG_CMD_BCM_EXT_UTILS) += broadcom/ + obj-$(CONFIG_TI_COMMON_CMD_OPTIONS) += ti/ filechk_data_gz = (echo "static const char data_gz[] ="; cat $< | scripts/bin2c; echo ";")