[PATCH 2/2] at91sam9260/9g20ek: remove #ifdef for ek_usb_add_device_mci()

Fabio Porcedda fabio.porcedda at gmail.com
Fri Feb 15 05:52:52 EST 2013


On Fri, Feb 15, 2013 at 11:44 AM, Jean-Christophe PLAGNIOL-VILLARD
<plagnioj at jcrosoft.com> wrote:
> On 11:41 Fri 15 Feb     , Fabio Porcedda wrote:
>> Remove #ifdef for ek_usb_add_device_mci() because there is already
>> the #ifdef inside at91_add_device_mci(), this way the compiler can check
>> always the code without any penality.
>  it's not the struct will be keep

The struct isn't keep
without this patch:
  text       data        bss        dec        hex    filename
    877        192          0       1069        42d
arch/arm/boards/at91sam9260ek/init.o
with this patch:
 text       data        bss        dec        hex    filename
    877        192          0       1069        42d
arch/arm/boards/at91sam9260ek/init.o

>  keep the ifdef
> Best Regards,
> J.

Best regards
--
Fabio Porcedda



More information about the barebox mailing list