Lines Matching +full:write +full:- +full:protect
1 // SPDX-License-Identifier: GPL-2.0
37 * lpc_early_init() - set up LPC serial ports and other early things
40 * @return 0 if OK, -ve on error
44 struct udevice *pch = dev->parent; in lpc_common_early_init()
52 count = fdtdec_get_int_array_count(gd->fdt_blob, dev_of_offset(dev), in lpc_common_early_init()
53 "intel,gen-dec", (u32 *)values, in lpc_common_early_init()
56 return -EINVAL; in lpc_common_early_init()
65 /* Write all registers but use 0 if we run out of data */ in lpc_common_early_init()
71 reg = ptr->base | PCI_COMMAND_IO | (ptr->size << 16); in lpc_common_early_init()
83 int lpc_set_spi_protect(struct udevice *dev, int bios_ctrl, bool protect) in lpc_set_spi_protect() argument
87 /* Adjust the BIOS write protect and SMM BIOS Write Protect Disable */ in lpc_set_spi_protect()
89 if (protect) { in lpc_set_spi_protect()