[PATCH] MIPS: rzx50: add nmon support

Antony Pavlov antonynpavlov at gmail.com
Sat Jul 6 00:25:55 EDT 2013


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

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index b2452c7..ca240d2 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -72,6 +72,7 @@ config MACH_MIPS_XBURST
 	select HAS_DEBUG_LL
 	select HAVE_PBL_IMAGE
 	select HAVE_IMAGE_COMPRESSION
+	select HAS_NMON
 endchoice
 
 source arch/mips/mach-malta/Kconfig
diff --git a/arch/mips/boards/rzx50/include/board/board_pbl_start.h b/arch/mips/boards/rzx50/include/board/board_pbl_start.h
index f71641a..fb914d9 100644
--- a/arch/mips/boards/rzx50/include/board/board_pbl_start.h
+++ b/arch/mips/boards/rzx50/include/board/board_pbl_start.h
@@ -19,6 +19,7 @@
 
 #include <asm/pbl_macros.h>
 #include <mach/debug_ll.h>
+#include <asm/pbl_nmon.h>
 
 	.macro	board_pbl_start
 	.set	push
@@ -34,6 +35,8 @@
 	debug_ll_ns16550_outc '.'
 	debug_ll_ns16550_outnl
 
+	mips_nmon
+
 	copy_to_link_location	pbl_start
 
 	.set	pop
-- 
1.8.3.1




More information about the barebox mailing list