diff options
| author | Patrice Chotard <[email protected]> | 2018-02-09 13:09:55 +0100 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2018-03-13 21:45:37 -0400 |
| commit | 2536f18bfa22eacc8d39d5b68762374f4bca8986 (patch) | |
| tree | c17928ffef06807747a6e4ae26229d2091e206b7 /drivers | |
| parent | f36bcf23901df0ac607a7457ac0e08a1c81b6e34 (diff) | |
arch-stm32: Factorize stm32.h for STM32F4 and F7
For STM32F4 and F7 SoCx family, a specific stm32.h file exists.
Some common defines are duplicated or even unused in each of
these stm32.h.
Factorize all common definition in arch/arm/include/asm/stm32f.h and keep
specific definitions in each arch/arm/include/asm/arch-stm32fx/stm32.h.
Signed-off-by: Patrice Chotard <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/mtd/stm32_flash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/stm32_flash.c b/drivers/mtd/stm32_flash.c index 472499d83c3..a82814272e2 100644 --- a/drivers/mtd/stm32_flash.c +++ b/drivers/mtd/stm32_flash.c @@ -12,7 +12,7 @@ flash_info_t flash_info[CONFIG_SYS_MAX_FLASH_BANKS]; -#define STM32_FLASH ((struct stm32_flash_regs *)FLASH_CNTL_BASE) +#define STM32_FLASH ((struct stm32_flash_regs *)STM32_FLASH_CNTL_BASE) void stm32_flash_latency_cfg(int latency) { |
