Home
last modified time | relevance | path

Searched refs:bios_cntl (Results 1 – 3 of 3) sorted by relevance

/u-boot/arch/x86/cpu/intel_common/
A Dlpc.c87 uint8_t bios_cntl; in lpc_set_spi_protect() local
90 dm_pci_read_config8(dev, bios_ctrl, &bios_cntl); in lpc_set_spi_protect()
92 bios_cntl &= ~BIOS_CTRL_BIOSWE; in lpc_set_spi_protect()
93 bios_cntl |= BIT(5); in lpc_set_spi_protect()
95 bios_cntl |= BIOS_CTRL_BIOSWE; in lpc_set_spi_protect()
96 bios_cntl &= ~BIT(5); in lpc_set_spi_protect()
98 dm_pci_write_config8(dev, bios_ctrl, bios_cntl); in lpc_set_spi_protect()
/u-boot/drivers/pch/
A Dpch7.c28 uint8_t bios_cntl; in pch7_set_spi_protect() local
31 dm_pci_read_config8(dev, BIOS_CTRL, &bios_cntl); in pch7_set_spi_protect()
33 bios_cntl &= ~BIOS_CTRL_BIOSWE; in pch7_set_spi_protect()
35 bios_cntl |= BIOS_CTRL_BIOSWE; in pch7_set_spi_protect()
36 dm_pci_write_config8(dev, BIOS_CTRL, bios_cntl); in pch7_set_spi_protect()
/u-boot/drivers/spi/
A Dich.c758 u8 bios_cntl; in ich_protect_lockdown() local
760 bios_cntl = ich_readb(priv, priv->bcr); in ich_protect_lockdown()
761 bios_cntl &= ~BIT(5); /* clear Enable InSMM_STS (EISS) */ in ich_protect_lockdown()
762 bios_cntl |= 1; /* Write Protect Disable (WPD) */ in ich_protect_lockdown()
763 ich_writeb(priv, bios_cntl, priv->bcr); in ich_protect_lockdown()

Completed in 6 milliseconds