mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/5] MIPS: tplink-mr3020: enable nmon
Date: Mon,  4 May 2015 15:29:24 +0300	[thread overview]
Message-ID: <1430742565-18714-5-git-send-email-antonynpavlov@gmail.com> (raw)
In-Reply-To: <1430742565-18714-1-git-send-email-antonynpavlov@gmail.com>

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/boards/tplink-mr3020/include/board/board_pbl_start.h | 3 +++
 arch/mips/mach-ath79/Kconfig                                   | 1 +
 2 files changed, 4 insertions(+)

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 f85c5ad..944a510 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
@@ -17,6 +17,7 @@
  */
 
 #include <asm/pbl_macros.h>
+#include <asm/pbl_nmon.h>
 
 	.macro	board_pbl_start
 	.set	push
@@ -26,6 +27,8 @@
 
 	mips_disable_interrupts
 
+	mips_nmon
+
 	copy_to_link_location	pbl_start
 
 	.set	pop
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 3fd9cdd..f730b37 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -11,6 +11,7 @@ config BOARD_TPLINK_MR3020
 	bool "TP-LINK MR3020"
 	select HAVE_PBL_IMAGE
 	select HAVE_IMAGE_COMPRESSION
+	select HAS_NMON
 
 endchoice
 
-- 
2.1.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2015-05-04 12:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-04 12:29 [PATCH 0/5] MIPS: tplink-mr3020: initial PBL support Antony Pavlov
2015-05-04 12:29 ` [PATCH 1/5] MIPS: tplink-mr3020: enable PBL and compression Antony Pavlov
2015-05-04 12:29 ` [PATCH 2/5] MIPS: debug_ll_ns16550.h: drop _ns16550 suffix Antony Pavlov
2015-05-04 12:29 ` [PATCH 3/5] MIPS: mach-ath79: debug_ll.h: add assembler routines Antony Pavlov
2015-05-04 12:29 ` Antony Pavlov [this message]
2015-05-04 12:29 ` [PATCH 5/5] Documentation: mips: fix tplink-mr3020 instruction Antony Pavlov
2015-05-05 11:41 ` [PATCH 0/5] MIPS: tplink-mr3020: initial PBL support 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=1430742565-18714-5-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /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