blob: 8a8fef6d07fad7608a14404e496fd99bcba54861 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
5 *
Ralf Baechleba8990f2006-04-03 00:21:30 +01006 * Copyright (C) 2003, 06 by Ralf Baechle
Linus Torvalds1da177e2005-04-16 15:20:36 -07007 */
Ralf Baechlec183f122005-11-15 13:05:26 +00008#ifndef __ASM_MACH_JMR3927_DS1742_H
9#define __ASM_MACH_JMR3927_DS1742_H
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
11#include <asm/jmr3927/jmr3927.h>
12
Ralf Baechleba8990f2006-04-03 00:21:30 +010013#define rtc_read(reg) (jmr3927_nvram_in(reg))
Linus Torvalds1da177e2005-04-16 15:20:36 -070014#define rtc_write(data, reg) (jmr3927_nvram_out((data),(reg)))
15
Ralf Baechlec183f122005-11-15 13:05:26 +000016#endif /* __ASM_MACH_JMR3927_DS1742_H */