[U-Boot] [PATCH v3 0/6] Add ARMv7M STM32F1 and STM3210E-EVAL board support
Matt Porter
mporter at konsulko.com
Tue May 5 21:00:21 CEST 2015
This series adds support for the STM32F1 SoC family and the STM3210E-EVAL
board on top of the STM32F4 SoC family support [1].
Since this board has no DRAM the first patch fixes the build when
CONFIG_NR_DRAM_BANKS is not set. A patch is also required to force the
processor to stay in Thumb mode when 'go'ing to an application.
As the STM32F1 differs greatly from STM32F4 in flash and clock layout,
there's a separate subdirectory for the STM32F1 family. The gpio and
serial drivers are shared as these peripherals are mostly similar with
only the pinmux bits being significantly different in the gpio driver.
The STM3210E-EVAL board is supported with 1MiB Flash and 96KiB of SRAM
on the STM32F103ZGT6, USART1 for console, and four user LEDs.
[1] http://lists.denx.de/pipermail/u-boot/2015-March/206640.html
Matt Porter (6):
image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM
common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()
ARMv7M: add STM32F1 support
gpio: stm32: add stm32f1 support
serial: stm32: add stm32f1 support
board: add stm3210e-eval board support
arch/arm/Kconfig | 5 +
arch/arm/cpu/armv7m/Makefile | 1 +
arch/arm/cpu/armv7m/stm32f1/Makefile | 14 +++
arch/arm/cpu/armv7m/stm32f1/clock.c | 196 ++++++++++++++++++++++++++++++
arch/arm/cpu/armv7m/stm32f1/flash.c | 180 +++++++++++++++++++++++++++
arch/arm/cpu/armv7m/stm32f1/soc.c | 36 ++++++
arch/arm/cpu/armv7m/stm32f1/timer.c | 121 ++++++++++++++++++
arch/arm/include/asm/arch-stm32f1/gpio.h | 118 ++++++++++++++++++
arch/arm/include/asm/arch-stm32f1/stm32.h | 116 ++++++++++++++++++
arch/arm/lib/Makefile | 1 +
arch/arm/lib/cmd_boot.c | 44 +++++++
board/st/stm3210e-eval/Kconfig | 19 +++
board/st/stm3210e-eval/MAINTAINERS | 5 +
board/st/stm3210e-eval/Makefile | 14 +++
board/st/stm3210e-eval/stm3210e-eval.c | 86 +++++++++++++
common/image.c | 2 +-
configs/stm3210e-eval_defconfig | 3 +
drivers/gpio/stm32_gpio.c | 110 ++++++++++++++++-
drivers/serial/serial_stm32.c | 10 ++
include/configs/stm3210e-eval.h | 118 ++++++++++++++++++
include/flash.h | 1 +
21 files changed, 1198 insertions(+), 2 deletions(-)
create mode 100644 arch/arm/cpu/armv7m/stm32f1/Makefile
create mode 100644 arch/arm/cpu/armv7m/stm32f1/clock.c
create mode 100644 arch/arm/cpu/armv7m/stm32f1/flash.c
create mode 100644 arch/arm/cpu/armv7m/stm32f1/soc.c
create mode 100644 arch/arm/cpu/armv7m/stm32f1/timer.c
create mode 100644 arch/arm/include/asm/arch-stm32f1/gpio.h
create mode 100644 arch/arm/include/asm/arch-stm32f1/stm32.h
create mode 100644 arch/arm/lib/cmd_boot.c
create mode 100644 board/st/stm3210e-eval/Kconfig
create mode 100644 board/st/stm3210e-eval/MAINTAINERS
create mode 100644 board/st/stm3210e-eval/Makefile
create mode 100644 board/st/stm3210e-eval/stm3210e-eval.c
create mode 100644 configs/stm3210e-eval_defconfig
create mode 100644 include/configs/stm3210e-eval.h
--
2.1.0
More information about the U-Boot
mailing list