]> Git Repo - u-boot.git/commit
fdt: Remove duplicate code
authorThierry Reding <[email protected]>
Fri, 1 Mar 2019 18:20:48 +0000 (19:20 +0100)
committerSimon Glass <[email protected]>
Fri, 12 Apr 2019 02:10:05 +0000 (20:10 -0600)
commit1ceb10b4d872b29ba251bc49665f1b8812d70acf
tree38a261da5f227de8016d817fa5087ce2b7fe09e3
parentd39e2bd0b09bc333561b26c1dc6f7d63bab6dbd2
fdt: Remove duplicate code

Commit 6d29cc7dcf2d ("fdt: Fixup only valid memory banks") ended up
being merged twice, first as:

commit 6d29cc7dcf2d35966aa0b6119fd1cbca0d21d5e6
Author:     Thierry Reding <[email protected]>
AuthorDate: Tue Jan 30 11:34:17 2018 +0100
Commit:     Simon Glass <[email protected]>
CommitDate: Sun Feb 18 12:53:38 2018 -0700

    fdt: Fixup only valid memory banks

    Memory banks with address 0 and size 0 are empty and should not be
    passed to the OS via device tree.

Signed-off-by: Thierry Reding <[email protected]>
Acked-by: Stephen Warren <[email protected]>
and later again, though this time it was v2:

commit ed5af03f9bb8905f1e94d68ab49f22d7f061d75f
Author:     Thierry Reding <[email protected]>
AuthorDate: Thu Feb 15 19:05:59 2018 +0100
Commit:     Tom Rini <[email protected]>
CommitDate: Fri Feb 23 10:40:50 2018 -0500

    fdt: Fixup only valid memory banks

    Memory banks with address 0 and size 0 are empty and should not be
    passed to the OS via device tree.

Acked-by: Stephen Warren <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
The second version was slightly different, so the main hunk of the patch
was applied twice. This isn't harmful because the code is idempotent,
but it's wasteful to run the same code twice.

Signed-off-by: Thierry Reding <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/fdt_support.c
This page took 0.033641 seconds and 4 git commands to generate.