Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 059fbd6a authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Kill off more dead headers.



Some old rtc and io headers were left hanging around, kill them off..

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent c9148567
Loading
Loading
Loading
Loading

include/asm-sh/cpu-sh3/rtc.h

deleted100644 → 0
+0 −25
Original line number Diff line number Diff line
#ifndef __ASM_CPU_SH3_RTC_H
#define __ASM_CPU_SH3_RTC_H

/* SH-3 RTC */
#define R64CNT  	0xfffffec0
#define RSECCNT 	0xfffffec2
#define RMINCNT 	0xfffffec4
#define RHRCNT  	0xfffffec6
#define RWKCNT  	0xfffffec8
#define RDAYCNT 	0xfffffeca
#define RMONCNT 	0xfffffecc
#define RYRCNT  	0xfffffece
#define RSECAR  	0xfffffed0
#define RMINAR  	0xfffffed2
#define RHRAR   	0xfffffed4
#define RWKAR   	0xfffffed6
#define RDAYAR  	0xfffffed8
#define RMONAR  	0xfffffeda
#define RCR1    	0xfffffedc
#define RCR2    	0xfffffede

#define RTC_BIT_INVERTED	0	/* No bug on SH7708, SH7709A */

#endif /* __ASM_CPU_SH3_RTC_H */

include/asm-sh/cpu-sh4/rtc.h

deleted100644 → 0
+0 −25
Original line number Diff line number Diff line
#ifndef __ASM_CPU_SH4_RTC_H
#define __ASM_CPU_SH4_RTC_H

/* SH-4 RTC */
#define R64CNT  	0xffc80000
#define RSECCNT 	0xffc80004
#define RMINCNT 	0xffc80008
#define RHRCNT  	0xffc8000c
#define RWKCNT  	0xffc80010
#define RDAYCNT 	0xffc80014
#define RMONCNT 	0xffc80018
#define RYRCNT  	0xffc8001c  /* 16bit */
#define RSECAR  	0xffc80020
#define RMINAR  	0xffc80024
#define RHRAR   	0xffc80028
#define RWKAR   	0xffc8002c
#define RDAYAR  	0xffc80030
#define RMONAR  	0xffc80034
#define RCR1    	0xffc80038
#define RCR2    	0xffc8003c

#define RTC_BIT_INVERTED	0x40	/* bug on SH7750, SH7750S */

#endif /* __ASM_CPU_SH4_RTC_H */

include/asm-sh/hs7751rvoip/io.h

deleted100644 → 0
+0 −39
Original line number Diff line number Diff line
/*
 * include/asm-sh/hs7751rvoip/hs7751rvoip.h
 *
 * Modified version of io_se.h for the hs7751rvoip-specific functions.
 *
 * May be copied or modified under the terms of the GNU General Public
 * License.  See linux/COPYING for more information.
 *
 * IO functions for an Renesas Technology sales HS7751RVOIP
 */

#ifndef _ASM_SH_IO_HS7751RVOIP_H
#define _ASM_SH_IO_HS7751RVOIP_H

#include <asm/io_generic.h>

extern unsigned char hs7751rvoip_inb(unsigned long port);
extern unsigned short hs7751rvoip_inw(unsigned long port);
extern unsigned int hs7751rvoip_inl(unsigned long port);

extern void hs7751rvoip_outb(unsigned char value, unsigned long port);
extern void hs7751rvoip_outw(unsigned short value, unsigned long port);
extern void hs7751rvoip_outl(unsigned int value, unsigned long port);

extern unsigned char hs7751rvoip_inb_p(unsigned long port);
extern void hs7751rvoip_outb_p(unsigned char value, unsigned long port);

extern void hs7751rvoip_insb(unsigned long port, void *addr, unsigned long count);
extern void hs7751rvoip_insw(unsigned long port, void *addr, unsigned long count);
extern void hs7751rvoip_insl(unsigned long port, void *addr, unsigned long count);
extern void hs7751rvoip_outsb(unsigned long port, const void *addr, unsigned long count);
extern void hs7751rvoip_outsw(unsigned long port, const void *addr, unsigned long count);
extern void hs7751rvoip_outsl(unsigned long port, const void *addr, unsigned long count);

extern void *hs7751rvoip_ioremap(unsigned long offset, unsigned long size);

extern unsigned long hs7751rvoip_isa_port2addr(unsigned long offset);

#endif /* _ASM_SH_IO_HS7751RVOIP_H */

include/asm-sh/rts7751r2d/io.h

deleted100644 → 0
+0 −37
Original line number Diff line number Diff line
/*
 * include/asm-sh/io_rts7751r2d.h
 *
 * Modified version of io_se.h for the rts7751r2d-specific functions.
 *
 * May be copied or modified under the terms of the GNU General Public
 * License.  See linux/COPYING for more information.
 *
 * IO functions for an Renesas Technology sales RTS7751R2D
 */

#ifndef _ASM_SH_IO_RTS7751R2D_H
#define _ASM_SH_IO_RTS7751R2D_H

extern unsigned char rts7751r2d_inb(unsigned long port);
extern unsigned short rts7751r2d_inw(unsigned long port);
extern unsigned int rts7751r2d_inl(unsigned long port);

extern void rts7751r2d_outb(unsigned char value, unsigned long port);
extern void rts7751r2d_outw(unsigned short value, unsigned long port);
extern void rts7751r2d_outl(unsigned int value, unsigned long port);

extern unsigned char rts7751r2d_inb_p(unsigned long port);
extern void rts7751r2d_outb_p(unsigned char value, unsigned long port);

extern void rts7751r2d_insb(unsigned long port, void *addr, unsigned long count);
extern void rts7751r2d_insw(unsigned long port, void *addr, unsigned long count);
extern void rts7751r2d_insl(unsigned long port, void *addr, unsigned long count);
extern void rts7751r2d_outsb(unsigned long port, const void *addr, unsigned long count);
extern void rts7751r2d_outsw(unsigned long port, const void *addr, unsigned long count);
extern void rts7751r2d_outsl(unsigned long port, const void *addr, unsigned long count);

extern void *rts7751r2d_ioremap(unsigned long offset, unsigned long size);

extern unsigned long rts7751r2d_isa_port2addr(unsigned long offset);

#endif /* _ASM_SH_IO_RTS7751R2D_H */