From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nitin Garg Date: Tue, 2 Sep 2014 20:55:22 -0500 Subject: [U-Boot] [PATCH] Support i.MX6 High Assurance Boot (HAB) authentication of images In-Reply-To: References: <1409516179-32553-1-git-send-email-nitin.garg@freescale.com> <1409516179-32553-2-git-send-email-nitin.garg@freescale.com> <540670A6.8020105@freescale.com> <54067340.8010906@freescale.com> Message-ID: <5406750A.9030508@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/02/2014 08:52 PM, Fabio Estevam wrote: > On Tue, Sep 2, 2014 at 10:47 PM, Nitin Garg wrote: > >> But get_cpu_rev is correct, it returns unsigned int. >> The problem happens in hab code where there are >> comparisons between int and unsigned int, hence > > Where exactly in the hab code does the problem happen? > In the macros of HAB, like: hab_rvt_report_event_p The compiler generates bhi instead of bgt.