From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Siddharth Vadapalli <s-vadapalli@ti.com>,
trini@konsulko.com, m-chawdhry@ti.com, bmeng.cn@gmail.com,
sjg@chromium.org, afd@ti.com, n-francis@ti.com, nm@ti.com
Cc: u-boot@lists.denx.de, vigneshr@ti.com, srk@ti.com, s-vadapalli@ti.com
Subject: Re: [PATCH] include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally
Date: Wed, 20 Dec 2023 18:06:54 +0100 [thread overview]
Message-ID: <87plz0247l.fsf@baylibre.com> (raw)
In-Reply-To: <20231211104209.1078892-1-s-vadapalli@ti.com>
On Mon, Dec 11, 2023 at 16:12, Siddharth Vadapalli <s-vadapalli@ti.com> wrote:
> From: Manorit Chawdhry <m-chawdhry@ti.com>
>
> The main_cpsw0_qsgmii_phyinit command is defined only for certain TI
> SoCs which have the do_main_cpsw0_qsgmii_phyinit variable set.
>
> Add a check to ensure that the main_cpsw0_qsgmii_phyinit command is run
> only for such SoCs.
>
> Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
> Signed-off-by: Siddharth Vadapalli <s-vadapalli@ti.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
> ---
>
> Hello,
>
> This patch is based on commit
> 65eed68772 test/py: Disable error E0611 in two cases for pylint
>
> Regards,
> Siddharth.
>
> include/env/ti/ti_common.env | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/include/env/ti/ti_common.env b/include/env/ti/ti_common.env
> index f5d84216e3..f0f89a2287 100644
> --- a/include/env/ti/ti_common.env
> +++ b/include/env/ti/ti_common.env
> @@ -25,7 +25,10 @@ run_fit=run get_fit_config; bootm ${addr_fit}#${name_fit_config}${overlaystring}
> bootcmd_ti_mmc=
> run findfdt; run init_${boot};
> #if CONFIG_CMD_REMOTEPROC
> - run main_cpsw0_qsgmii_phyinit; run boot_rprocs;
> + if test ${do_main_cpsw0_qsgmii_phyinit} -eq 1;
> + then run main_cpsw0_qsgmii_phyinit;
> + fi
> + run boot_rprocs;
> #endif
> if test ${boot_fit} -eq 1;
> then run get_fit_${boot}; run get_fit_overlaystring; run run_fit;
> --
> 2.34.1
next prev parent reply other threads:[~2023-12-20 17:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-11 10:42 [PATCH] include: env: ti: ti_common: Run main_cpsw0_qsgmii_phyinit conditionally Siddharth Vadapalli
2023-12-11 19:15 ` Tom Rini
2023-12-20 17:06 ` Mattijs Korpershoek [this message]
2023-12-21 21:06 ` Tom Rini
2023-12-27 13:06 ` Nishanth Menon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87plz0247l.fsf@baylibre.com \
--to=mkorpershoek@baylibre.com \
--cc=afd@ti.com \
--cc=bmeng.cn@gmail.com \
--cc=m-chawdhry@ti.com \
--cc=n-francis@ti.com \
--cc=nm@ti.com \
--cc=s-vadapalli@ti.com \
--cc=sjg@chromium.org \
--cc=srk@ti.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.