Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Moritz Fischer
Hi Colin, sorry dropped of my radar. On Thu, Jan 24, 2019 at 9:17 AM Alan Tull wrote: > > On Thu, Nov 29, 2018 at 5:10 PM Colin King wrote: > > Hi Colin, > > Thanks! > > > > > From: Colin Ian King > > > > Don't populate the const array dummy on the stack but instead > > make it static. Makes t

Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Alan Tull
On Thu, Nov 29, 2018 at 5:10 PM Colin King wrote: Hi Colin, Thanks! > > From: Colin Ian King > > Don't populate the const array dummy on the stack but instead > make it static. Makes the object code smaller by 26 bytes: > > Before: >textdata bss dec hex filename >7371

Re: [PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2019-01-24 Thread Colin Ian King
ping? On 29/11/2018 23:10, Colin King wrote: > From: Colin Ian King > > Don't populate the const array dummy on the stack but instead > make it static. Makes the object code smaller by 26 bytes: > > Before: >text data bss dec hex filename >7371 2032 0

[PATCH] fpga: mgr: altera-ps-spi: make array dummy static, shrinks object size

2018-11-29 Thread Colin King
From: Colin Ian King Don't populate the const array dummy on the stack but instead make it static. Makes the object code smaller by 26 bytes: Before: textdata bss dec hex filename 73712032 0940324bb drivers/fpga/altera-ps-spi.o After: textdata