summaryrefslogtreecommitdiffstats
path: root/arch/mips/boards
diff options
context:
space:
mode:
authorOleksij Rempel <linux@rempel-privat.de>2019-01-23 08:24:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-01-24 08:32:58 +0100
commit4bcae6eff38a35f2b0eea58b513bc544c555c464 (patch)
tree8229fee23ba6cb4f5a93512d0426b554cac3a601 /arch/mips/boards
parenta32ffb4968293c09222ec952808e4f879bddb5fe (diff)
downloadbarebox-4bcae6eff38a35f2b0eea58b513bc544c555c464.tar.gz
barebox-4bcae6eff38a35f2b0eea58b513bc544c555c464.tar.xz
MIPS: black-swift: 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/black-swift/lowlevel.S29
1 files changed, 1 insertions, 28 deletions
diff --git a/arch/mips/boards/black-swift/lowlevel.S b/arch/mips/boards/black-swift/lowlevel.S
index 104dd26d1c..0ba77435f8 100644
--- a/arch/mips/boards/black-swift/lowlevel.S
+++ b/arch/mips/boards/black-swift/lowlevel.S
@@ -14,33 +14,6 @@
ENTRY_FUNCTION(BOARD_PBL_START)
- mips_barebox_10h
-
- pbl_ar9331_wmac_enable
-
- hornet_mips24k_cp0_setup
-
- pbl_blt 0xbf000000 skip_pll_ram_config t8
-
- hornet_1_1_war
-
- pbl_ar9331_pll
- pbl_ar9331_ddr2_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 GPIO27 for LED1.
- */
- pbl_ar9331_mdio_gpio_enable
+ ar9331_pbl_generic_start
ENTRY_FUNCTION_END(BOARD_PBL_START, black_swift)