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 7ed3c9c..d66f710 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