All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/3] ARM: imx: Fix bmode detection from grp10
Date: Thu, 17 Oct 2019 09:20:52 -0300	[thread overview]
Message-ID: <CAOMZO5ARA=3sYS8hyUSYEh2n0P_6=yo3nAsTjt0AF0cDyua51w@mail.gmail.com> (raw)
In-Reply-To: <20191017085145.8158-2-ch@denx.de>

On Thu, Oct 17, 2019 at 5:52 AM Claudius Heine <ch@denx.de> wrote:
>
> imx6_is_bmode_from_gpr10 always returns false, because
> IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return.
>
> This changes the return type to bool in order to cast correctly.
>
> Signed-off-by: Claudius Heine <ch@denx.de>

Reviewed-by: Fabio Estevam <festevam@gmail.com>

  parent reply	other threads:[~2019-10-17 12:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20191016132753.1639-1-ch@denx.de>
     [not found] ` <20191016132753.1639-2-ch@denx.de>
2019-10-16 13:31   ` [U-Boot] [PATCH 2/3] ARM: imx: Fix bmode detection from grp10 Fabio Estevam
     [not found] ` <20191017085145.8158-1-ch@denx.de>
2019-10-17 12:19   ` [U-Boot] [PATCH v2 1/3] ARM: imx: Rename imx6_is_bmode_from_gpr9 to imx6_is_bmode_from_gpr10 Fabio Estevam
     [not found]   ` <20191017085145.8158-2-ch@denx.de>
2019-10-17 12:20     ` Fabio Estevam [this message]
     [not found] ` <20191016132753.1639-3-ch@denx.de>
2019-10-17 12:20   ` [U-Boot] [PATCH 3/3] ARM: imx: Use IMX6_SRC_GPR10_BMODE instead of magic number Fabio Estevam
2019-10-18  9:29 ` [U-Boot] [PATCH 1/3] ARM: imx: Rename imx6_is_bmode_from_gpr9 to imx6_is_bmode_from_gpr10 Harald Seiler
2019-10-21  8:45   ` Claudius Heine

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='CAOMZO5ARA=3sYS8hyUSYEh2n0P_6=yo3nAsTjt0AF0cDyua51w@mail.gmail.com' \
    --to=festevam@gmail.com \
    --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 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.