From: Matt Porter <mporter@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/6] Add ARMv7M STM32F1 and STM3210E-EVAL board support
Date: Tue, 14 Apr 2015 14:07:16 -0400 [thread overview]
Message-ID: <1429034842-5260-1-git-send-email-mporter@konsulko.com> (raw)
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 | 13 ++
arch/arm/cpu/armv7m/stm32f1/clock.c | 195 ++++++++++++++++++++++++++++++
arch/arm/cpu/armv7m/stm32f1/flash.c | 179 +++++++++++++++++++++++++++
arch/arm/cpu/armv7m/stm32f1/soc.c | 35 ++++++
arch/arm/cpu/armv7m/stm32f1/timer.c | 120 ++++++++++++++++++
arch/arm/include/asm/arch-stm32f1/gpio.h | 117 ++++++++++++++++++
arch/arm/include/asm/arch-stm32f1/stm32.h | 115 ++++++++++++++++++
board/st/stm3210e-eval/Kconfig | 19 +++
board/st/stm3210e-eval/MAINTAINERS | 5 +
board/st/stm3210e-eval/Makefile | 13 ++
board/st/stm3210e-eval/stm3210e-eval.c | 85 +++++++++++++
common/cmd_boot.c | 4 +
common/image.c | 2 +-
configs/stm3210e-eval_defconfig | 3 +
drivers/gpio/stm32_gpio.c | 103 +++++++++++++++-
drivers/serial/serial_stm32.c | 7 ++
include/configs/stm3210e-eval.h | 117 ++++++++++++++++++
include/flash.h | 1 +
20 files changed, 1137 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 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
next reply other threads:[~2015-04-14 18:07 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-14 18:07 Matt Porter [this message]
2015-04-14 18:07 ` [U-Boot] [PATCH 1/6] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM Matt Porter
2015-04-16 13:52 ` Albert ARIBAUD
2015-04-16 14:53 ` Tom Rini
2015-04-14 18:07 ` [U-Boot] [PATCH 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec() Matt Porter
2015-04-15 10:33 ` Kamil Lulko
2015-04-15 12:34 ` Tom Rini
2015-04-15 14:26 ` Matt Porter
2015-04-16 13:53 ` Albert ARIBAUD
2015-04-16 15:02 ` Tom Rini
2015-04-14 18:07 ` [U-Boot] [PATCH 3/6] ARMv7M: add STM32F1 support Matt Porter
2015-04-14 18:07 ` [U-Boot] [PATCH 4/6] gpio: stm32: add stm32f1 support Matt Porter
2015-04-14 18:07 ` [U-Boot] [PATCH 5/6] serial: " Matt Porter
2015-04-14 18:07 ` [U-Boot] [PATCH 6/6] board: add stm3210e-eval board support Matt Porter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1429034842-5260-1-git-send-email-mporter@konsulko.com \
--to=mporter@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.