diff options
author | Oleksij Rempel <linux@rempel-privat.de> | 2019-01-23 08:24:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-01-24 08:32:51 +0100 |
commit | a32ffb4968293c09222ec952808e4f879bddb5fe (patch) | |
tree | fdb5b1abdfda6969cd8310337e077da1a4ce8b26 /arch/mips/boards | |
parent | 49d7749aa94fb13b8907d80fc92a3e8cd6de8553 (diff) | |
download | barebox-a32ffb4968293c09222ec952808e4f879bddb5fe.tar.gz barebox-a32ffb4968293c09222ec952808e4f879bddb5fe.tar.xz |
MIPS: tplink-mr3020: use ar9331_pbl_generic_start
most ar9331 boards are almost identical. Remove as much duplicate code
as possible.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/mips/boards')
-rw-r--r-- | arch/mips/boards/tplink-mr3020/lowlevel.S | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/arch/mips/boards/tplink-mr3020/lowlevel.S b/arch/mips/boards/tplink-mr3020/lowlevel.S index e3e6a61b78..0a1c193c1e 100644 --- a/arch/mips/boards/tplink-mr3020/lowlevel.S +++ b/arch/mips/boards/tplink-mr3020/lowlevel.S @@ -14,33 +14,6 @@ ENTRY_FUNCTION(BOARD_PBL_START) - mips_barebox_10h - - pbl_blt 0xbf000000 skip_pll_ram_config t8 - - hornet_mips24k_cp0_setup - - pbl_ar9331_wmac_enable - - 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_ath79_init - - /* - * 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 + ar9331_pbl_generic_start ENTRY_FUNCTION_END(BOARD_PBL_START, tplink_mr3020) |