clock: stm32f4: Fix wrong BKPSRAM and CCMDATARAM clocks
It appears that enable bits for BKPSRAM and CCMDATARAM are incorrectly defined as bit 14 and 16 on AHB1 respectively (when these IPs are present), where we should use bit 18 and 20 according to the various reference manuals (STM32F415 for instance). Change-Id: I44ce59a29c57e306f6a945e46043efbcfce7a92f Signed-off-by: Florian Vaussard <florian.vaussard@heig-vd.ch>
This commit is contained in:
parent
33579adef9
commit
2304e0facf
|
@ -36,8 +36,8 @@ enum {
|
|||
STM32F4X_CLOCK_ENABLE_GPIOJ = 1 << 9,
|
||||
STM32F4X_CLOCK_ENABLE_GPIOK = 1 << 10,
|
||||
STM32F4X_CLOCK_ENABLE_CRC = 1 << 12,
|
||||
STM32F4X_CLOCK_ENABLE_BKPSRAM = 1 << 14,
|
||||
STM32F4X_CLOCK_ENABLE_CCMDATARAM = 1 << 16,
|
||||
STM32F4X_CLOCK_ENABLE_BKPSRAM = 1 << 18,
|
||||
STM32F4X_CLOCK_ENABLE_CCMDATARAM = 1 << 20,
|
||||
STM32F4X_CLOCK_ENABLE_DMA1 = 1 << 21,
|
||||
STM32F4X_CLOCK_ENABLE_DMA2 = 1 << 22,
|
||||
STM32F4X_CLOCK_ENABLE_ETHMAC = 1 << 25,
|
||||
|
|
Loading…
Reference in a new issue