summaryrefslogtreecommitdiffstats
path: root/board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2016-04-15 23:02:20 +0200
committerPeter Korsgaard <peter@korsgaard.com>2016-04-16 12:44:07 +0200
commit04d0a5793fd802b1bcd091cfdd84a464d438579e (patch)
tree74b4ab6812f7c51ebacaac008f8980bf0af0cac4 /board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch
parentc8ad46a1a72e41d4f1c2140d63cb771a20359347 (diff)
downloadbuildroot-04d0a5793fd802b1bcd091cfdd84a464d438579e.tar.gz
buildroot-04d0a5793fd802b1bcd091cfdd84a464d438579e.zip
configs/stm32f469_disco: new configuration for STM32F469 Discovery board
Similar to stm32f429_disco, this commit adds a configuration for the Cortex-M4 based STM32F469 platform. It requires a few kernel patches, which have already been submitted upstream, as well as a small OpenOCD patch. Besides that, it re-uses most of what has been added for the STM32F429 platform. Signed-off-by: Lee Jones <lee.jones@linaro.org> [Thomas: - squash multiple patches from Lee Jones into one - improve the readme.txt file - sync the defconfig with the adaptations made to the stm32f429 configuration.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch')
-rw-r--r--board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch b/board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch
new file mode 100644
index 0000000000..bfec98327c
--- /dev/null
+++ b/board/stmicroelectronics/stm32f469-disco/patches/openocd/0002-flash-nor.patch
@@ -0,0 +1,37 @@
+From 3e219648c80a27f0519003f3b088cbb846e255d8 Mon Sep 17 00:00:00 2001
+From: Maxime Coquelin <maxime.coquelin@st.com>
+Date: Sat, 24 Oct 2015 00:03:54 +0200
+Subject: [PATCH] flash/nor/stm32f2x: Add STM32F469 part
+
+Change-Id: I4e13ceb0ba954dc2fea059ddeef10109be938c9c
+Signed-off-by: Maxime Coquelin <mcoquelin.stm32@gmail.com>
+Reviewed-on: http://openocd.zylin.com/3042
+Tested-by: jenkins
+Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
+---
+ src/flash/nor/stm32f2x.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/flash/nor/stm32f2x.c b/src/flash/nor/stm32f2x.c
+index 2130444..89fc75d 100644
+--- a/src/flash/nor/stm32f2x.c
++++ b/src/flash/nor/stm32f2x.c
+@@ -790,6 +790,7 @@ static int stm32x_probe(struct flash_bank *bank)
+ max_flash_size_in_kb = 1024;
+ break;
+ case 0x419:
++ case 0x434:
+ max_flash_size_in_kb = 2048;
+ break;
+ case 0x423:
+@@ -952,6 +953,7 @@ static int get_stm32x_info(struct flash_bank *bank, char *buf, int buf_size)
+
+ case 0x413:
+ case 0x419:
++ case 0x434:
+ device_str = "STM32F4xx";
+
+ switch (rev_id) {
+--
+1.9.1
+
OpenPOWER on IntegriCloud