Re: [U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs

2010-10-12 Thread Wolfgang Denk
Dear John Rigby, In message you wrote: > On Tue, Oct 12, 2010 at 3:20 PM, Wolfgang Denk wrote: > > Dear John Rigby, > > > > In message <1285775292-15060-2-git-send-email-john.ri...@linaro.org> you > > wrote: > >> Fix two problems in fdt_relocate. > Sorry this should be boot_relocate_fdt In th

Re: [U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs

2010-10-12 Thread John Rigby
On Tue, Oct 12, 2010 at 3:20 PM, Wolfgang Denk wrote: > Dear John Rigby, > > In message <1285775292-15060-2-git-send-email-john.ri...@linaro.org> you > wrote: >> Fix two problems in fdt_relocate. Sorry this should be boot_relocate_fdt >> >> First, for the non relocation case current code calculat

Re: [U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs

2010-10-12 Thread Wolfgang Denk
Dear John Rigby, In message <1285775292-15060-2-git-send-email-john.ri...@linaro.org> you wrote: > Fix two problems in fdt_relocate. > > First, for the non relocation case current code calculates > fdt blob size by subtracting the fdt address from the end Please consider the non relocation case

[U-Boot] [PATCH v2 1/6] fdt_relocate: fix fdt size and endian bugs

2010-09-29 Thread John Rigby
Fix two problems in fdt_relocate. First, for the non relocation case current code calculates fdt blob size by subtracting the fdt address from the end of bootmap. This wrong because it assumes that the fdt_blob is located at the top (high) of the bootmap. Use the current size plus padding instea