mirror of https://github.com/YosysHQ/picorv32.git
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:
parent
b3f292a988
commit
28d6f97b00
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue