From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <linux@rempel-privat.de>
Subject: [PATCH v2 2/3] MIPS: black-swift: use ar9331_pbl_generic_start
Date: Wed, 23 Jan 2019 08:24:02 +0100 [thread overview]
Message-ID: <20190123072403.30981-3-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20190123072403.30981-1-o.rempel@pengutronix.de>
From: Oleksij Rempel <linux@rempel-privat.de>
most ar9331 boards are almost identical. Remove as match duplicate code
as possible.
Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>
---
arch/mips/boards/black-swift/lowlevel.S | 29 +------------------------
1 file changed, 1 insertion(+), 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)
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-01-23 7:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-23 7:24 [PATCH v2 0/3] ath79: enhancements Oleksij Rempel
2019-01-23 7:24 ` [PATCH v2 1/3] MIPS: tplink-mr3020: use ar9331_pbl_generic_start Oleksij Rempel
2019-01-23 8:12 ` Sam Ravnborg
2019-01-23 7:24 ` Oleksij Rempel [this message]
2019-01-23 8:12 ` [PATCH v2 2/3] MIPS: black-swift: " Sam Ravnborg
2019-01-23 7:24 ` [PATCH v2 3/3] MIPS: ath79: add spi and sram bootstrap helpers Oleksij Rempel
2019-01-24 7:33 ` [PATCH v2 0/3] ath79: enhancements Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190123072403.30981-3-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=linux@rempel-privat.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox