index 69f3fc086548021e0716b5c8914baa329ea73cde..09897f25d9a133657a436967b9a7f13ac7c2503a 100644 (file)
/******************************************************************************
- * 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
#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";
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");