]> git.sur5r.net Git - u-boot/commit
Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"
authorSimon Glass <sjg@chromium.org>
Mon, 3 Aug 2015 00:13:50 +0000 (18:13 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 14 Aug 2015 16:00:52 +0000 (10:00 -0600)
commit236efe36be6d1c544f9477f10fdf38a17cd7a869
tree83b013b955fc437d8dbf2893588cae32e4a5a30d
parent590870e7e8919bca7adfd97069ac5b2a924b3151
Revert "fdt: Fix fdtdec_get_addr_size() for 64-bit"

This reverts commit 5b34436035fc862b5e8d0d2c3eab74ba36f1a7f4.

This function has a few problems. It calls fdt_parent_offset() which as
mentioned in code review is very slow.

https://patchwork.ozlabs.org/patch/499482/
https://patchwork.ozlabs.org/patch/452604/

It also happens to break SPI flash on Minnowboard max which is how I noticed
that this was applied. I can send a patch to tidy that up, but in any case
I think we should consider a revert until the function is better implemented.

Signed-off-by: Simon Glass <sjg@chromium.org>
lib/fdtdec.c