summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/regs-modem.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-02 13:24:12 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 10:45:39 -0800
commita81c19700d605a2a07b9a502f0306a9efd3e079d (patch)
tree67ccc9bb9602ddf477bde9281f3dd0d88e6694d1 /arch/arm/mach-s3c64xx/regs-modem.h
parent8bb86ead0663b098bd9770f457db5b797ae2f071 (diff)
downloadblackbird-op-linux-a81c19700d605a2a07b9a502f0306a9efd3e079d.tar.gz
blackbird-op-linux-a81c19700d605a2a07b9a502f0306a9efd3e079d.zip
ARM: S3C64XX: make regs-modem.h local
The header can be local in mach-s3c64xx/. Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/regs-modem.h')
-rw-r--r--arch/arm/mach-s3c64xx/regs-modem.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/regs-modem.h b/arch/arm/mach-s3c64xx/regs-modem.h
new file mode 100644
index 000000000000..073cdd3a03be
--- /dev/null
+++ b/arch/arm/mach-s3c64xx/regs-modem.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2008 Openmoko, Inc.
+ * Copyright 2008 Simtec Electronics
+ * http://armlinux.simtec.co.uk/
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * S3C64XX - modem block registers
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+#ifndef __MACH_S3C64XX_REGS_MODEM_H
+#define __MACH_S3C64XX_REGS_MODEM_H __FILE__
+
+#define S3C64XX_MODEMREG(x) (S3C64XX_VA_MODEM + (x))
+
+#define S3C64XX_MODEM_INT2AP S3C64XX_MODEMREG(0x0)
+#define S3C64XX_MODEM_INT2MODEM S3C64XX_MODEMREG(0x4)
+#define S3C64XX_MODEM_MIFCON S3C64XX_MODEMREG(0x8)
+#define S3C64XX_MODEM_MIFPCON S3C64XX_MODEMREG(0xC)
+#define S3C64XX_MODEM_INTCLR S3C64XX_MODEMREG(0x10)
+#define S3C64XX_MODEM_DMA_TXADDR S3C64XX_MODEMREG(0x14)
+#define S3C64XX_MODEM_DMA_RXADDR S3C64XX_MODEMREG(0x18)
+
+#define MIFPCON_INT2M_LEVEL (1 << 4)
+#define MIFPCON_LCD_BYPASS (1 << 3)
+
+#endif /* __MACH_S3C64XX_REGS_MODEM_H */
OpenPOWER on IntegriCloud