From: sbabic at denx.de Date: Mon, 4 Nov 2019 08:53:44 +0000 (UTC) Subject: [U-Boot] [PATCH v3 RESEND 1/2] ARM: imx: Fix bmode detection from grp10 In-Reply-To: <20191029120847.3581884-1-ch@denx.de> Message-ID: <20191104085358.0D1B6C21E08@lists.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > imx6_is_bmode_from_gpr9 always returns false, because > IMX6_SRC_GPR10_BMODE is 1<<28 and gets casted to u8 on return. > This moves the function body into imx6_src_get_boot_mode, since that is the > only one using it and it is on the same abstraction level (accessing > registers directly). > Signed-off-by: Claudius Heine 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 =====================================================================