From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Fri, 12 Jul 2013 10:34:45 +0200 Subject: [U-Boot] [PATCH v1 7/7] imx: add status reporting for HAB status In-Reply-To: <201307112031.34270.marex@denx.de> References: <1373548001-19728-1-git-send-email-sbabic@denx.de> <1373548001-19728-8-git-send-email-sbabic@denx.de> <201307112031.34270.marex@denx.de> Message-ID: <51DFBFA5.4000106@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 Hi Marek, On 11/07/2013 20:31, Marek Vasut wrote: >> +void display_event(uint8_t *event_data, size_t bytes) >> +{ >> + uint32_t i; >> + >> + if ((event_data) && (bytes > 0)) { > > if (!) > return; > > Fix in V2, thanks. >> + if (is_hab_enabled()) >> + printf("\nSecure boot enabled\n"); >> + else >> + printf("\nSecure boot disabled\n"); > > Use puts() instead of printf() with no args. > Right, and I will fix also other similar cases in this file. Regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel 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 =====================================================================