diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-23 16:50:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-27 17:40:57 +0300 |
commit | 0629bf17eaab9330bef427bdf4a3985c2d8972af (patch) | |
tree | 014542deacd2013dd7322d803a4ea121b72a8de4 /drivers/ide | |
parent | 5ae68b0ce134f9cadae2668da82d5f9a77523314 (diff) | |
download | linux-0629bf17eaab9330bef427bdf4a3985c2d8972af.tar.xz |
phy: convert swphy register generation to tabular form
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
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions