summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2011-11-15 08:03:00 +0000
committerWolfgang Denk <wd@denx.de>2011-11-16 21:17:01 +0100
commit2c2722379ffbd7ed66c494c92b5c5f7a94248700 (patch)
treec3b8bcb3cd15811c894dd791d4704fc9050c0425
parent6d68621ceaca2513fefd7759dd3f7719e951e56a (diff)
downloadu-boot-imx-2c2722379ffbd7ed66c494c92b5c5f7a94248700.zip
u-boot-imx-2c2722379ffbd7ed66c494c92b5c5f7a94248700.tar.gz
u-boot-imx-2c2722379ffbd7ed66c494c92b5c5f7a94248700.tar.bz2
dlvision-10g.c: Fix GCC 4.6 build warnings
Fix: dlvision-10g.c: In function 'print_fpga_info': dlvision-10g.c:90:11: warning: variable 'feature_compression' set but not used [-Wunused-but-set-variable] Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r--board/gdsys/405ep/dlvision-10g.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/gdsys/405ep/dlvision-10g.c b/board/gdsys/405ep/dlvision-10g.c
index ecba66e..f55afbd 100644
--- a/board/gdsys/405ep/dlvision-10g.c
+++ b/board/gdsys/405ep/dlvision-10g.c
@@ -87,7 +87,6 @@ static void print_fpga_info(unsigned dev)
u16 fpga_features = in_le16(&fpga->fpga_features);
unsigned unit_type;
unsigned hardware_version;
- unsigned feature_compression;
unsigned feature_rs232;
unsigned feature_audio;
unsigned feature_sysclock;
@@ -111,7 +110,6 @@ static void print_fpga_info(unsigned dev)
unit_type = (versions >> 4) & 0x000f;
hardware_version = versions & 0x000f;
- feature_compression = (fpga_features >> 13) & 0x0003;
feature_rs232 = fpga_features & (1<<11);
feature_audio = (fpga_features >> 9) & 0x0003;
feature_sysclock = (fpga_features >> 7) & 0x0003;