diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-06-30 07:10:22 -0500 |
---|---|---|
committer | Tom Hochstein <tom.hochstein@nxp.com> | 2021-07-02 08:05:13 -0500 |
commit | 79ba26618a075332ac9106f55c1aad573e42c9e0 (patch) | |
tree | 68f1c77388dd2509bf6885e4140ec6505d463c8a /dynamic-layers/filesystem-layer | |
parent | 0b01dbe8593b355a96998080c551e0570c82d037 (diff) | |
download | meta-freescale-79ba26618a075332ac9106f55c1aad573e42c9e0.tar.gz |
imx-atf: Remove -O2 from CFLAGS for 8MQ
The i.MX 8M Quad has only 64 kB of OCRAM, and the following build break
is observed:
```
| aarch64-poky-linux-ld.bfd: /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-mx8m-fsl-linux/imx-atf/2.4+gitAUTOINC+ec35fef92b-r0/git/build-optee/imx8mq/release/bl31/bl31.elf section `coherent_ram' will not fit in region `RAM'
| aarch64-poky-linux-ld.bfd: BL31 image has exceeded its limit.
| aarch64-poky-linux-ld.bfd: region `RAM' overflowed by 4096 bytes
```
Fix the break by disabling -O2 optimization.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'dynamic-layers/filesystem-layer')
0 files changed, 0 insertions, 0 deletions