[U-Boot] [PATCH 0/5] STM32: Clean unused and factorize .h files in arch-stm32

patrice.chotard at st.com patrice.chotard at st.com
Wed Feb 7 15:50:45 UTC 2018


From: Patrice Chotard <patrice.chotard at st.com>

Removes unused .h files in arch/arm/include/asm/arch-stm32xx 
Factorize and clean some .h files to avoid to duplicate defines in 
separate .h files

Patrice Chotard (5):
  arch-stm32f4: Remove fmc.h file
  arch-stm32: Move gpio.h for STM32 SoCs in include/asm/
  arch-stm32: Factorize stm32.h for STM32F4 and F7
  arch-stm32: Remove stm32_periph.h
  arch-stm32: Clean arch-stm32f7/syscfg.h

 arch/arm/include/asm/arch-stm32f4/fmc.h          |  75 ------------
 arch/arm/include/asm/arch-stm32f4/gpio.h         | 146 +----------------------
 arch/arm/include/asm/arch-stm32f4/stm32.h        |  14 +--
 arch/arm/include/asm/arch-stm32f4/stm32_periph.h |  38 ------
 arch/arm/include/asm/arch-stm32f7/gpio.h         | 116 +-----------------
 arch/arm/include/asm/arch-stm32f7/stm32.h        |  45 +------
 arch/arm/include/asm/arch-stm32f7/stm32_periph.h |  23 ----
 arch/arm/include/asm/arch-stm32f7/syscfg.h       |   9 --
 arch/arm/include/asm/arch-stm32h7/gpio.h         | 115 +-----------------
 arch/arm/include/asm/stm32_gpio.h                | 115 ++++++++++++++++++
 arch/arm/include/asm/stm32f.h                    |  22 ++++
 board/st/stm32f746-disco/stm32f746-disco.c       |   1 -
 drivers/mtd/stm32_flash.c                        |   2 +-
 13 files changed, 144 insertions(+), 577 deletions(-)
 delete mode 100644 arch/arm/include/asm/arch-stm32f4/fmc.h
 delete mode 100644 arch/arm/include/asm/arch-stm32f4/stm32_periph.h
 delete mode 100644 arch/arm/include/asm/arch-stm32f7/stm32_periph.h
 create mode 100644 arch/arm/include/asm/stm32_gpio.h
 create mode 100644 arch/arm/include/asm/stm32f.h

-- 
1.9.1



More information about the U-Boot mailing list