Fix picosoc quad spi mode (flashio_worker must be multiple of 4 bytes)

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-08-14 14:26:49 +02:00
parent b3f292a988
commit 28d6f97b00
1 changed files with 4 additions and 1 deletions

View File

@ -93,6 +93,8 @@ j loop
.global flashio_worker_begin .global flashio_worker_begin
.global flashio_worker_end .global flashio_worker_end
.balign 4
flashio_worker_begin: flashio_worker_begin:
# a0 ... data pointer # a0 ... data pointer
# a1 ... data length # a1 ... data length
@ -152,5 +154,6 @@ li t1, 0x80
sb t1, 3(t0) sb t1, 3(t0)
ret ret
flashio_worker_end:
.balign 4
flashio_worker_end: