2005-04-16 18:20:36 -04: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 19:21:30 -04:00
|
|
|
* Copyright (C) 2003, 06 by Ralf Baechle
|
2005-04-16 18:20:36 -04:00
|
|
|
*/
|
2005-11-15 08:05:26 -05:00
|
|
|
#ifndef __ASM_MACH_JMR3927_DS1742_H
|
|
|
|
#define __ASM_MACH_JMR3927_DS1742_H
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
#include <asm/jmr3927/jmr3927.h>
|
|
|
|
|
2006-04-02 19:21:30 -04:00
|
|
|
#define rtc_read(reg) (jmr3927_nvram_in(reg))
|
2005-04-16 18:20:36 -04:00
|
|
|
#define rtc_write(data, reg) (jmr3927_nvram_out((data),(reg)))
|
|
|
|
|
2005-11-15 08:05:26 -05:00
|
|
|
#endif /* __ASM_MACH_JMR3927_DS1742_H */
|