Patchwork [U-Boot,8/8] mpc512x: pdm360ng: drop not needed memory node fixup

login
register
mail settings
Submitter Anatolij Gustschin
Date Feb. 8, 2013, 10:03 a.m.
Message ID <1360317830-28525-9-git-send-email-agust@denx.de>
Download mbox | patch
Permalink /patch/219087/
State Accepted
Delegated to: Wolfgang Denk
Headers show

Comments

Anatolij Gustschin - Feb. 8, 2013, 10:03 a.m.
ft_cpu_setup() already does memory node fixup, no need
to do it again.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 board/pdm360ng/pdm360ng.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Wolfgang Denk - March 9, 2013, 1:46 p.m.
Dear Anatolij Gustschin,

In message <1360317830-28525-9-git-send-email-agust@denx.de> you wrote:
> ft_cpu_setup() already does memory node fixup, no need
> to do it again.
> 
> Signed-off-by: Anatolij Gustschin <agust@denx.de>
> ---
>  board/pdm360ng/pdm360ng.c |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)

Applied to u-boot-mpc5xxx repo, thanks.

Best regards,

Wolfgang Denk

Patch

diff --git a/board/pdm360ng/pdm360ng.c b/board/pdm360ng/pdm360ng.c
index a1f2d5e..3048acd 100644
--- a/board/pdm360ng/pdm360ng.c
+++ b/board/pdm360ng/pdm360ng.c
@@ -500,7 +500,6 @@  void ft_board_setup(void *blob, bd_t *bd)
 	int rc, i = 0;
 
 	ft_cpu_setup(blob, bd);
-	fdt_fixup_memory(blob, (u64)bd->bi_memstart, (u64)bd->bi_memsize);
 #ifdef CONFIG_FDT_FIXUP_PARTITIONS
 	fdt_fixup_mtdparts(blob, nodes, ARRAY_SIZE(nodes));
 #endif