diff options
author | Wolfgang Denk <wd@denx.de> | 2010-09-08 00:03:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-09-08 00:03:22 +0200 |
commit | 09b4a9cf4003599f2cd609587dfa5f0b754640ed (patch) | |
tree | 768c7e70dc393814643ed7b7290ea8e33fa95ba3 /arch/arm/include/asm/arch-s5pc1xx/pwm.h | |
parent | 27130f133eda205b07d97b475a2ef96ec3f46b0f (diff) | |
parent | a87bc64cb4311323f592265541ced6ec9171d4d6 (diff) | |
download | u-boot-09b4a9cf4003599f2cd609587dfa5f0b754640ed.zip u-boot-09b4a9cf4003599f2cd609587dfa5f0b754640ed.tar.gz u-boot-09b4a9cf4003599f2cd609587dfa5f0b754640ed.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-samsung
Diffstat (limited to 'arch/arm/include/asm/arch-s5pc1xx/pwm.h')
-rw-r--r-- | arch/arm/include/asm/arch-s5pc1xx/pwm.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/arch/arm/include/asm/arch-s5pc1xx/pwm.h b/arch/arm/include/asm/arch-s5pc1xx/pwm.h index e02a8d8..0369968 100644 --- a/arch/arm/include/asm/arch-s5pc1xx/pwm.h +++ b/arch/arm/include/asm/arch-s5pc1xx/pwm.h @@ -22,19 +22,15 @@ #ifndef __ASM_ARM_ARCH_PWM_H_ #define __ASM_ARM_ARCH_PWM_H_ -/* PWM timer addressing */ -#define S5PC100_TIMER_BASE S5PC100_PWMTIMER_BASE -#define S5PC110_TIMER_BASE S5PC110_PWMTIMER_BASE - /* Interval mode(Auto Reload) of PWM Timer 4 */ -#define S5PC1XX_TCON4_AUTO_RELOAD (1 << 22) +#define TCON4_AUTO_RELOAD (1 << 22) /* Update TCNTB4 */ -#define S5PC1XX_TCON4_UPDATE (1 << 21) +#define TCON4_UPDATE (1 << 21) /* start bit of PWM Timer 4 */ -#define S5PC1XX_TCON4_START (1 << 20) +#define TCON4_START (1 << 20) #ifndef __ASSEMBLY__ -struct s5pc1xx_timer { +struct s5p_timer { unsigned int tcfg0; unsigned int tcfg1; unsigned int tcon; |