writer: Update nand and nor writer to not do phy init
authorSam Nelson <sam.nelson@ti.com>
Fri, 25 Jul 2014 11:18:32 +0000 (07:18 -0400)
committerSam Nelson <sam.nelson@ti.com>
Fri, 25 Jul 2014 11:18:32 +0000 (07:18 -0400)
- Phy init is not needed for platform init call

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
writer/nand/src/nandwriter.c
writer/nor/src/norwriter.c

index f474d5aaaac46538329916c49c00064005e321fb..f1baba6c6d070100f12f40a873bad7a427af9963 100755 (executable)
@@ -601,6 +601,7 @@ void main ()
     memset(&init_flags, 1, sizeof(platform_init_flags));
     init_flags.pll = 0;
     init_flags.ddr = 0;
+    init_flags.phy =0;
     if (platform_init(&init_flags, &init_config) != Platform_EOK)
     {
         printf ("Platform init failed!\n");
index 55bb3b8918891eedf4b4314e349b42a3cfc832b6..e8a5db5e0f2abe3d98713ca0bf9fd673ad1bd8ba 100644 (file)
@@ -433,6 +433,7 @@ void main ()
     memset(&init_flags, 1, sizeof(platform_init_flags));
     init_flags.pll = 0;
     init_flags.ddr = 0;
+    init_flags.phy = 0;
     if (platform_init(&init_flags, &init_config) != Platform_EOK)
     {
         printf ("Platform init failed!\n");