aboutsummaryrefslogtreecommitdiff
path: root/src/flash/nor/drivers.c
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2011-06-28 18:35:34 +0200
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-06-28 18:39:01 +0200
commitd567df02b9f3e7d2e7e78b3c2907ecad9aa4bbd4 (patch)
tree5c0d88eea384d986a53a26659373eddbb50117f2 /src/flash/nor/drivers.c
parent2482244b0788c007dd789c21a4416379c229ea5c (diff)
dsp5680xx: disable for now, it generates warnings
Use "git revert <commit>" to revert this commit, then build and repair and post patch to the mailing list. Warnings generated with: nios2-elf-gcc (GCC) 3.4.6 (Altera Nios II 9.1 b222) openocd/src/target/dsp5680xx.c: In function 'eonce_rx_upper_data': openocd/src/target/dsp5680xx.c:252: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'eonce_rx_lower_data': openocd/src/target/dsp5680xx.c:268: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'eonce_pc_store': openocd/src/target/dsp5680xx.c:508: warning: dereferencing type-punned pointer will break strict-aliasing rules openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_read': openocd/src/target/dsp5680xx.c:736: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c:737: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write_8': openocd/src/target/dsp5680xx.c:823: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_write': openocd/src/target/dsp5680xx.c:938: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c:941: warning: cast increases required alignment of target type openocd/src/target/dsp5680xx.c: In function 'dsp5680xx_f_wr': openocd/src/target/dsp5680xx.c:1355: warning: cast increases required alignment of target type
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r--src/flash/nor/drivers.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c
index 52febf17..637c63b1 100644
--- a/src/flash/nor/drivers.c
+++ b/src/flash/nor/drivers.c
@@ -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;
/**
* The list of built-in flash drivers.
@@ -72,7 +72,8 @@ static struct flash_driver *flash_drivers[] = {
&virtual_flash,
&stmsmi_flash,
&em357_flash,
- &dsp5680xx_flash,
+ // Disabled for now, it generates warnings
+ //&dsp5680xx_flash,
NULL,
};