diff options
author | Michal Simek <michal.simek@xilinx.com> | 2013-04-26 15:04:48 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2013-05-06 10:41:25 +0200 |
commit | 6631db4773cd735688bf3332173a49271df23385 (patch) | |
tree | 490f9a4e9bc19b1ef92fa782125ca971e295fa53 /include/zynqpl.h | |
parent | d5dae85f23c7c902731512e451afde9a6e4a250a (diff) | |
download | u-boot-imx-6631db4773cd735688bf3332173a49271df23385.zip u-boot-imx-6631db4773cd735688bf3332173a49271df23385.tar.gz u-boot-imx-6631db4773cd735688bf3332173a49271df23385.tar.bz2 |
fpga: Check device name against bitstream name
Ensure that wrong bitstream won't be loaded
to current device.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'include/zynqpl.h')
-rw-r--r-- | include/zynqpl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/zynqpl.h b/include/zynqpl.h index bc9b948..0247ef6 100644 --- a/include/zynqpl.h +++ b/include/zynqpl.h @@ -45,15 +45,15 @@ extern int zynq_info(Xilinx_desc *desc); /* Descriptor Macros */ #define XILINX_XC7Z010_DESC(cookie) \ -{ xilinx_zynq, devcfg, XILINX_XC7Z010_SIZE, NULL, cookie } +{ xilinx_zynq, devcfg, XILINX_XC7Z010_SIZE, NULL, cookie, "7z010" } #define XILINX_XC7Z020_DESC(cookie) \ -{ xilinx_zynq, devcfg, XILINX_XC7Z020_SIZE, NULL, cookie } +{ xilinx_zynq, devcfg, XILINX_XC7Z020_SIZE, NULL, cookie, "7z020" } #define XILINX_XC7Z030_DESC(cookie) \ -{ xilinx_zynq, devcfg, XILINX_XC7Z030_SIZE, NULL, cookie } +{ xilinx_zynq, devcfg, XILINX_XC7Z030_SIZE, NULL, cookie, "7z030" } #define XILINX_XC7Z045_DESC(cookie) \ -{ xilinx_zynq, devcfg, XILINX_XC7Z045_SIZE, NULL, cookie } +{ xilinx_zynq, devcfg, XILINX_XC7Z045_SIZE, NULL, cookie, "7z045" } #endif /* _ZYNQPL_H_ */ |