From: York Sun <yorksun@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2][v2]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs
Date: Thu, 17 Oct 2013 10:40:01 -0700 [thread overview]
Message-ID: <526020F1.6080001@freescale.com> (raw)
In-Reply-To: <52601B96.80607@freescale.com>
On 10/17/2013 10:17 AM, York Sun wrote:
> On 10/10/2013 05:42 AM, Ramneek Mehresh wrote:
>> CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for
>> initializing all USB controllers on a given platform. This
>> macro is defined for all 85xx socs
>>
>> Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
>> ---
>> Changes for v2: rebased on u-boot-mpc85xx-next
>>
>> arch/powerpc/cpu/mpc8xxx/fdt.c | 6 ++++--
>> arch/powerpc/include/asm/config_mpc85xx.h | 26 +++++++++++++++++++++++++-
>> 2 files changed, 29 insertions(+), 3 deletions(-)
>>
> Applied to 85xx/next branch. Pending to merge to master.
>
Oops. Found a problem before pushing it.
> diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c
b/arch/powerpc/cpu/mpc8xxx/fdt.c
> index eb7cbbc..ceab92f 100644
> --- a/arch/powerpc/cpu/mpc8xxx/fdt.c
> +++ b/arch/powerpc/cpu/mpc8xxx/fdt.c
> @@ -15,7 +15,9 @@
> #include <phy.h>
> #include <hwconfig.h>
>
> -#define FSL_MAX_NUM_USB_CTRLS 2
> +#ifdef CONFIG_USB_MAX_CONTROLLER_COUNT
> +#define CONFIG_USB_MAX_CONTROLLER_COUNT 1
> +#endif
Do you mean #ifndef here?
York
prev parent reply other threads:[~2013-10-17 17:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-10 12:42 [U-Boot] [PATCH 1/2][v2]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs Ramneek Mehresh
2013-10-17 17:17 ` York Sun
2013-10-17 17:40 ` York Sun [this message]
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=526020F1.6080001@freescale.com \
--to=yorksun@freescale.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