Fpga: fix incorrect test of CFG_FPGA_XILINX macro
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 25 Sep 2007 21:48:05 +0000 (15:48 -0600)
committerWolfgang Denk <wd@denx.de>
Tue, 25 Sep 2007 22:10:26 +0000 (00:10 +0200)
commit0d38effc6e359e6b1b0c78d66e8bc1a4dc15a2ae
tree71ba08d294e956c4bf773e1a5a6d74693959f4fc
parent66dcad3a9a53e0766d90e0084123bd8529522fb0
Fpga: fix incorrect test of CFG_FPGA_XILINX macro

CFG_FPGA_XILINX is a bit value used to test against the value in
CONFIG_FPGA.  Testing for a value will always return TRUE.  I don't
think that is the intention in this code.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
common/cmd_fpga.c