spi: Kconfig: Add help text
[oweals/u-boot.git] / drivers / rtc / mcfrtc.c
index e02e29793e03a85b2734a7b359aaa32a6c2a8b3d..e10638ec7dd3249b526adaa1ac01094de92af7c5 100644 (file)
@@ -1,14 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
  * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
 
-#if defined(CONFIG_CMD_DATE)
-
 #include <command.h>
 #include <rtc.h>
 #include <asm/immap.h>
@@ -105,5 +102,3 @@ void rtc_reset(void)
 
        rtc->cr |= RTC_CR_SWR;
 }
-
-#endif                         /* CONFIG_MCFRTC && CONFIG_CMD_DATE */