[U-Boot] [PATCH 2/2] fpga: Fix debug message compilation error

Michal Simek michal.simek at xilinx.com
Fri Apr 26 12:25:24 CEST 2013


CONFIG_FPGA in past was bitfield where bits
were use for vendor identification.

This fix should be the part of this commit:
"Improve configuration of FPGA subsystem"
(sha1: 0133502e39ff89b67c26cb4015e0e7e8d9571184)

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
 drivers/fpga/fpga.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c
index 0d29894..3bea26c 100644
--- a/drivers/fpga/fpga.c
+++ b/drivers/fpga/fpga.c
@@ -145,7 +145,7 @@ void fpga_init(void)
 	next_desc = 0;
 	memset(desc_table, 0, sizeof(desc_table));

-	debug("%s: CONFIG_FPGA = 0x%x\n", __func__, CONFIG_FPGA);
+	debug("%s\n", __func__);
 }

 /*
--
1.8.2.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130426/caa288b9/attachment.pgp>


More information about the U-Boot mailing list