From: Wolfgang Denk Date: Wed, 19 Jan 2011 17:45:34 +0100 Subject: [U-Boot] [PATCH v4 1/1] imximage: Add MX53 boot image support In-Reply-To: References: <1295382963-32356-1-git-send-email-r64343@freescale.com> <20110119085201.C29ED2FC@gemini.denx.de> Message-ID: <20110119164534.28F34D30267@gemini.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 Dear Jason Liu, In message you wrote: > > Do you mean the I need add the braces as the following? > > if ((fhdr_v1->app_code_barker == APP_CODE_BARKER) && > (hdr_v1->dcd_table.preamble.barker == DCD_BARKER)) { > return IMXIMAGE_V1; > } Right. And especially with the blank lines you had before. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Winners never talk about glorious victories. That's because they're the ones who see what the battlefield looks like afterwards. It's only the losers who have glorious victories. - Terry Pratchett, _Small Gods_