[U-Boot] [PATCH] cmd: kgdb: Enable kgdb only for PPC

Michal Simek michal.simek at xilinx.com
Tue Oct 9 07:09:46 UTC 2018


Only PPC supports this option that's why there should be proper
dependency setup via Kconfig.

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 cmd/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 7ed3c9c3b30b..d66f710ad0f8 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -1811,6 +1811,7 @@ config CMD_IRQ
 
 config CMD_KGDB
 	bool "kgdb - Allow debugging of U-Boot with gdb"
+	depends on PPC
 	help
 	  This enables a 'kgdb' command which allows gdb to connect to U-Boot
 	  over a serial link for debugging purposes. This allows
-- 
1.9.1



More information about the U-Boot mailing list