summaryrefslogtreecommitdiff
path: root/common/cmd_autoscript.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/cmd_autoscript.c')
-rw-r--r--common/cmd_autoscript.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/cmd_autoscript.c b/common/cmd_autoscript.c
index 606fb9a1fc4..a6038a6effd 100644
--- a/common/cmd_autoscript.c
+++ b/common/cmd_autoscript.c
@@ -149,7 +149,8 @@ autoscript (ulong addr)
return rcode;
}
-#endif /* CONFIG_AUTOSCRIPT || CFG_CMD_AUTOSCRIPT */
+#endif
+
/**************************************************/
#if defined(CONFIG_CMD_AUTOSCRIPT)
int
@@ -176,6 +177,6 @@ U_BOOT_CMD(
"[addr] - run script starting at addr"
" - A valid autoscr header must be present\n"
);
-#endif /* CFG_CMD_AUTOSCRIPT */
+#endif
-#endif /* CFG_CMD_AUTOSCRIPT */
+#endif