summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h')
-rw-r--r--arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h16
1 files changed, 15 insertions, 1 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 d25f5aa337..ef0d36dc38 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,18 +26,32 @@
mips_barebox_10h
- mips_disable_interrupts
+ hornet_mips24k_cp0_setup
pbl_blt 0xbf000000 skip_pll_ram_config t8
+ hornet_1_1_war
+
pbl_ar9331_pll
pbl_ar9331_ddr1_config
+ /* Initialize caches... */
+ mips_cache_reset
+
+ /* ... and enable them */
+ dcache_enable
+
skip_pll_ram_config:
pbl_ar9331_uart_enable
debug_ll_ar9331_init
mips_nmon
+ /*
+ * It is amazing but we have to enable MDIO on GPIO
+ * to use GPIO26 for the "WPS" LED and GPIO27 for the "3G" LED.
+ */
+ pbl_ar9331_mdio_gpio_enable
+
copy_to_link_location pbl_start
.set pop