[LinuxBIOS] [PATCH] v3: duplicate less code
c-d.hailfinger.devel.2006 at gmx.net
Sun Nov 25 00:04:42 CET 2007
On 21.11.2007 15:39, Carl-Daniel Hailfinger wrote:
[explanation snipped, see original post]
> To reduce code duplication, make sure STAGE2_*OBJ does not contain
> any object already mentioned in STAGE0_*_OBJ.
> Specifically, remove mem.o, delay.o, udelay_io.o from STAGE2_*OBJ.
> This saves 386 bytes in stage2 (~240 bytes after LZMA compression).
> In the future, automatically removing objects from STAGE2_OBJ which
> are already included in STAGE0_OBJ will be the way to go.
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
More information about the coreboot