diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-01-13 18:09:53 +0300 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-01-21 12:25:02 +0300 |
commit | ebd322de43d7d43dd59955aa58952bafa95cfd4a (patch) | |
tree | 434cd90147a204f6a9d379190b59d5330d9a77cb /drivers/fpga | |
parent | 6583505c23207e25a1b736aeaf207122d468d671 (diff) | |
download | u-boot-ebd322de43d7d43dd59955aa58952bafa95cfd4a.tar.xz |
fpga: Export fpga_get_desc for SPL
SPL needs to detect FPGA device which will be used
for loading bitstream.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/fpga')
-rw-r--r-- | drivers/fpga/fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/fpga.c b/drivers/fpga/fpga.c index 37946d5e18..d94eb5cc25 100644 --- a/drivers/fpga/fpga.c +++ b/drivers/fpga/fpga.c @@ -38,7 +38,7 @@ static void fpga_no_sup(char *fn, char *msg) /* fpga_get_desc * map a device number to a descriptor */ -static const fpga_desc *const fpga_get_desc(int devnum) +const fpga_desc *const fpga_get_desc(int devnum) { fpga_desc *desc = (fpga_desc *)NULL; |