Hello, all.

little cleaning

-- 
Regards,
Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: [email protected]
diff -Naur /mnt/data/clfs2/__hidden/source/openocd/trunk/src/flash/mx3_nand.c trunk/src/flash/mx3_nand.c
--- /mnt/data/clfs2/__hidden/source/openocd/trunk/src/flash/mx3_nand.c	2009-09-11 08:36:19.126864628 +0600
+++ trunk/src/flash/mx3_nand.c	2009-09-11 09:43:08.000000000 +0600
@@ -43,8 +43,6 @@
 	"minimal granularity is one half-word, %d is incorrect";
 static const char sram_buffer_bounds_err_msg[] =
 	"trying to access out of SRAM buffer bound (addr=0x%x)";
-static const char invalid_command_sequense_err_msg[] =
-	"invalid command sequence in %s";
 static const char get_status_register_err_msg[] = "can't get NAND status";
 static uint32_t in_sram_address;
 unsigned char sign_of_sequental_byte_read;
@@ -237,7 +235,7 @@
 	 * testing IOMUX settings; must be in "functional-mode output and
 	 * functional-mode input" mode
 	 */
-	uint8_t test_iomux;
+	int test_iomux;
 	test_iomux = ERROR_OK;
 	test_iomux |=
 	    test_iomux_settings (target, 0x43fac0c0, 0x7f7f7f00, "d0,d1,d2");
@@ -438,10 +436,6 @@
 		mx3_nf_info->fin = MX3_NF_FIN_DATAOUT;
 		mx3_nf_info->optype = MX3_NF_DATAOUT_PAGE;
 		break;
-	    case NAND_CMD_SEQIN:
-		LOG_ERROR ("aaa");
-		return ERROR_FAIL;
-		break;
 	    default:
 		mx3_nf_info->optype = MX3_NF_DATAOUT_PAGE;
 	}
diff -Naur /mnt/data/clfs2/__hidden/source/openocd/trunk/src/flash/mx3_nand.h trunk/src/flash/mx3_nand.h
--- /mnt/data/clfs2/__hidden/source/openocd/trunk/src/flash/mx3_nand.h	2009-09-11 08:36:19.130199416 +0600
+++ trunk/src/flash/mx3_nand.h	2009-09-11 09:37:49.000000000 +0600
@@ -1,3 +1,30 @@
+
+/***************************************************************************
+ *   Copyright (C) 2009 by Alexei Babich                                   *
+ *   Rezonans plc., Chelyabinsk, Russia                                    *
+ *   [email protected]                                                        *
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ *   This program is distributed in the hope that it will be useful,       *
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
+ *   GNU General Public License for more details.                          *
+ *                                                                         *
+ *   You should have received a copy of the GNU General Public License     *
+ *   along with this program; if not, write to the                         *
+ *   Free Software Foundation, Inc.,                                       *
+ *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
+ ***************************************************************************/
+
+/*
+ * Freescale iMX3* OpenOCD NAND Flash controller support.
+ *
+ * Many thanks to Ben Dooks for writing s3c24xx driver.
+ */
 #include <nand.h>
 
 #define		MX3_NF_BASE_ADDR		0xb8000000
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to