diff options
author | Tom Rini <trini@konsulko.com> | 2016-03-23 18:35:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-23 18:35:11 -0400 |
commit | b5b84be8a7356d4c3618b6edcb501885e53569f5 (patch) | |
tree | f172eee81583287573c027189bf099385f22d2b5 /arch/arm/cpu/armv7/sunxi/clock_sun9i.c | |
parent | d085ecd61b9956cda0d37b89b5c538f54440fe58 (diff) | |
parent | e449e840c5adf728ddd308501af3115656aa9a60 (diff) |
Merge branch 'master' of http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'arch/arm/cpu/armv7/sunxi/clock_sun9i.c')
-rw-r--r-- | arch/arm/cpu/armv7/sunxi/clock_sun9i.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/sunxi/clock_sun9i.c b/arch/arm/cpu/armv7/sunxi/clock_sun9i.c index 27179ba19c..180634c838 100644 --- a/arch/arm/cpu/armv7/sunxi/clock_sun9i.c +++ b/arch/arm/cpu/armv7/sunxi/clock_sun9i.c @@ -43,10 +43,10 @@ int clock_twi_onoff(int port, int state) setbits_le32(&ccm->apb1_gate, CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port)); setbits_le32(&ccm->apb1_reset_cfg, - 1 << (APB1_RESET_UART_SHIFT + port)); + 1 << (APB1_RESET_TWI_SHIFT + port)); } else { clrbits_le32(&ccm->apb1_reset_cfg, - 1 << (APB1_RESET_UART_SHIFT + port)); + 1 << (APB1_RESET_TWI_SHIFT + port)); clrbits_le32(&ccm->apb1_gate, CLK_GATE_OPEN << (APB1_GATE_TWI_SHIFT + port)); } |