summaryrefslogtreecommitdiff
path: root/arch/mips/Kconfig.debug
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2021-05-30 20:17:56 +0300
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-06-01 12:44:47 +0300
commitf92a05b9c0be58156de8727cc30f74eec00dc74f (patch)
tree101c889ff4fb0b465efa297b706ffbd7305f91e7 /arch/mips/Kconfig.debug
parent1660710cf5d8d44ec351a5df57c35516f1fbf5e0 (diff)
downloadlinux-f92a05b9c0be58156de8727cc30f74eec00dc74f.tar.xz
MIPS: boot: Support specifying UART port on Ingenic SoCs
Allow specifying from the config the UART to use on Ingenic SoCs when compressed kernel debugging is enabled. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kconfig.debug')
-rw-r--r--arch/mips/Kconfig.debug8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/Kconfig.debug b/arch/mips/Kconfig.debug
index f5832a49a881..43dbf5930796 100644
--- a/arch/mips/Kconfig.debug
+++ b/arch/mips/Kconfig.debug
@@ -102,6 +102,14 @@ config DEBUG_ZBOOT
to reduce the kernel image size and speed up the booting procedure a
little.
+config ZBOOT_INGENIC_UART
+ int "UART to use for compressed kernel debugging"
+ depends on DEBUG_ZBOOT && MACH_INGENIC_SOC
+ default 0
+ range 0 4
+ help
+ Specify the UART that should be used for compressed kernel debugging.
+
config SPINLOCK_TEST
bool "Enable spinlock timing tests in debugfs"
depends on DEBUG_FS