From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vince Hsu Date: Mon, 1 Dec 2014 21:21:22 +0800 Subject: [U-Boot] [PATCH v2] fdt: Fix regression in fdt_pack_reg() In-Reply-To: <1417181031-10004-1-git-send-email-hdegoede@redhat.com> References: <1417181031-10004-1-git-send-email-hdegoede@redhat.com> Message-ID: <547C6B52.1090408@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 11/28/2014 09:23 PM, Hans de Goede wrote: > After commit 933cdbb479: "fdt: Try to use fdt_address_cells()/fdt_size_cells()" > I noticed that allwinner boards would no longer boot. > > Switching to fdt_address_cells / fdt_size_cells changes the result from > bytes to 32 bit words, so when we increment pointers into the blob, we must > do so by 32 bit words now. > > This commit makes allwinner boards boot again. > > Signed-off-by: Hans de Goede > --- > Changes in v2: > -Improved patch subject > -s/_len/_cells/ to indicated that adress_cells and size_cells are in cells now > --- I just hit this problem on jetson tk1 and tried the same fix. So Tested-by: Vince Hsu Thanks, Vince ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------