As Alex explains in [0] this triple call likely dates back to before the DRAM
init code used proper timings. It is not necessary any more.

[0] http://mid.gmane.org/<[email protected]>

Signed-off-by: Ian Campbell <[email protected]>
---
 board/sunxi/board.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/board/sunxi/board.c b/board/sunxi/board.c
index a0a2372..873eb2a 100644
--- a/board/sunxi/board.c
+++ b/board/sunxi/board.c
@@ -82,14 +82,6 @@ void sunxi_board_init(void)
 
        printf("DRAM:");
        ramsize = sunxi_dram_init();
-       if (!ramsize) {
-               printf(" ?");
-               ramsize = sunxi_dram_init();
-       }
-       if (!ramsize) {
-               printf(" ?");
-               ramsize = sunxi_dram_init();
-       }
        printf(" %lu MiB\n", ramsize >> 20);
        if (!ramsize)
                hang();
-- 
1.8.5.3

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to