cmd: kgdb: Enable kgdb only for PPC
authorMichal Simek <michal.simek@xilinx.com>
Thu, 4 Oct 2018 12:26:13 +0000 (14:26 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 16 Oct 2018 14:53:25 +0000 (16:53 +0200)
Only PPC supports this option that's why there should be proper
dependency setup via Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
cmd/Kconfig

index 7ed3c9c3b30bd90424a3c43ebb18246bb283ff0d..d66f710ad0f872aa52fc9cc8ab4c6c620e59068c 100644 (file)
@@ -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