summaryrefslogtreecommitdiff
path: root/common/chipset.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/chipset.c')
-rw-r--r--common/chipset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/chipset.c b/common/chipset.c
index 6c98945aad..c62fb6ec7a 100644
--- a/common/chipset.c
+++ b/common/chipset.c
@@ -17,6 +17,7 @@
/*****************************************************************************/
/* Console commands */
+#ifdef CONFIG_CMD_POWER_AP
static int command_apreset(int argc, char **argv)
{
int is_cold = 1;
@@ -45,3 +46,4 @@ DECLARE_CONSOLE_COMMAND(apshutdown, command_apshutdown,
NULL,
"Force AP shutdown",
NULL);
+#endif