Merge tag 'xilinx-for-v2020.07-rc2' of https://gitlab.denx.de/u-boot/custodians/u...
[oweals/u-boot.git] / cmd / help.c
index fa2010c67eb1379eedc1c5d85dc580f030039f7f..a1a0b99b6ffac7c8e3888837c5d1af97f64f75fc 100644 (file)
@@ -27,6 +27,7 @@ U_BOOT_CMD(
        "       - print detailed usage of 'command'"
 );
 
+#ifdef CONFIG_CMDLINE
 /* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */
 ll_entry_declare(cmd_tbl_t, question_mark, cmd) = {
        "?",    CONFIG_SYS_MAXARGS, cmd_always_repeatable,      do_help,
@@ -35,3 +36,4 @@ ll_entry_declare(cmd_tbl_t, question_mark, cmd) = {
        ""
 #endif /* CONFIG_SYS_LONGHELP */
 };
+#endif