brcm47xx: relocate the stack in loader
[openwrt/staging/hauke.git] / target / linux / brcm47xx / image / lzma-loader / src / head.S
index 930c9ba27728411fe96aecc95ac6cf6bf5741f62..50c159ce573509221f9fe94f718818c05a794df8 100644 (file)
@@ -38,6 +38,7 @@
        .text
        LEAF(startup)
        .set noreorder
+       li      sp, BZ_STACK_START
        addi    sp, -48
        sw      a0, 16(sp)
        sw      a1, 20(sp)