Skip to content

Commit

Permalink
[MIPS] Atlas: Fix building the RTC driver
Browse files Browse the repository at this point in the history
Atlas maps its RTC chip in the host mmio space rather than using the
"traditional" location in the PCI/ISA port space.  A change that has
happened to the generic RTC header requires to define ARCH_RTC_LOCATION
now.

Signed-off-by: Maciej W. Rozycki <macro@mips.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Maciej W. Rozycki authored and Ralf Baechle committed Sep 27, 2006
1 parent 846acaa commit 3ee24e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-mips/mach-atlas/mc146818rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#include <asm/mips-boards/atlas.h>
#include <asm/mips-boards/atlasint.h>

#define ARCH_RTC_LOCATION

#define RTC_PORT(x) (ATLAS_RTC_ADR_REG + (x) * 8)
#define RTC_IO_EXTENT 0x100
#define RTC_IOMAPPED 0
Expand Down

0 comments on commit 3ee24e1

Please sign in to comment.