From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1A0DC433EF for ; Fri, 14 Jan 2022 20:00:51 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BEF1B8339D; Fri, 14 Jan 2022 21:00:48 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.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=konsulko.com header.i=@konsulko.com header.b="U7mEHq5m"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B5B0B8339D; Fri, 14 Jan 2022 21:00:46 +0100 (CET) Received: from mail-qt1-x833.google.com (mail-qt1-x833.google.com [IPv6:2607:f8b0:4864:20::833]) (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 7DEF68142D for ; Fri, 14 Jan 2022 21:00:43 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x833.google.com with SMTP id x8so5794668qta.12 for ; Fri, 14 Jan 2022 12:00:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=EFlTl/9+b7/qlmSBSOt0vY19DEaU3iXRnbBlqBZO0Co=; b=U7mEHq5mE2cy3z8v83AVYzEuPk+MnjWfRV9098aIsjNYIvKxbWyS0YfE26ngk21oJ1 m9Okspy+klJdalC6u+vRyhl/DN09VTBJpsq3R5Zqa9+0E43O5xhXdXjAFPWd0R7+IbTE nPg0osL22vTIqL4P+crlNhIxx5SqCi/wkSNCY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=EFlTl/9+b7/qlmSBSOt0vY19DEaU3iXRnbBlqBZO0Co=; b=KF9nDJOCfy2UNZQlCkqrca1efFXgRyHWDyH7TRmbssoWMulpnVQ1pIAm4OWMYC2b+R 2y1dUwFpiHJpbEocnmveg8fBx3LHPXrGIMWwzHH9ya0aswENNLnBop2kGLETeGaTv06X wMd4YZWqyn845h1VnxVY/XOKu2gft+0Yav5c98pKwndoP7Ku+RtAt/rnZ500VFvga948 UHpi44gLjtRyE6WrREthRX/aEo8u9UBd/9Q44w17T/399Hl3u4U42EDOqnW2JIuAFiSp 1CrU9I31sOjX1ShOgMc1nprC1bMwxuyj9vRH3nusOhKmjgwAYEOiC0R/pHRn0JkqwYmT vsfw== X-Gm-Message-State: AOAM533yRUdXjr9XAJ/1m12QFND+eeZ6rASxlUbt6SnjjMCsMXgqQPlw j+W2jk7v12l3bp3ZavdTN4+WIA== X-Google-Smtp-Source: ABdhPJzwx3Sh3+HPW50KGuFKhGZA+TxoC5Gn9n979aMz4mZc5pRxhp+Xw3BSUht9PIT11F6kB4l4AQ== X-Received: by 2002:a05:622a:14cc:: with SMTP id u12mr8973769qtx.644.1642190442223; Fri, 14 Jan 2022 12:00:42 -0800 (PST) Received: from bill-the-cat (2603-6081-7b01-cbda-9533-0c51-a891-732b.res6.spectrum.com. [2603:6081:7b01:cbda:9533:c51:a891:732b]) by smtp.gmail.com with ESMTPSA id z15sm4645026qtj.77.2022.01.14.12.00.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jan 2022 12:00:41 -0800 (PST) Date: Fri, 14 Jan 2022 15:00:38 -0500 From: Tom Rini To: Michal Simek Cc: u-boot@lists.denx.de, git@xilinx.com, Ashok Reddy Soma , Aswath Govindraju , Aymen Sghaier , Bin Meng , Franck LENORMAND , Heinrich Schuchardt , Igor Opaniuk , Jaehoon Chung , Joel Peshkin , Jorge Ramirez-Ortiz , Kory Maincent , Marek Szyprowski , Maxime Ripard , Peng Fan , Pragnesh Patel , Roland Gaudig , Simon Glass Subject: Re: [PATCH] cmd: Add Kconfig option for multiprocessor cmds Message-ID: <20220114200038.GU9207@bill-the-cat> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yiEdliaBgja7+tT6" Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean --yiEdliaBgja7+tT6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jan 14, 2022 at 01:07:34PM +0100, Michal Simek wrote: > From: Ashok Reddy Soma >=20 > Add Kconfig option(CONFIG_CMD_MP) to enable or disable multiprocessor > commands. Compile cmd/mp.c based on CONFIG_CMD_MP. >=20 > Signed-off-by: Ashok Reddy Soma > Signed-off-by: Michal Simek > --- >=20 > cmd/Kconfig | 8 ++++++++ > cmd/Makefile | 2 +- > 2 files changed, 9 insertions(+), 1 deletion(-) >=20 > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 5b30b13e438f..1e3eef4437b5 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -1827,6 +1827,14 @@ config MP > different processors in multiprocessor > cases. > =20 > +config CMD_MP > + bool "support for multiprocessor commands" > + depends on MP > + default y > + help > + This enables commands to bringup different processors > + in multiprocessor cases. > + > config CMD_TIMER > bool "timer" > help > diff --git a/cmd/Makefile b/cmd/Makefile > index 891819ae0f6b..9e8074bb7e49 100644 > --- a/cmd/Makefile > +++ b/cmd/Makefile > @@ -101,7 +101,7 @@ obj-$(CONFIG_CMD_MDIO) +=3D mdio.o > obj-$(CONFIG_CMD_SLEEP) +=3D sleep.o > obj-$(CONFIG_CMD_MMC) +=3D mmc.o > obj-$(CONFIG_CMD_OPTEE_RPMB) +=3D optee_rpmb.o > -obj-$(CONFIG_MP) +=3D mp.o > +obj-$(CONFIG_CMD_MP) +=3D mp.o > obj-$(CONFIG_CMD_MTD) +=3D mtd.o > obj-$(CONFIG_CMD_MTDPARTS) +=3D mtdparts.o > obj-$(CONFIG_CMD_CLONE) +=3D clone.o The problem is that there's already an entry for MP in cmd/Kconfig. So yes, it should be fixed for consistency, but the current entry renamed/moved. Thanks! --=20 Tom --yiEdliaBgja7+tT6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmHh1l0ACgkQFHw5/5Y0 tyxdlQv6Ahuv9J44keH39enkzvvgFpsSbF9P+pIya5THBXMqdWlA65D3W6U1orXw g+Q/WLo9fSiKdL5W4AFCwJoWJET17oMuzlocyCtum3V84iUpggc/OwXK2B9KIcDy sPKDSb2TO+h8YiKejJJDvngHtJbasXk+cC8BLbNAgCkZJ5/8YU2/1aqu3/Q/JrJa PZNAE66kDAyI7wsVobTvnDxf0DPWV/NGH6P6NYiZcSuluOC9O8TE5j70/Ov441BS q+dOar9zhnhlmJyY8IfV7qHpqrqmHkOjxLWoe4huhVAl5O8HKkR7ZwoHrW34NXrM qET2fiNWySajoci5YQdtGA3JPx3CBqNhqtroKc71/7ttrt+MY7J6cXGE5oWdJlXe 3SqT9uLm2p4eWD2UfQIF/mF+acX5K+aiuLAx+d0aMlk6T405cpV+oG5PD741RyqM uuewKQzqYBuAaWEB+pBZf/xMzZ6t9znu6SPHITqDoGwkYwmAeRYRMk7Jb1r+oaG7 oUMHL5CC =IuAb -----END PGP SIGNATURE----- --yiEdliaBgja7+tT6--