summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h3
-rw-r--r--arch/mips/mach-loongson/Kconfig1
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
index aa30e8d0f0..1a92794bbe 100644
--- a/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
+++ b/arch/mips/boards/loongson-ls1b/include/board/board_pbl_start.h
@@ -18,6 +18,7 @@
#include <asm/pbl_macros.h>
#include <mach/loongson1.h>
#include <mach/debug_ll.h>
+#include <asm/pbl_nmon.h>
.macro board_pbl_start
.set push
@@ -32,6 +33,8 @@
debug_ll_ns16550_outc '.'
debug_ll_ns16550_outnl
+ mips_nmon
+
copy_to_link_location pbl_start
.set pop
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index fe48ed69ad..c9f19025eb 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -17,6 +17,7 @@ config BOARD_LOONGSON_TECH_LS1B
select DRIVER_SERIAL_NS16550
select HAVE_PBL_IMAGE
select HAVE_IMAGE_COMPRESSION
+ select HAS_NMON
endchoice