]> git.sur5r.net Git - openocd/commitdiff
Revert "dsp5680xx: disable for now, it generates warnings"
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 18:14:50 +0000 (20:14 +0200)
committerØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 9 Aug 2011 18:15:21 +0000 (20:15 +0200)
This reverts commit d567df02b9f3e7d2e7e78b3c2907ecad9aa4bbd4.

src/flash/nor/Makefile.am
src/flash/nor/drivers.c
src/target/Makefile.am
src/target/target.c

index 6dd95fe49c4549ec0d730f1894269a698fbd3159..d7d66b0381702725e02ca67db0ad1e5706ba8646 100644 (file)
@@ -31,10 +31,8 @@ NOR_DRIVERS = \
        str9xpec.c \
        tms470.c \
        virtual.c \
-       fm3.c
-
-# Disabled for now, it generates warnings
-# dsp5680xx_flash.c 
+       fm3.c \
+       dsp5680xx_flash.c
 
 noinst_HEADERS = \
        core.h \
index 669b0b9f07d5463d623f1a45b75d11b72dc91693..5d6e2482018a7e0f6acd27728c4e4acf6d248ee8 100644 (file)
@@ -43,7 +43,7 @@ extern struct flash_driver faux_flash;
 extern struct flash_driver virtual_flash;
 extern struct flash_driver stmsmi_flash;
 extern struct flash_driver em357_flash;
-//extern struct flash_driver dsp5680xx_flash;
+extern struct flash_driver dsp5680xx_flash;
 extern struct flash_driver fm3_flash;
 
 /**
@@ -73,9 +73,8 @@ static struct flash_driver *flash_drivers[] = {
        &virtual_flash,
        &stmsmi_flash,
        &em357_flash,
-       // Disabled for now, it generates warnings
-       //&dsp5680xx_flash,
        &fm3_flash,
+       &dsp5680xx_flash,
        NULL,
 };
 
index 2de064633b8a3b3c576cecd86103ab6fa83fcb93..27ad054fb1a1916b69956aa53cd109765641478f 100644 (file)
@@ -33,10 +33,8 @@ libtarget_la_SOURCES = \
        $(MIPS32_SRC) \
        avrt.c \
        dsp563xx.c \
-       dsp563xx_once.c
-       
-# This file generates warnings, disabled for now, see also target.c
-#      dsp5680xx.c
+       dsp563xx_once.c \
+       dsp5680xx.c
 
 TARGET_CORE_SRC = \
        algorithm.c \
index f62915ef35ebb21240160786706c849bebb888b0..03431560f57cd89724937794aa749a93ffef17a6 100644 (file)
@@ -81,7 +81,7 @@ extern struct target_type arm11_target;
 extern struct target_type mips_m4k_target;
 extern struct target_type avr_target;
 extern struct target_type dsp563xx_target;
-//extern struct target_type dsp5680xx_target;
+extern struct target_type dsp5680xx_target;
 extern struct target_type testee_target;
 extern struct target_type avr32_ap7k_target;
 
@@ -104,8 +104,7 @@ static struct target_type *target_types[] =
        &mips_m4k_target,
        &avr_target,
        &dsp563xx_target,
-// Disabled for now, it generates warnings
-//     &dsp5680xx_target,
+       &dsp5680xx_target,
        &testee_target,
        &avr32_ap7k_target,
        NULL,