diff options
author | Michal Simek <michal.simek@xilinx.com> | 2020-11-04 14:01:45 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2020-11-20 10:42:53 +0100 |
commit | 9c2aa7e7070a3e7c4341c83c375b47e48108a8ff (patch) | |
tree | bff3436efa5ed57468f4fb300e54ddafae922b05 /drivers/ddr/imx/imx8m/ddr_init.c | |
parent | b80680633dc954d32f81f3afacd3d1f2f3d290b0 (diff) | |
download | u-boot-9c2aa7e7070a3e7c4341c83c375b47e48108a8ff.tar.gz u-boot-9c2aa7e7070a3e7c4341c83c375b47e48108a8ff.tar.xz u-boot-9c2aa7e7070a3e7c4341c83c375b47e48108a8ff.zip |
microblaze: Enable GCC garbage collector for full U-Boot
GCC's garbage collector works for Microblaze for quite a long time but none
has enabled it.
The same change has be done for example by commit fac4790491f6 ("arc:
Eliminate unused code and data with GCC's garbage collector").
Before:
text data bss dec hex filename
588760 33592 39192 661544 a1828 u-boot
After:
text data bss dec hex filename
504504 32164 38608 575276 8c72c u-boot
Which saves almost 15% of memory footprint.
Also group symbols/functions to proper section.
Reported-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions