Lines Matching +full:- +full:- +full:erase
4 * SPDX-License-Identifier: Apache-2.0
60 * erase, since the flash component turns on write protection in single_sector_test()
61 * automatically after completion of write and erase in single_sector_test()
64 printf("\nTest 1: Flash erase\n"); in single_sector_test()
66 /* Full flash erase if SPI_FLASH_TEST_REGION_OFFSET = 0 and in single_sector_test()
72 printf("Flash erase failed! %d\n", rc); in single_sector_test()
82 printf("Flash erase failed at offset 0x%x got 0x%x\n", in single_sector_test()
86 printf("Flash erase succeeded!\n"); in single_sector_test()
114 (uint32_t)(SPI_FLASH_TEST_REGION_OFFSET + (rp - buf)), in single_sector_test()
133 * erase, since the flash component turns on write protection in multi_sector_test()
134 * automatically after completion of write and erase in multi_sector_test()
137 printf("\nTest 1: Flash erase\n"); in multi_sector_test()
139 /* Full flash erase if SPI_FLASH_TEST_REGION_OFFSET = 0 and in multi_sector_test()
141 * Erase 2 sectors for check for erase of consequtive sectors in multi_sector_test()
145 printf("Flash erase failed! %d\n", rc); in multi_sector_test()
158 printf("Flash erase failed at offset 0x%x got 0x%x\n", in multi_sector_test()
164 printf("Flash erase succeeded!\n"); in multi_sector_test()
196 (uint32_t)(offs + (rp - buf)), in multi_sector_test()
212 printk("%s: device not ready.\n", flash_dev->name); in main()
216 printf("\n%s SPI flash testing\n", flash_dev->name); in main()