Home
last modified time | relevance | path

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

/external/u-boot/cmd/
Dfpga.c73 struct fpga_secure_info fpga_sec_info; in do_fpga_loads() local
75 memset(&fpga_sec_info, 0, sizeof(fpga_sec_info)); in do_fpga_loads()
83 fpga_sec_info.userkey_addr = (u8 *)(uintptr_t) in do_fpga_loads()
95 fpga_sec_info.encflag = (u8)simple_strtoul(argv[4], NULL, 16); in do_fpga_loads()
96 fpga_sec_info.authflag = (u8)simple_strtoul(argv[3], NULL, 16); in do_fpga_loads()
98 if (fpga_sec_info.authflag >= FPGA_NO_ENC_OR_NO_AUTH && in do_fpga_loads()
99 fpga_sec_info.encflag >= FPGA_NO_ENC_OR_NO_AUTH) { in do_fpga_loads()
104 if (fpga_sec_info.encflag == FPGA_ENC_USR_KEY && in do_fpga_loads()
105 !fpga_sec_info.userkey_addr) { in do_fpga_loads()
115 return fpga_loads(dev, (void *)fpga_data, data_size, &fpga_sec_info); in do_fpga_loads()
/external/u-boot/drivers/fpga/
Dzynqmppl.c246 struct fpga_secure_info *fpga_sec_info) in zynqmp_loads() argument
256 if (!fpga_sec_info->encflag) in zynqmp_loads()
259 if (fpga_sec_info->userkey_addr && in zynqmp_loads()
260 fpga_sec_info->encflag == FPGA_ENC_USR_KEY) { in zynqmp_loads()
261 flush_dcache_range((ulong)fpga_sec_info->userkey_addr, in zynqmp_loads()
262 (ulong)fpga_sec_info->userkey_addr + in zynqmp_loads()
268 if (!fpga_sec_info->authflag) in zynqmp_loads()
271 if (fpga_sec_info->authflag == ZYNQMP_FPGA_AUTH_DDR) in zynqmp_loads()
279 (u32)(uintptr_t)fpga_sec_info->userkey_addr, in zynqmp_loads()
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()
Dfpga.c222 struct fpga_secure_info *fpga_sec_info) in fpga_loads() argument
234 fpga_sec_info); in fpga_loads()
/external/u-boot/include/
Dxilinx.h54 struct fpga_secure_info *fpga_sec_info);
68 struct fpga_secure_info *fpga_sec_info);
Dfpga.h71 struct fpga_secure_info *fpga_sec_info);