From: Hans de Goede <hdegoede@redhat.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined
Date: Thu, 11 Sep 2014 19:19:19 +0200 [thread overview]
Message-ID: <5411D997.8040801@redhat.com> (raw)
In-Reply-To: <CAGb2v65+vt4UC-91GVqHPTi4DYR0esoVpJEfT5QwQWiQJ4QzOg@mail.gmail.com>
Hi Chen,
On 09/11/2014 07:07 PM, Chen-Yu Tsai wrote:
> Hi Ian, Hans,
>
> On Mon, Sep 8, 2014 at 9:28 PM, Chen-Yu Tsai <wens@csie.org> wrote:
>> BOOT_TARGET_DEVICES includes USB unconditionally. This breaks when
>> CONFIG_CMD_USB is not defined. Use a secondary macro to conditionally
>> include it when CONFIG_EHCI is enabled, as we do for CONFIG_AHCI.
>
> The other patches are for the next release, but maybe this fix could
> go into 2014.10?
I agree that this is a benign bug fix, but since we don't have any
boards not setting CONFIG_EHCI atm I don't really see the value
for getting it into 2014.10.
Regards,
Hans
>
> Thanks
>
> ChenYu
>
>>
>> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
>> ---
>> include/configs/sunxi-common.h | 8 +++++++-
>> 1 file changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
>> index 1d947d7..a31656e 100644
>> --- a/include/configs/sunxi-common.h
>> +++ b/include/configs/sunxi-common.h
>> @@ -233,10 +233,16 @@
>> #define BOOT_TARGET_DEVICES_SCSI(func)
>> #endif
>>
>> +#ifdef CONFIG_USB_EHCI
>> +#define BOOT_TARGET_DEVICES_USB(func) func(USB, usb, 0)
>> +#else
>> +#define BOOT_TARGET_DEVICES_USB(func)
>> +#endif
>> +
>> #define BOOT_TARGET_DEVICES(func) \
>> func(MMC, mmc, 0) \
>> BOOT_TARGET_DEVICES_SCSI(func) \
>> - func(USB, usb, 0) \
>> + BOOT_TARGET_DEVICES_USB(func) \
>> func(PXE, pxe, na) \
>> func(DHCP, dhcp, na)
>>
>> --
>> 2.1.0
>>
next prev parent reply other threads:[~2014-09-11 17:19 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-08 13:28 [U-Boot] [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i) Chen-Yu Tsai
2014-09-08 13:28 ` [U-Boot] [PATCH 1/7] ARM: sunxi: Fix build break when CONFIG_USB_EHCI is not defined Chen-Yu Tsai
2014-09-11 17:07 ` Chen-Yu Tsai
2014-09-11 17:19 ` Hans de Goede [this message]
2014-09-11 18:57 ` Ian Campbell
2014-09-12 16:37 ` Chen-Yu Tsai
2014-09-21 14:13 ` Ian Campbell
2014-09-08 13:28 ` [U-Boot] [PATCH 2/7] ARM: sun6i: Add base address for the new controllers in A31 Chen-Yu Tsai
2014-09-21 14:14 ` Ian Campbell
2014-09-08 13:28 ` [U-Boot] [PATCH 3/7] ARM: sun6i: Add support for the new power control module found on the A31 Chen-Yu Tsai
2014-09-21 17:05 ` Ian Campbell
2014-09-22 2:07 ` Chen-Yu Tsai
2014-09-23 9:19 ` Hans de Goede
2014-09-08 13:28 ` [U-Boot] [PATCH 4/7] ARM: sun6i: Add clock support Chen-Yu Tsai
2014-09-21 18:35 ` Ian Campbell
2014-09-22 12:47 ` Chen-Yu Tsai
2014-09-22 13:15 ` Ian Campbell
2014-09-22 13:16 ` Chen-Yu Tsai
2014-09-28 15:23 ` Hans de Goede
2014-09-28 15:37 ` Ian Campbell
2014-09-28 15:42 ` Hans de Goede
2014-09-29 6:31 ` Olliver Schinagl
2014-09-08 13:28 ` [U-Boot] [PATCH 5/7] ARM: sunxi-mmc: Add mmc support for sun6i / A31 Chen-Yu Tsai
2014-09-21 18:44 ` Ian Campbell
2014-09-22 2:11 ` Chen-Yu Tsai
2014-09-23 11:50 ` Chen-Yu Tsai
2014-09-23 11:54 ` Ian Campbell
2014-09-23 12:07 ` Chen-Yu Tsai
2014-09-23 12:42 ` Ian Campbell
2014-09-08 13:28 ` [U-Boot] [PATCH 6/7] ARM: sun6i: Setup the A31 UART0 muxing Chen-Yu Tsai
2014-09-21 18:44 ` Ian Campbell
2014-09-22 6:10 ` Michael Trimarchi
2014-09-22 13:25 ` Chen-Yu Tsai
2014-09-08 13:28 ` [U-Boot] [PATCH 7/7] ARM: sunxi: Add basic A31 support Chen-Yu Tsai
2014-09-21 18:51 ` Ian Campbell
2014-09-21 19:01 ` Maxime Ripard
2014-09-22 13:30 ` Chen-Yu Tsai
2014-09-09 7:00 ` [U-Boot] [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i) Hans de Goede
2014-09-18 4:27 ` [U-Boot] [linux-sunxi] " Siarhei Siamashka
2014-09-18 8:31 ` Hans de Goede
2014-09-18 15:31 ` Chen-Yu Tsai
2014-09-28 15:25 ` Hans de Goede
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=5411D997.8040801@redhat.com \
--to=hdegoede@redhat.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox