soc: rockchip: debug: print dbgpcsr of cpus when panic

Change-Id: I4a3d60986b0bd23d43fa7fd5479b43cb65662996
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
This commit is contained in:
Huibin Hong
2019-03-28 17:50:29 +08:00
committed by Tao Huang
parent 30ab0ae1d1
commit 37d39fb8f2
2 changed files with 6 additions and 0 deletions

View File

@@ -82,4 +82,9 @@ config ROCKCHIP_FIQ_DEBUGGER
help
Say y here to enable Rockchip FIQ Debugger platform driver.
config ROCKCHIP_DEBUG
tristate "Rockchip DEBUG"
help
Print dbgpcsr for every cpu when panic.
endif

View File

@@ -11,3 +11,4 @@ obj-$(CONFIG_ROCKCHIP_VENDOR_STORAGE) += rk_vendor_storage.o
obj-$(CONFIG_ROCKCHIP_MMC_VENDOR_STORAGE) += sdmmc_vendor_storage.o
obj-$(CONFIG_ROCKCHIP_FLASH_VENDOR_STORAGE) += flash_vendor_storage.o
obj-$(CONFIG_ROCKCHIP_MTD_VENDOR_STORAGE) += mtd_vendor_storage.o
obj-$(CONFIG_ROCKCHIP_DEBUG) += rockchip_debug.o