Home
last modified time | relevance | path

Searched refs:fpga_sec_info (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/cmd/
H A Dfpga.c71 struct fpga_secure_info fpga_sec_info; in do_fpga_loads() local
73 memset(&fpga_sec_info, 0, sizeof(fpga_sec_info)); in do_fpga_loads()
81 fpga_sec_info.userkey_addr = (u8 *)(uintptr_t) in do_fpga_loads()
93 fpga_sec_info.encflag = (u8)simple_strtoul(argv[4], NULL, 16); in do_fpga_loads()
94 fpga_sec_info.authflag = (u8)simple_strtoul(argv[3], NULL, 16); in do_fpga_loads()
96 if (fpga_sec_info.authflag >= FPGA_NO_ENC_OR_NO_AUTH && in do_fpga_loads()
97 fpga_sec_info.encflag >= FPGA_NO_ENC_OR_NO_AUTH) { in do_fpga_loads()
102 if (fpga_sec_info.encflag == FPGA_ENC_USR_KEY && in do_fpga_loads()
103 !fpga_sec_info.userkey_addr) { in do_fpga_loads()
113 return fpga_loads(dev, (void *)fpga_data, data_size, &fpga_sec_info); in do_fpga_loads()
/openbmc/u-boot/drivers/fpga/
H A Dzynqmppl.c243 struct fpga_secure_info *fpga_sec_info) in zynqmp_loads() argument
253 if (!fpga_sec_info->encflag) in zynqmp_loads()
256 if (fpga_sec_info->userkey_addr && in zynqmp_loads()
257 fpga_sec_info->encflag == FPGA_ENC_USR_KEY) { in zynqmp_loads()
258 flush_dcache_range((ulong)fpga_sec_info->userkey_addr, in zynqmp_loads()
259 (ulong)fpga_sec_info->userkey_addr + in zynqmp_loads()
265 if (!fpga_sec_info->authflag) in zynqmp_loads()
268 if (fpga_sec_info->authflag == ZYNQMP_FPGA_AUTH_DDR) in zynqmp_loads()
275 (u32)(uintptr_t)fpga_sec_info->userkey_addr, in zynqmp_loads()
H A Dxilinx.c176 struct fpga_secure_info *fpga_sec_info) in xilinx_loads() argument
188 return desc->operations->loads(desc, buf, bsize, fpga_sec_info); in xilinx_loads()
H A Dfpga.c222 struct fpga_secure_info *fpga_sec_info) in fpga_loads() argument
234 fpga_sec_info); in fpga_loads()
/openbmc/u-boot/include/
H A Dxilinx.h52 struct fpga_secure_info *fpga_sec_info);
66 struct fpga_secure_info *fpga_sec_info);
H A Dfpga.h71 struct fpga_secure_info *fpga_sec_info);