diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-26 10:45:40 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-02-20 22:31:17 +0000 |
commit | 3501c9ae9fc5414d09c9a8d3a5452d2b167db916 (patch) | |
tree | 200146af3989c0c07b0a66bff96ac959602d1b1e /arch/arm/mach-s3c64xx/include/mach/regs-sys.h | |
parent | 2f6c2ac1d945ffc2e343103bdcfccbdb2e2de805 (diff) | |
download | op-kernel-dev-3501c9ae9fc5414d09c9a8d3a5452d2b167db916.zip op-kernel-dev-3501c9ae9fc5414d09c9a8d3a5452d2b167db916.tar.gz |
ARM: S3C64XX: Move headers into machine include directory
Move the register and GPIO definition files from plat-s3c64xx into the
machine include direcotry as they are unlikely to be reused outside
mach-s3c64xx.
This move includes removing the empty <mach/regs-clock.h> and replacing
it with the <plat/regs-clock.h> implementation.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/include/mach/regs-sys.h')
-rw-r--r-- | arch/arm/mach-s3c64xx/include/mach/regs-sys.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/include/mach/regs-sys.h b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h new file mode 100644 index 0000000..69b78d9 --- /dev/null +++ b/arch/arm/mach-s3c64xx/include/mach/regs-sys.h @@ -0,0 +1,28 @@ +/* arch/arm/plat-s3c64xx/include/plat/regs-sys.h + * + * Copyright 2008 Openmoko, Inc. + * Copyright 2008 Simtec Electronics + * Ben Dooks <ben@simtec.co.uk> + * http://armlinux.simtec.co.uk/ + * + * S3C64XX system register definitions + * + * 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 __PLAT_REGS_SYS_H +#define __PLAT_REGS_SYS_H __FILE__ + +#define S3C_SYSREG(x) (S3C_VA_SYS + (x)) + +#define S3C64XX_AHB_CON0 S3C_SYSREG(0x100) +#define S3C64XX_AHB_CON1 S3C_SYSREG(0x104) +#define S3C64XX_AHB_CON2 S3C_SYSREG(0x108) + +#define S3C64XX_OTHERS S3C_SYSREG(0x900) + +#define S3C64XX_OTHERS_USBMASK (1 << 16) + +#endif /* _PLAT_REGS_SYS_H */ |