
31 Oct
2018
31 Oct
'18
7:35 a.m.
On Sun, Oct 7, 2018 at 12:46 PM Simon Goldschmidt simon.k.r.goldschmidt@gmail.com wrote:
The table of spi flash chips 'spi_flash_ids' currently includes chip names. The only usage of these is to print the name when the chip is probed.
Since this message is not shown in SPL, we can remove the names from the SPL binary.
Removing the chip names saves ~890 Byte from the SPL binary in my configuration (socfpga_socrates_defconfig, MACRONIX, SPANSION and STMICRO enabled).
I'm not still quite happy with this change, other than reducing the size which introduces many ifdef's what would you benefits with this 890bytes? do you have any room to add any key features in SPL?