mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 17:44:14 +08:00
71b9114d2c
s3c24xx and s3c64xx have a lot in common, but are split across three separate directories, which makes the interaction of the header files more complicated than necessary. Move all three directories into a new mach-s3c, with a minimal set of changes to each file. Signed-off-by: Arnd Bergmann <arnd@arndb.de> [krzk: Rebase, add s3c24xx and s3c64xx suffix to several files, add SPDX headers to new files, remove plat-samsung from MAINTAINERS] Co-developed-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> https://lore.kernel.org/r/20200806182059.2431-39-krzk@kernel.org
28 lines
872 B
C
28 lines
872 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright 2008 Openmoko, Inc.
|
|
* Copyright 2008 Simtec Electronics
|
|
* http://armlinux.simtec.co.uk/
|
|
* Ben Dooks <ben@simtec.co.uk>
|
|
*
|
|
* S3C64XX - modem block registers
|
|
*/
|
|
|
|
#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 */
|