opae.admin: fix location of ifpga_sec_mgr for 09C4
@@ -272,13 +272,12 @@ class fpga(class_node):
self.log.error('no FME found')
return None
spi = f.spi_bus
- alt = f.altr_asmip
if spi:
sec = spi.find_one('ifpga_sec_mgr/ifpga_sec*')
if sec:
return secure_dev(sec.sysfs_path, self.pci_node)
- elif alt:
- sec = alt.find_one('ifpga_sec_mgr/ifpga_sec*')
+ else:
+ sec = f.find_one('ifpga_sec_mgr/ifpga_sec*')
if sec:
return secure_dev(sec.sysfs_path, self.pci_node)
