Home
last modified time | relevance | path

Searched refs:addr_unlock2 (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/mtd/chips/
H A Dcfi_probe.c202 int addr_unlock1 = 0x555, addr_unlock2 = 0x2AA; in cfi_chip_setup() local
252 addr_unlock2 = 0x2AAA; in cfi_chip_setup()
265 cfi_send_gen_cmd(0x55, addr_unlock2, base, map, cfi, cfi->device_type, NULL); in cfi_chip_setup()
H A Dcfi_cmdset_0002.c372 cfi->addr_unlock2 = 0x2AAA; in fixup_sst39vf()
383 cfi->addr_unlock2 = 0x2AA; in fixup_sst39vf_rev_b()
713 cfi->addr_unlock2 = 0x2aa; in cfi_cmdset_0002()
717 if (!cfi->addr_unlock1 || !cfi->addr_unlock2) { in cfi_cmdset_0002()
1282 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, in otp_enter()
1297 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, in otp_exit()
1439 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, in do_otp_lock()
1542 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, in cfi_amdstd_otp_walk()
2008 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, in do_write_buffer_reset()
2648 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, chip->start, map, cfi, in do_atmel_lock()
[all …]
H A Djedec_probe.c1957 cfi->addr_unlock1,cfi->addr_unlock2); in jedec_reset()
1959 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); in jedec_reset()
2018 cfi->addr_unlock2 = unlock_addrs[uaddr].addr2 / cfi->device_type; in cfi_jedec_setup()
2098 __func__, cfi->addr_unlock1, cfi->addr_unlock2 ); in jedec_match()
2101 unlock_addrs[uaddr].addr2 / cfi->device_type != cfi->addr_unlock2 ) ) { in jedec_match()
2140 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); in jedec_match()
2165 cfi->addr_unlock2 = unlock_addrs[uaddr_idx].addr2 / cfi->device_type; in jedec_probe_chip()
2178 probe_offset2 = cfi_build_cmd_addr(cfi->addr_unlock2, map, cfi); in jedec_probe_chip()
2189 cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, cfi->device_type, NULL); in jedec_probe_chip()
2206 cfi->addr_unlock1, cfi->addr_unlock2 ); in jedec_probe_chip()
/openbmc/u-boot/board/shmin/
H A Dshmin.c74 info->addr_unlock2 = 0x000002AA; in board_flash_get_legacy()
/openbmc/u-boot/drivers/mtd/
H A Djedec_flash.c445 info->addr_unlock2 = unlock_addrs[uaddr_idx].addr2; in fill_info()
447 info->addr_unlock1, info->addr_unlock2); in fill_info()
H A Dcfi_flash.c407 flash_write_cmd(info, sect, info->addr_unlock2, AMD_CMD_UNLOCK_ACK); in flash_unlock_seq()
1825 info->addr_unlock2 = 0x5555; in flash_detect_legacy()
1828 info->addr_unlock2 = 0x2AAA; in flash_detect_legacy()
1925 info->addr_unlock2 = 0x2aa; in __flash_detect_cfi()
1938 info->addr_unlock2 = 0x555; in __flash_detect_cfi()
/openbmc/linux/drivers/mtd/maps/
H A Dlantiq-flash.c154 cfi->addr_unlock2 ^= 1; in ltq_mtd_probe()
/openbmc/u-boot/board/freescale/m54455evb/
H A Dm54455evb.c197 info->addr_unlock2 = 0x000002AA; in board_flash_get_legacy()
/openbmc/u-boot/include/
H A Dflash.h43 ulong addr_unlock2; /* unlock address 2 for AMD flash roms */ member
/openbmc/linux/include/linux/mtd/
H A Dcfi.h280 int addr_unlock2; member