[U-Boot] [PATCH v3] fix get_ram_size memory corruption

2014-10-21 Thread Gerd Hoffmann
base[0] is saved, but only restored in case the ram test failed. Test case: Start u-boot in qemu, using vexpress-a9 emulation. qemu places the fdt at the start of ram, as a service for the guest. Trying to pick it up there by setting fdt_addr accordingly fails because the fdt magic cookie is

Re: [U-Boot] [PATCH v3] fix get_ram_size memory corruption

2014-10-21 Thread Wolfgang Denk
Dear Gerd, In message 1413894504-26255-1-git-send-email-kra...@redhat.com you wrote: base[0] is saved, but only restored in case the ram test failed. When posting a new version of a patch please always make sure to add a change log! I'm afraid your patch breaks at least some boards; tested on