Merge https://gitlab.denx.de/u-boot/custodians/u-boot-fsl-qoriq
[oweals/u-boot.git] / drivers / rtc / mx27rtc.c
index 29ccdf17301b174241feffadd7fb4e92084a4b18..563e8a4a3610da545394c852b5baa9dd1c00ba22 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Freescale i.MX27 RTC Driver
  *
  * Copyright (C) 2012 Philippe Reynes <tremyfr@yahoo.fr>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -61,9 +60,5 @@ int rtc_set(struct rtc_time *time)
 
 void rtc_reset(void)
 {
-       struct rtc_regs *rtc_regs = (struct rtc_regs *)IMX_RTC_BASE;
-
-       writel(0, &rtc_regs->dayr);
-       writel(0, &rtc_regs->hourmin);
-       writel(0, &rtc_regs->seconds);
+       /* nothing to do */
 }