From: Wolfgang Denk Date: Mon, 18 Oct 2010 22:50:29 +0200 Subject: [U-Boot] [PATCH v3 2/7] common/image.c remove extra calls to be32_to_cpu in boot_get_fdt In-Reply-To: <1286999857-13790-3-git-send-email-john.rigby@linaro.org> References: <1285775292-15060-1-git-send-email-john.rigby@linaro.org> <1286999857-13790-3-git-send-email-john.rigby@linaro.org> Message-ID: <20101018205029.6DEC01359B3@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 John Rigby, In message <1286999857-13790-3-git-send-email-john.rigby@linaro.org> you wrote: > fdt_totalsize returns size in cpu endian so don't call be32_to_cpu > on the result. This was harmless on big endian platforms but not > on little endian ARMs. > > Signed-off-by: John Rigby > --- > common/image.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied to u-boot-arm, thanks. 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 [Braddock:] Mr. Churchill, you are drunk. [Churchill:] And you madam, are ugly. But I shall be sober tomorrow.