diff options
author | Tom Rini <trini@konsulko.com> | 2019-04-13 08:27:35 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-04-13 08:27:35 -0400 |
commit | cf5eebeb18f7790d5030eb94f51fca0ebcd6e406 (patch) | |
tree | f4c9c40f9353fbe4104875779c7eedd3ed2342cc /common | |
parent | 0a5228be868622894a5f8f226203cd7bac562187 (diff) | |
parent | 73c02e5e4fc1ef53d06289232edd6cc52e3d73f6 (diff) | |
download | u-boot-cf5eebeb18f7790d5030eb94f51fca0ebcd6e406.tar.gz |
Merge tag 'pull-12apr19' of git://git.denx.de/u-boot-dm
fdtdec tests and improvements for carve-outs
pinctrl race-condition fix
various other fixes in sandbox, sound, mkimage, etc.
Diffstat (limited to 'common')
-rw-r--r-- | common/fdt_support.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index 42583e3ed8..ab08a0114f 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -456,12 +456,6 @@ int fdt_fixup_memory_banks(void *blob, u64 start[], u64 size[], int banks) if (!banks) return 0; - for (i = 0; i < banks; i++) - if (start[i] == 0 && size[i] == 0) - break; - - banks = i; - len = fdt_pack_reg(blob, tmp, start, size, banks); err = fdt_setprop(blob, nodeoffset, "reg", tmp, len); |