Hello,

this patch removes the test code used to verify the functionality.


Regards,

Mathias

Am 12.09.2011 16:17, schrieb Mathias K.:
> Hello,
> 
> i have done some work on the kinetis cpu flash driver. Erase,write and read 
> protection works.
> 
> 
> Regards,
> 
> Mathias
>From 3a4d6a735680b0015de4f07db1b91a1f4112e898 Mon Sep 17 00:00:00 2001
From: Mathias K. <[email protected]>
Date: Mon, 12 Sep 2011 21:42:59 +0200
Subject: [PATCH 3/3] remove test code

---
 src/flash/nor/kinetis.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/flash/nor/kinetis.c b/src/flash/nor/kinetis.c
index 548df57..116363c 100644
--- a/src/flash/nor/kinetis.c
+++ b/src/flash/nor/kinetis.c
@@ -278,8 +278,6 @@ static int kinetis_write(struct flash_bank *bank, uint8_t * buffer,
 		return result;
 	}
 
-	buf[0] = 0;
-
 	if (!(buf[0] & (1 << 1))) {
 		/* fallback to longword write */
 		fallback = 1;
-- 
1.7.3.4

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to