[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <568EC0EA.20900@gmail.com>
Date: Thu, 07 Jan 2016 11:47:54 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Russell King <rmk+kernel@....linux.org.uk>,
Thomas Petazzoni <thomas.petazzoni@...e-electrons.com>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH RFC 02/26] phy: convert swphy register generation to tabular
form
On 07/12/15 09:37, Russell King wrote:
> Convert the swphy register generation to tabular form which allows us
> to eliminate multiple switch() statements. This results in a smaller
> object code size, more efficient, and easier to add support for faster
> speeds.
>
> Before:
>
> Idx Name Size VMA LMA File off Algn
> 0 .text 00000164 00000000 00000000 00000034 2**2
>
> text data bss dec hex filename
> 388 0 0 388 184 swphy.o
>
> After:
>
> Idx Name Size VMA LMA File off Algn
> 0 .text 000000fc 00000000 00000000 00000034 2**2
> 5 .rodata 00000028 00000000 00000000 00000138 2**2
>
> text data bss dec hex filename
> 324 0 0 324 144 swphy.o
>
> Signed-off-by: Russell King <rmk+kernel@....linux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@...il.com>
--
Florian
Powered by blists - more mailing lists