public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: sbabic at denx.de <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH V2 6/6] imx8: Replace SC_R_LAST with SC_R_NONE in DTB
Date: Mon, 11 May 2020 12:17:57 +0200 (CEST)	[thread overview]
Message-ID: <20200511101757.93D86818E8@phobos.denx.de> (raw)
In-Reply-To: <20200504131654.17085-6-peng.fan@nxp.com>

> From: Leonard Crestez <leonard.crestez@nxp.com>
> We are currently using SC_R_LAST as a marker for imx8 power domain tree
> nodes without a resource attached. This value is compiled into dtb as
> part of the linux build and used by uboot.
> The SC_R_LAST constant changes frequently as SCFW resources are added
> (by design) and every time we need to update linux and uboot headers
> together or boot can fail.
> Fix this by replacing SC_R_LAST usage with a new constant SC_R_NONE
> defined to be 0xFFF0.
> Reviewed-by: Peng Fan <peng.fan@nxp.com>
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2020-05-11 10:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-04 13:16 [PATCH V2 1/6] dt-bindings: imx_rsrc: add SC_R_NONE Peng Fan
2020-05-04 13:16 ` [PATCH V2 2/6] imx8: power: Add PD device lookup interface to power domain uclass Peng Fan
2020-05-11 10:17   ` sbabic at denx.de
2020-05-04 13:16 ` [PATCH V2 3/6] power: imx8-power-domain: Set DM_FLAG_DEFAULT_PD_CTRL_OFF flag Peng Fan
2020-05-11 10:16   ` sbabic at denx.de
2020-05-04 13:16 ` [PATCH V2 4/6] power: imx8: remove the resource owned check before power off Peng Fan
2020-05-11 10:15   ` sbabic at denx.de
2020-05-04 13:16 ` [PATCH V2 5/6] power: imx8: Check owned resource in power on Peng Fan
2020-05-11 10:18   ` sbabic at denx.de
2020-05-04 13:16 ` [PATCH V2 6/6] imx8: Replace SC_R_LAST with SC_R_NONE in DTB Peng Fan
2020-05-11 10:17   ` sbabic at denx.de [this message]
2020-05-11 10:18 ` [PATCH V2 1/6] dt-bindings: imx_rsrc: add SC_R_NONE sbabic at denx.de

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=20200511101757.93D86818E8@phobos.denx.de \
    --to=sbabic@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox