Home
last modified time | relevance | path

Searched refs:protect (Results 1 – 25 of 135) sorted by relevance

123456

/openbmc/u-boot/drivers/pch/
H A Dsandbox_pch.c11 bool protect; member
18 return priv->protect; in sandbox_get_pch_spi_protect()
28 static int sandbox_pch_set_spi_protect(struct udevice *dev, bool protect) in sandbox_pch_set_spi_protect() argument
32 priv->protect = protect; in sandbox_pch_set_spi_protect()
H A Dpch7.c25 static int pch7_set_spi_protect(struct udevice *dev, bool protect) in pch7_set_spi_protect() argument
31 if (protect) in pch7_set_spi_protect()
H A Dpch-uclass.c22 int pch_set_spi_protect(struct udevice *dev, bool protect) in pch_set_spi_protect() argument
29 return ops->set_spi_protect(dev, protect); in pch_set_spi_protect()
/openbmc/u-boot/arch/arm/dts/
H A Darmada-385-atl-x530.dts11 nand-protect {
12 compatible = "atl,nand-protect";
13 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
H A Darmada-385-atl-x530DP.dts12 nand-protect {
13 compatible = "atl,nand-protect";
14 protect-gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
/openbmc/u-boot/arch/arm/mach-at91/arm926ejs/
H A Deflash.c109 flash_info[0].protect[i] = 0; in flash_init()
120 flash_info[0].protect[i] = (tmp >> (i%32)) & 1; in flash_init()
123 flash_info[0].protect[i] = 1; in flash_init()
144 info->protect[i] ? " (RO)" : " " in flash_print_info()
184 info->protect[i] = (tmp >> (i%32)) & 1; in flash_real_protect()
/openbmc/u-boot/include/
H A Dpch.h49 int (*set_spi_protect)(struct udevice *dev, bool protect);
106 int pch_set_spi_protect(struct udevice *dev, bool protect);
/openbmc/qemu/hw/intc/
H A Dallwinner-a10-pic.c69 return s->protect; in aw_a10_pic_read()
102 s->protect = value; in aw_a10_pic_write()
148 VMSTATE_UINT32(protect, AwA10PICState),
178 s->protect = 0; in aw_a10_pic_reset()
/openbmc/u-boot/board/freescale/m5253demo/
H A Dflash.c63 info->protect[0] = 0; in flash_get_offsets()
67 info->protect[i] = 0; in flash_get_offsets()
120 info->start[i], info->protect[i] ? " (RO)" : " "); in flash_print_info()
207 if (info->protect[sect]) { in flash_erase()
265 if (info->protect[sect] == 0) { /* not protected */ in flash_erase()
/openbmc/u-boot/arch/x86/cpu/intel_common/
H A Dlpc.c83 int lpc_set_spi_protect(struct udevice *dev, int bios_ctrl, bool protect) in lpc_set_spi_protect() argument
89 if (protect) { in lpc_set_spi_protect()
/openbmc/u-boot/board/cobra5272/
H A Dflash.c47 info->protect[i] ? " (RO)" : " "); in flash_print_info()
69 memset (flash_info[i].protect, 0, CONFIG_SYS_MAX_FLASH_SECT); in flash_init()
152 if (info->protect[sect]) { in flash_erase()
180 if (info->protect[sect] == 0) { /* not protected */ in flash_erase()
/openbmc/u-boot/common/
H A Dflash.c67 info->protect[i] = 0; in flash_protect()
75 info->protect[i] = 1; in flash_protect()
148 (info->protect[i] != 0) ) { in flash_write()
/openbmc/qemu/configs/targets/
H A Dmicroblazeel-softmmu.mak4 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml
H A Dmicroblazeel-linux-user.mak5 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml
H A Dmicroblaze-softmmu.mak5 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml
H A Dmicroblaze-linux-user.mak6 TARGET_XML_FILES=gdb-xml/microblaze-core.xml gdb-xml/microblaze-stack-protect.xml
/openbmc/u-boot/drivers/mtd/
H A Dpic32_flash.c124 if (info->protect[sect]) in flash_erase()
136 if (info->protect[sect]) in flash_erase()
325 info->protect[i] ? " (RO)" : " "); in flash_print_info()
365 info->protect[sect] = 1; in pic32_flash_bank_init()
H A Dst_smi.c514 erased ? " E" : " ", info->protect[i] ? "RO " : " "); in flash_print_info()
519 info->start[i], info->protect[i] ? " (RO) " : " "); in flash_print_info()
543 if (info->protect[sect]) in flash_erase()
554 if (info->protect[sect] == 0) { in flash_erase()
/openbmc/u-boot/board/freescale/p2041rdb/
H A DREADME20 => protect off all
26 => protect off all
32 => protect off all
/openbmc/u-boot/arch/x86/include/asm/
H A Dlpc_common.h56 int lpc_set_spi_protect(struct udevice *dev, int bios_ctrl, bool protect);
/openbmc/u-boot/arch/x86/cpu/ivybridge/
H A Dbd82x6x.c183 static int bd82x6x_set_spi_protect(struct udevice *dev, bool protect) in bd82x6x_set_spi_protect() argument
185 return lpc_set_spi_protect(dev, BIOS_CTRL, protect); in bd82x6x_set_spi_protect()
/openbmc/qemu/include/hw/intc/
H A Dallwinner-a10-pic.h33 uint32_t protect; member
/openbmc/u-boot/cmd/
H A Dflash.c478 info->protect[i] = p; in do_protect()
502 info->protect[i] = p; in do_protect()
564 info->protect[i] = p; in do_protect()
619 info->protect[i] = p; in flash_sect_protect()
673 protect, 4, 0, do_protect,
/openbmc/qemu/scripts/qapi/
H A Dcommon.py82 def c_name(name: str, protect: bool = True) -> str:
125 if protect and (name in (c89_words | c99_words | c11_words | gcc_words
/openbmc/u-boot/board/freescale/mpc8315erdb/
H A DREADME71 protect off all
75 protect on all

123456