diff options
-rw-r--r-- | clocks.s | 2 | ||||
-rw-r--r-- | gpio.s | 2 | ||||
-rw-r--r-- | pll.s | 2 | ||||
-rw-r--r-- | xosc.s | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -15,4 +15,4 @@ setup_clocks: str r0, [r1, CLK_REF_CTRL_OFST] movs r0, 1 // use auxsrc (default pll_sys, =0x1) as clk_sys source str r0, [r1, CLK_SYS_CTRL_OFST] - mov pc, lr + bx lr @@ -22,4 +22,4 @@ setup_gpio: tst r0, r2 // IO_BANK0 is still bit 5 // wait for reset done beq 1b - mov pc, lr + bx lr @@ -55,4 +55,4 @@ vco_lock: ldr r1, =(PLL_SYS_BASE + ATOMIC_CLEAR) movs r0, 0x8 // postdiv (bit 3) str r0, [r1, PWR_OFST] - mov pc, lr + bx lr @@ -20,4 +20,4 @@ start_xosc: ldr r0, [r1, STATUS_OFST] lsrs r0, r0, 31 // poll status bit beq 1b - mov pc, lr + bx lr |