Searched refs:FLASH_PAGE_SIZE (Results 1 - 6 of 6) sorted by relevance
/freebsd-10.2-release/sys/boot/arm/at91/boot0spi/ |
H A D | main.c | 46 for (i = 0; i < len; i+= FLASH_PAGE_SIZE) { 49 SPI_WriteFlash(off, addr + i, FLASH_PAGE_SIZE); 50 SPI_ReadFlash(off, addr2 + i, FLASH_PAGE_SIZE); 51 if (p_memcmp(addr + i, addr2 + i, FLASH_PAGE_SIZE) == 0)
|
/freebsd-10.2-release/sys/boot/arm/at91/libat91/ |
H A D | spi_flash.h | 44 #define FLASH_PAGE_SIZE 528 macro 46 #define FLASH_PAGE_SIZE 1056 macro
|
H A D | spi_flash.c | 116 pageAddress = flash_addr / FLASH_PAGE_SIZE; 119 byteAddress = flash_addr % FLASH_PAGE_SIZE; 174 pageAddress = flash_addr / FLASH_PAGE_SIZE; 177 byteAddress = flash_addr % FLASH_PAGE_SIZE;
|
/freebsd-10.2-release/sys/dev/flash/ |
H A D | mx25lreg.h | 59 #define FLASH_PAGE_SIZE 256 macro
|
H A D | mx25l.c | 265 KASSERT(write_offset % FLASH_PAGE_SIZE == 0, 267 FLASH_PAGE_SIZE)); 271 * FLASH_PAGE_SIZE, so split data to chunks 272 * FLASH_PAGE_SIZE bytes eash and write them 287 bytes_to_write = MIN(FLASH_PAGE_SIZE,
|
/freebsd-10.2-release/sys/boot/arm/at91/bootspi/ |
H A D | loader_prompt.c | 45 #define FLASH_OFFSET (0 * FLASH_PAGE_SIZE) 46 #define KERNEL_OFFSET (220 * FLASH_PAGE_SIZE) 47 #define KERNEL_LEN (6 * 1024 * FLASH_PAGE_SIZE) 165 for (i = 0; i < len; i+= FLASH_PAGE_SIZE) { 167 SPI_WriteFlash(off, addr + i, FLASH_PAGE_SIZE); 176 for (i = 0; i < KERNEL_LEN; i+= FLASH_PAGE_SIZE) { 178 SPI_ReadFlash(off, addr + i, FLASH_PAGE_SIZE);
|
Completed in 705 milliseconds