Re: [PATCH] i2c: designware: make const array supported_speeds static to shink object code size

2017-10-17 Thread Wolfram Sang
On Thu, Sep 21, 2017 at 11:30:07PM +0100, Colin King wrote: > From: Colin Ian King > > Don't populate const array supported_speeds on the stack, instead > make it static. Makes the object code smaller by 150 bytes: > > Before: >text data bss dec hex filename >8474

Re: [PATCH] i2c: designware: make const array supported_speeds static to shink object code size

2017-09-22 Thread Jarkko Nikula
On 09/22/2017 01:30 AM, Colin King wrote: From: Colin Ian King Don't populate const array supported_speeds on the stack, instead make it static. Makes the object code smaller by 150 bytes: Before: text data bss dec hex filename 8474 1440 09914

[PATCH] i2c: designware: make const array supported_speeds static to shink object code size

2017-09-21 Thread Colin King
From: Colin Ian King Don't populate const array supported_speeds on the stack, instead make it static. Makes the object code smaller by 150 bytes: Before: textdata bss dec hex filename 84741440 0991426ba i2c-designware-platdrv.o After: textdata