mirror of
https://github.com/google/pebble.git
synced 2025-04-30 23:31:40 -04:00
spelling: accesses
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
21eca690fa
commit
2a7756f365
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ void qspi_indirect_read_dma(QSPIPort *dev, uint8_t instruction, uint32_t start_a
|
||||||
// So this function is broken into 3 parts:
|
// So this function is broken into 3 parts:
|
||||||
// 1. Do reads 1 byte at a time until buffer_ptr is word-aligned
|
// 1. Do reads 1 byte at a time until buffer_ptr is word-aligned
|
||||||
// 2. Do 32-bit DMA transfers for as much as possible
|
// 2. Do 32-bit DMA transfers for as much as possible
|
||||||
// 3. Do reads 1 bytes at a time to deal with non-aligned acceses at the end
|
// 3. Do reads 1 bytes at a time to deal with non-aligned accesses at the end
|
||||||
|
|
||||||
const uint32_t word_mask = dcache_alignment_mask_minimum(QSPI_DMA_READ_WORD_SIZE);
|
const uint32_t word_mask = dcache_alignment_mask_minimum(QSPI_DMA_READ_WORD_SIZE);
|
||||||
const uintptr_t buffer_address = (uintptr_t)buffer;
|
const uintptr_t buffer_address = (uintptr_t)buffer;
|
||||||
|
|
Loading…
Add table
Reference in a new issue