]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:23:22 +0000 (10:23 +0200)
commitffe41ab9cc5165f7258adb69a45540c257ea33e3
treec5bfabba18ddb439ed34271d6eb48f187ae5e645
parentcb8d1ba8012c7996064199eb35d530cae98c2609
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