commit | a4cafd9909dc7f3d0b154d5a42ef2bf8b973ed56 | [log] [tgz] |
---|---|---|
author | Peng Fan <peng.fan@nxp.com> | Fri Apr 29 16:03:13 2022 +0800 |
committer | Stefano Babic <sbabic@denx.de> | Fri May 20 09:30:28 2022 +0200 |
tree | 72612b121299f08e4422f677b908a40cc05057ce | |
parent | 53d27144f515850e758e49cb0a672daf46433909 [diff] |
imx: bootaux: get stack from elf file To i.MX8, M core stack is pre-coded in source code, so need to get it before kicking M core. The stack pointer is stored in the first word of the first PT_LOAD section __isr_vector. So use a num to index the section loading. Signed-off-by: Peng Fan <peng.fan@nxp.com>