[PATCH v2 07/13] MIPS: tplink-mr3020: pbl: move WMAC init after flash addr test

Oleksij Rempel linux at rempel-privat.de
Mon Aug 7 07:39:21 PDT 2017


if this function is called in the RAM, we won't be able to
continue start sequence.
It brakes boot over JTAG use case.

Signed-off-by: Oleksij Rempel <linux at rempel-privat.de>
Cc: Yegor Yefremov <yegorslists at googlemail.com>
---
 arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
index 3a7b560a0..1774556a8 100644
--- a/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
+++ b/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
@@ -26,12 +26,12 @@
 
 	mips_barebox_10h
 
-	pbl_ar9331_wmac_enable
-
 	hornet_mips24k_cp0_setup
 
 	pbl_blt 0xbf000000 skip_pll_ram_config t8
 
+	pbl_ar9331_wmac_enable
+
 	hornet_1_1_war
 
 	pbl_ar9331_pll
-- 
2.11.0




More information about the barebox mailing list