Blackfin: first pass at debug mmr support
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
4a7df24ddc
commit
73ecfcf908
@ -32,7 +32,7 @@ config DEBUG_VERBOSE
|
|||||||
Most people should say N here.
|
Most people should say N here.
|
||||||
|
|
||||||
config DEBUG_MMRS
|
config DEBUG_MMRS
|
||||||
bool "Generate Blackfin MMR tree"
|
tristate "Generate Blackfin MMR tree"
|
||||||
select DEBUG_FS
|
select DEBUG_FS
|
||||||
help
|
help
|
||||||
Create a tree of Blackfin MMRs via the debugfs tree. If
|
Create a tree of Blackfin MMRs via the debugfs tree. If
|
||||||
|
@ -37,3 +37,5 @@ obj-$(CONFIG_BFIN_PSEUDODBG_INSNS) += pseudodbg.o
|
|||||||
# the kgdb test puts code into L2 and without linker
|
# the kgdb test puts code into L2 and without linker
|
||||||
# relaxation, we need to force long calls to/from it
|
# relaxation, we need to force long calls to/from it
|
||||||
CFLAGS_kgdb_test.o := -mlong-calls -O0
|
CFLAGS_kgdb_test.o := -mlong-calls -O0
|
||||||
|
|
||||||
|
obj-$(CONFIG_DEBUG_MMRS) += debug-mmrs.o
|
||||||
|
1860
arch/blackfin/kernel/debug-mmrs.c
Normal file
1860
arch/blackfin/kernel/debug-mmrs.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user