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

patrice.chotard at st.com patrice.chotard at st.com
Fri Feb 9 12:09:52 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

V2: _ create arch/arm/include/asm/arch-stm32 directory and move 
      gpio.h and stm32f.h in it.

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-stm32/gpio.h           | 115 ++++++++++++++++++
 arch/arm/include/asm/arch-stm32/stm32f.h         |  22 ++++
 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         | 115 +-----------------
 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 +-----------------
 board/st/stm32f746-disco/stm32f746-disco.c       |   1 -
 drivers/mtd/stm32_flash.c                        |   2 +-
 13 files changed, 144 insertions(+), 576 deletions(-)
 create mode 100644 arch/arm/include/asm/arch-stm32/gpio.h
 create mode 100644 arch/arm/include/asm/arch-stm32/stm32f.h
 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

-- 
1.9.1



More information about the U-Boot mailing list