From: Michal Simek <michal.simek@xilinx.com>
Date: Fri, 26 Apr 2013 07:38:26 +0000 (+0200)
Subject: fpga: Fix debug message compilation error
X-Git-Tag: v2025.01-rc5-pxa1908~16275
X-Git-Url: http://git.dujemihanovic.xyz/html/static/git-logo.png?a=commitdiff_plain;h=ee976c1b03c419c15599abb1300e89e27f2fb653;p=u-boot.git

fpga: Fix debug message compilation error

CONFIG_FPGA in past was a 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@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
---

diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c
index ddebd495fe..43bdf4fd25 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__);
 }
 
 /*