2023-04-01 07:06:00 +00:00
|
|
|
|
|
|
|
.global entry
|
|
|
|
.option norvc
|
2023-04-04 03:11:39 +00:00
|
|
|
|
2023-04-01 07:06:00 +00:00
|
|
|
entry:
|
2023-04-04 03:11:39 +00:00
|
|
|
// enable quad spi mode
|
|
|
|
lui a1, 0x2c00
|
|
|
|
sw zero, 0(a1)
|
|
|
|
|
|
|
|
// xip base address(0x02000000)
|
|
|
|
lui a0, 0x2000
|
|
|
|
|
|
|
|
// jump to xip base address
|
|
|
|
jalr a0
|
|
|
|
|
2023-04-01 07:06:00 +00:00
|
|
|
loop:
|
|
|
|
j loop
|