From: Alexander Shiyan <shc_work@mail.ru>
To: barebox@lists.infradead.org
Subject: [PATCH 08/10] PPC: delete unused asm/mc146818rtc.h
Date: Sun, 20 Jan 2019 13:35:31 +0300 [thread overview]
Message-ID: <20190120103533.7146-8-shc_work@mail.ru> (raw)
In-Reply-To: <20190120103533.7146-1-shc_work@mail.ru>
This removes the stale asm/mc146818rtc.h include as there is no user of it.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
arch/ppc/include/asm/mc146818rtc.h | 27 ---------------------------
1 file changed, 27 deletions(-)
delete mode 100644 arch/ppc/include/asm/mc146818rtc.h
diff --git a/arch/ppc/include/asm/mc146818rtc.h b/arch/ppc/include/asm/mc146818rtc.h
deleted file mode 100644
index adc4e24..0000000
--- a/arch/ppc/include/asm/mc146818rtc.h
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Machine dependent access functions for RTC registers.
- */
-#ifndef __ASM_PPC_MC146818RTC_H
-#define __ASM_PPC_MC146818RTC_H
-
-#include <io.h>
-
-#ifndef RTC_PORT
-#define RTC_PORT(x) (0x70 + (x))
-#define RTC_ALWAYS_BCD 1 /* RTC operates in binary mode */
-#endif
-
-/*
- * The yet supported machines all access the RTC index register via
- * an ISA port access but the way to access the date register differs ...
- */
-#define CMOS_READ(addr) ({ \
-outb_p((addr),RTC_PORT(0)); \
-inb_p(RTC_PORT(1)); \
-})
-#define CMOS_WRITE(val, addr) ({ \
-outb_p((addr),RTC_PORT(0)); \
-outb_p((val),RTC_PORT(1)); \
-})
-
-#endif /* __ASM_PPC_MC146818RTC_H */
--
2.10.2
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-01-20 10:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-20 10:35 [PATCH 01/10] ARM: mvebu: delete unused mach/kirkwood.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 02/10] ARM: imx: delete unused mach/iomux-mx50.h Alexander Shiyan
2019-01-21 8:55 ` Sascha Hauer
2019-01-21 9:32 ` Alexander Shiyan
2019-01-21 9:37 ` Sascha Hauer
2019-01-20 10:35 ` [PATCH 03/10] ARM: omap: delete unused mach/am33xx-devices.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 04/10] ARM: imx: delete unused mach/devices-imx50.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 05/10] ARM: imx: delete unused mach/clock-imx1.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 06/10] ARM: mvebu: delete unused mach/dove.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 07/10] PPC: delete unused asm/e300.h Alexander Shiyan
2019-01-20 10:35 ` Alexander Shiyan [this message]
2019-01-20 10:35 ` [PATCH 09/10] ARM: at91: delete unused mach/sama5d3_matrix.h Alexander Shiyan
2019-01-20 10:35 ` [PATCH 10/10] ARM: netx: delete unused netx-devices.h Alexander Shiyan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190120103533.7146-8-shc_work@mail.ru \
--to=shc_work@mail.ru \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox