arch-stm32: Factorize stm32.h for STM32F4 and F7
authorPatrice Chotard <patrice.chotard@st.com>
Fri, 9 Feb 2018 12:09:55 +0000 (13:09 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Mar 2018 01:45:37 +0000 (21:45 -0400)
commit2536f18bfa22eacc8d39d5b68762374f4bca8986
treec17928ffef06807747a6e4ae26229d2091e206b7
parentf36bcf23901df0ac607a7457ac0e08a1c81b6e34
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 <patrice.chotard@st.com>
arch/arm/include/asm/arch-stm32/stm32f.h [new file with mode: 0644]
arch/arm/include/asm/arch-stm32f4/stm32.h
arch/arm/include/asm/arch-stm32f7/stm32.h
drivers/mtd/stm32_flash.c