From 9b1a938a22e570d080024880bd04c4bbef4b8037 Mon Sep 17 00:00:00 2001 From: oharboe Date: Fri, 11 Sep 2009 06:01:28 +0000 Subject: Alexei Babich cleanup git-svn-id: svn://svn.berlios.de/openocd/trunk@2688 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/flash/mx3_nand.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/flash/mx3_nand.c') diff --git a/src/flash/mx3_nand.c b/src/flash/mx3_nand.c index 8a32bd50..20ab91e8 100644 --- a/src/flash/mx3_nand.c +++ b/src/flash/mx3_nand.c @@ -43,8 +43,6 @@ static const char data_block_size_err_msg[] = "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 @@ static int imx31_init (struct nand_device_s *device) * 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 @@ static int imx31_command (struct nand_device_s *device, uint8_t command) 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; } -- cgit v1.2.3