summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-01-18 19:13:01 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-30 10:43:56 +0100
commit2605de8f40bec3217e2ebab94156cb417704a390 (patch)
tree4a196cd0054f7e693735db85040012e4ab81ddd1 /arch
parent10ba0919d7201c221496680f18ec540385565abd (diff)
downloadbarebox-2605de8f40bec3217e2ebab94156cb417704a390.tar.gz
barebox-2605de8f40bec3217e2ebab94156cb417704a390.tar.xz
MIPS: loongson-ls1b: add NMON support
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-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