linux/arch/sh
Paul Mundt ad89f87a84 rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712.
All SH-4 parts have a 4-digit year, while the SH-3 parts typically
only use a 2-digit one. The SH7705, SH7710, and SH7712 SH-3 parts
however opted to extend it to 4-digit and still look and act like
an SH-3 RTC in all other ways.

This adds a capability flag (RTC_CAP_4_DIGIT_YEAR) that these
corner-case CPU subtypes can set in their platform data and cleans
up some of the ifdef mess in the driver as a result.

Reported-by: Markus Brunner <super.firetwister@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2007-09-21 11:57:47 +09:00
..
boards sh: simplify se7780 IRQ code 2007-09-21 11:57:47 +09:00
boot sh: arch/sh/boot - fix shell usage 2007-07-26 17:43:41 +09:00
cchips sh: hd64461 tidying. 2007-07-20 12:18:19 +09:00
configs sh: fix defconfigs for sh7751r boards 2007-08-03 10:17:47 +09:00
drivers sh: Fix Dreamcast DMA issues. 2007-07-24 13:30:55 +09:00
kernel rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712. 2007-09-21 11:57:47 +09:00
lib sh: Revert __xdiv64_32 size change. 2007-07-13 12:27:13 +09:00
math-emu sh: Fix up the math-emu build. 2007-06-11 15:57:42 +09:00
mm sh: Initial multiple-node support for SH-X3. 2007-09-21 11:57:47 +09:00
oprofile sh: Fixup cpu_data references for the non-boot CPUs. 2007-02-13 10:54:45 +09:00
tools sh: remove support for sh7300 and solution engine 7300 2007-07-26 15:37:57 +09:00
Kconfig sh: simplify se7780 IRQ code 2007-09-21 11:57:47 +09:00
Kconfig.debug sh: Tidy up dependencies for SH-2 build. 2007-06-11 15:32:07 +09:00
Makefile sh: Fix DSP opcode regression for SH3-DSP parts. 2007-08-21 16:56:56 +09:00