2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
2006-04-02 23:21:30 +00:00
|
|
|
* Copyright (C) 2003, 06 by Ralf Baechle
|
2005-04-16 22:20:36 +00:00
|
|
|
*/
|
2005-11-15 13:05:26 +00:00
|
|
|
#ifndef __ASM_MACH_JMR3927_DS1742_H
|
|
|
|
#define __ASM_MACH_JMR3927_DS1742_H
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#include <asm/jmr3927/jmr3927.h>
|
|
|
|
|
2006-04-02 23:21:30 +00:00
|
|
|
#define rtc_read(reg) (jmr3927_nvram_in(reg))
|
2005-04-16 22:20:36 +00:00
|
|
|
#define rtc_write(data, reg) (jmr3927_nvram_out((data),(reg)))
|
|
|
|
|
2005-11-15 13:05:26 +00:00
|
|
|
#endif /* __ASM_MACH_JMR3927_DS1742_H */
|