From 6631db4773cd735688bf3332173a49271df23385 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Fri, 26 Apr 2013 15:04:48 +0200 Subject: fpga: Check device name against bitstream name Ensure that wrong bitstream won't be loaded to current device. Signed-off-by: Michal Simek Reviewed-by: Tom Rini --- include/xilinx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/xilinx.h') 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 -- cgit v1.1