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/xilinx.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/xilinx.h')
-rw-r--r-- | include/xilinx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xilinx.h b/include/xilinx.h index 592cbea..bcfe76d 100644 --- a/include/xilinx.h +++ b/include/xilinx.h @@ -81,6 +81,7 @@ typedef struct { /* typedef Xilinx_desc */ size_t size; /* bytes of data part can accept */ void *iface_fns; /* interface function table */ int cookie; /* implementation specific cookie */ + char *name; /* device name in bitstream */ } Xilinx_desc; /* end, typedef Xilinx_desc */ /* Generic Xilinx Functions |