All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] usb:gadget:composite: Linux composite.{h/c} code adjustement for u-boot
Date: Mon, 16 Apr 2012 16:01:27 +0200	[thread overview]
Message-ID: <20120416140127.4DE62202AAD@gemini.denx.de> (raw)
In-Reply-To: <20120416112308.00700f08@lmajewski.digital.local>

Dear Lukasz Majewski,

In message <20120416112308.00700f08@lmajewski.digital.local> you wrote:
> 
> I'm a bit confused about the policy with porting files:
> 
> http://www.denx.de/wiki/U-Boot/Patches
> 
> This says clearly: document from where the code comes from.
> I wanted to show from where the file has been taken.

This is perfectly fine.

> Those files doesn't compile as is, but no one enabled them in u-boot,
> so code is still bisectable. 

You must not expect that Linux kernel code can be used _unchanged_ for
U-Boot's purposes.  Adding a ton of #defines that make no sense in
U-Boot context at all is misleading at best.

> For me it would be even better to provide one commit providing
> composite driver :-), but I wanted to stick to the policy.

Please strip down the driver and remove the parts that do not fit.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Boykottiert Microsoft - Kauft Eure Fenster bei OBI!

  reply	other threads:[~2012-04-16 14:01 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  7:15 [U-Boot] [PATCH 0/4] usb:gadget:composite: Support for composite gadget framework Lukasz Majewski
2012-04-12  7:15 ` [U-Boot] [PATCH 1/4] usb:gadget:composite Composite framework - files from Linux kernel Lukasz Majewski
2012-04-14  9:46   ` Marek Vasut
2012-04-14 13:41   ` Wolfgang Denk
2012-04-14 13:42   ` Wolfgang Denk
2012-04-16  9:10     ` Lukasz Majewski
2012-04-16 13:59       ` Wolfgang Denk
2012-04-12  7:15 ` [U-Boot] [PATCH 2/4] usb:gadget:composite: Linux composite.{h/c} code adjustement for u-boot Lukasz Majewski
2012-04-14 13:46   ` Wolfgang Denk
2012-04-16  9:23     ` Lukasz Majewski
2012-04-16 14:01       ` Wolfgang Denk [this message]
2012-04-12  7:15 ` [U-Boot] [PATCH 3/4] usb:gadget: Wrapper for extracting usb_gadget from linux's device Lukasz Majewski
2012-04-14  9:47   ` Marek Vasut
2012-04-12  7:15 ` [U-Boot] [PATCH 4/4] usb:gadget: Extend device struct to device_data pointer Lukasz Majewski
2012-04-17  7:27 ` [U-Boot] [PATCH v2 0/3] usb:gadget:composite: Support for composite gadget framework Lukasz Majewski
2012-04-17  7:27   ` [U-Boot] [PATCH v2 1/3] usb:gadget:composite USB composite gadget support Lukasz Majewski
2012-04-17  7:47     ` Marek Vasut
2012-04-17 12:45       ` Lukasz Majewski
2012-04-17  7:27   ` [U-Boot] [PATCH v2 2/3] usb:gadget:composite: Support for composite at gadget.h Lukasz Majewski
2012-04-17  7:27   ` [U-Boot] [PATCH v2 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver Lukasz Majewski
2012-04-17  7:59     ` Marek Vasut
2012-04-17 14:07 ` [U-Boot] [PATCH v3 0/3] usb:gadget:composite: Support for composite gadget framework Lukasz Majewski
2012-04-17 14:07   ` [U-Boot] [PATCH v3 1/3] usb:gadget:composite USB composite gadget support Lukasz Majewski
2012-04-17 15:32     ` Marek Vasut
2012-04-17 14:07   ` [U-Boot] [PATCH v3 2/3] usb:gadget:composite: Support for composite at gadget.h Lukasz Majewski
2012-04-17 14:07   ` [U-Boot] [PATCH v3 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver Lukasz Majewski
2012-04-18 15:26 ` [U-Boot] [PATCH v4 0/3] usb:gadget:composite: Support for composite gadget framework Lukasz Majewski
2012-04-18 15:26   ` [U-Boot] [PATCH v4 1/3] usb:gadget:composite USB composite gadget support Lukasz Majewski
2012-04-25 22:53     ` Marek Vasut
2012-04-26  7:02       ` Lukasz Majewski
2012-04-29 23:22         ` Marek Vasut
2012-04-18 15:26   ` [U-Boot] [PATCH v4 2/3] usb:gadget:composite: Support for composite at gadget.h Lukasz Majewski
2012-04-29 23:23     ` Marek Vasut
2012-04-18 15:26   ` [U-Boot] [PATCH v4 3/3] usb:udc:samsung Add functions for storing private gadget data in UDC driver Lukasz Majewski
2012-04-29 23:25     ` Marek Vasut
2012-04-30  6:58       ` Lukasz Majewski
2012-04-30 12:31         ` Marek Vasut
2012-04-30 13:11           ` Lukasz Majewski
2012-04-30 13:38         ` Wolfgang Denk
2012-04-30 14:23           ` Lukasz Majewski
2012-04-30 14:51     ` [U-Boot] [PATCH v4 RESEND " Lukasz Majewski
2012-04-30 15:22       ` Marek Vasut
2012-04-30 15:23       ` Wolfgang Denk
2012-04-30 15:46         ` Lukasz Majewski
2012-04-25 15:53   ` [U-Boot] [PATCH v4 0/3] usb:gadget:composite: Support for composite gadget framework Lukasz Majewski
2012-04-25 17:06     ` Marek Vasut
2012-05-01 19:53 ` [U-Boot] [PATCH 0/4] " Marek Vasut
2012-05-02  7:10   ` Lukasz Majewski
2012-05-02 10:37     ` Marek Vasut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120416140127.4DE62202AAD@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.