Re: [PATCH 0/8] Impedance matcher for Samsung boards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 11 Dec 2013, Daniel Mack wrote:

> On 12/11/2013 03:28 PM, Tomasz Figa wrote:
> > There are some parameters that bootloaders normally pass with ATAGS
> > and can't be hardcoded in DT, such as initrd location in memory, serial
> > number, board revision, command line and in some cases even memory,
> > as on some boards it might vary between units.
> 
> Ok, that was my question :) Sure, if you have units that differ in
> hardware details, but are indistinguishable by their machine ID or board
> revision number, there's not much that we can do but modify the FDT at
> runtime. Serial numbers are also something that can't be solved in a
> nicer way.
> 
> What bugs me, though, is that it blows up the code base so massively.

You could investigate gcc's -ffunction-sections argument.  This won't 
help with the code size, but it does help for discarding unreferenced 
functions from the final lbinary.


Nicolas

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [CentOS ARM]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]     [Photos]