]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/mcsdk-tools.git/blobdiff - writer/nand/src/nandwriter.c
Added defines for 6657
[keystone-rtos/mcsdk-tools.git] / writer / nand / src / nandwriter.c
index 69f3fc086548021e0716b5c8914baa329ea73cde..09897f25d9a133657a436967b9a7f13ac7c2503a 100644 (file)
@@ -1,5 +1,5 @@
 /******************************************************************************
- * Copyright (c) 2011 Texas Instruments Incorporated - http://www.ti.com
+ * Copyright (c) 2011-2012 Texas Instruments Incorporated - http://www.ti.com
  * 
  *  Redistribution and use in source and binary forms, with or without 
  *  modification, are permitted provided that the following conditions 
@@ -47,7 +47,7 @@
 #include "types.h"
 
 /* NAND writer utility version */
-char version[] = "01.00.00.04";
+char version[] = "01.00.00.00";
 
 /* The input file name is hard coded */
 char *input_file = "nand_writer_input.txt";
@@ -530,8 +530,11 @@ void main ()
         print_platform_errno();
         return;
     }
-
+#if !(defined(_EVMC6657L_))
     p_device = platform_device_open(PLATFORM_DEVID_NAND512R3A2D, 0);
+#else
+    p_device = platform_device_open(PLATFORM_DEVID_MT29F1G08ABCHC, 0);
+#endif
     if (p_device == NULL) 
     {
         printf ("NAND device open failed!\n");