]> git.sur5r.net Git - u-boot/blobdiff - drivers/rtc/mvrtc.h
Merge branch 'master' of git://git.denx.de/u-boot-sunxi
[u-boot] / drivers / rtc / mvrtc.h
index b9d5c6fc351f12daee5e09b8185081ce05980be7..87ff43299cad54b523d0a3fbc4e8a842ab4eb4f7 100644 (file)
@@ -1,24 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (C) 2011
  * Jason Cooper <u-boot@lakedaemon.net>
- *
- * See file CREDITS for list of people who contributed to this
- * project.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of
- * the License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
  */
 
 /*
@@ -28,8 +11,8 @@
 #ifndef _MVRTC_H_
 #define _MVRTC_H_
 
-#include <asm/arch/kirkwood.h>
-#include <compiler.h>
+#include <asm/arch/soc.h>
+#include <linux/compiler.h>
 
 /* RTC registers */
 struct mvrtc_registers {
@@ -37,6 +20,11 @@ struct mvrtc_registers {
        u32 date;
 };
 
+/* Platform data */
+struct mvrtc_pdata {
+       phys_addr_t iobase;
+};
+
 /* time register */
 #define MVRTC_SEC_SFT          0
 #define MVRTC_SEC_MSK          0x7f