On 2015-02-20 10:36, Jan Kiszka wrote:
> On 2015-02-19 10:14, Thierry Reding wrote:
>> On Wed, Feb 18, 2015 at 09:34:53AM -0700, Stephen Warren wrote:
>>> On 02/17/2015 11:13 PM, Jan Kiszka wrote:
On 2015-02-17 22:03, Stephen Warren wrote:
> On 02/16/2015 05:54 AM, Jan Kiszka wrote:
>>
a6b541b090: TI ARMv7: Don't use GD before crt0.S has set it
moves the init of the debug uart at the very end of SPL code.
Enable it for the siemens board earlier, as they print
ddr settings ... all debug output before board_init_r()
is here currently useless. Maybe we must rework this
globally?
S
enable generic board support for the ipam390 board.
Signed-off-by: Heiko Schocher
---
include/configs/ipam390.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/ipam390.h b/include/configs/ipam390.h
index 310d5e2..664a2b2 100644
--- a/include/configs/ipam390.h
+++ b/include/c
Hi Masahiro,
On Feb 23, 2015 8:16 PM, "Masahiro Yamada"
wrote:
>
> Hi Simon,
>
>
>
> On Mon, 23 Feb 2015 11:01:02 -0700
> Simon Glass wrote:
>
> > Hi Masahiro,
> >
> > On 20 February 2015 at 04:38, Masahiro Yamada
wrote:
> > > For I2C (and some other uclasses), all the devices are required to
>
Support xHCI host driver used on Panasonic UniPhier platform.
Signed-off-by: Masahiro Yamada
Acked-by: Marek Vasut
---
Changes in v4:
- use fdtdec_find_aliases_for_id() to get the offset to the node
Changes in v3: None
Changes in v2:
- add the error check of fdtdec_get_addr()
doc/README.
EHCI host controllers have a common register interface.
We may wish to implement a generic EHCI driver someday.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/dts/uniphier-ph1-ld4.dtsi | 8
arch/arm/dts/uniphier-ph1-pro4.dtsi
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/ph1-pro4/sbc_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-uniphier/ph1-pro4/sbc_init.c
b/arch/arm/mach-uniphier/ph1-pro4/sbc_i
The 3CS support card (CONFIG_DCC_MICRO_SUPPORT_CARD) used to be used
very often before, but it is recently getting a minority. Swith to
the 1CS support card (CONFIG_PFC_MICRO_SUPPORT_CARD).
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- Added
co
This function was intended for MN2WS0235 (what we call PH1-Pro4TV).
On that SoC, MPLL is already running on the power-on reset and it
makes sense to stop the PLL at early boot-up.
On the other hand, PH1-Pro4(R) does not have SC_MPLLOSCCTL register,
so this function has no point.
Signed-off-by: Mas
This is necessary to use the USB 3.0 host controllers on PH1-Pro4.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/include/mach/sc-regs.h | 11 ++-
arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c | 15 +++
For all the UniPhier SoCs so far, the reset signal of the NAND core
is automatically deasserted after the PLL gets stabled.
(The bit 2 of SC_RSTCTRL is default to one.)
This causes a fatal problem on the NAND controller of PH1-LD4.
For that SoC, the NAND I/O pins are not set up yet at the power-on
PH1-Pro4 includes both EHCI and xHCI IP cores.
Unfortunately, U-Boot cannot enable EHCI and xHCI support
simultaneously. Some users may wish Super-Speed connection.
Disable CONFIG_USB_EHCI_HCD and enable CONFIG_USB_XHCI_HCD.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3:
Move
arch/arm/cpu/armv7/uniphier/* -> arch/arm/mach-uniphier/*
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3:
- Newly added
Changes in v2: None
MAINTAINERS | 2 +-
arch/arm/Kconfig
Deassert the reset signal and provide the clock for STDMAC core.
This is necessary for the USB 2.0 host controllers.
Signed-off-by: Masahiro Yamada
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/include/mach/sc-regs.h | 2 ++
arch/arm/mach-uniphier/ph1-l
On Mon, 23 Feb 2015 20:44:10 +
Adam Sampson wrote:
> The tpr3 (timing skew) parameter is used in all supported versions of
> the sunxi DRAM controller, but it was only enabled for sun4i in
> 47e3501a76894f4ba08bc61f33774bd5d39ff464.
>
> Signed-off-by: Adam Sampson
> ---
> board/sunxi/dram_
In order to fully support booting the whole system over USB OTG
without relying on anything else (MMC, SATA, USB sticks, ...), it
is possible to upload the 'boot.scr' file to DRAM using the 'fel'
tool. But U-Boot still needs to be able to pick it up there before
checking any other boot media.
Sign
This is still a non-generic board.
Signed-off-by: Masahiro Yamada
Cc: Lei Wen
Acked-by: Marek Vasut
---
arch/arm/Kconfig | 5 -
arch/arm/cpu/arm926ejs/Makefile | 1 -
arch/arm/cpu/arm926ejs/pantheon/Makefile | 9 --
arch/arm/cpu/arm926ejs/
On Fri, 2015-02-20 at 14:24 +0900, Masahiro Yamada wrote:
> When Kconfig for U-boot was examined, one of the biggest issues was
> how to support multiple images (Normal, SPL, TPL). There were
> actually two options, "single .config" and "multiple .config".
> After some discussions and thought expe
On Mon, Feb 23, 2015 at 08:28:53PM +0200, Pantelis Antoniou wrote:
> Hi Tom,
>
> The following changes since commit 46414296953410706e917cef9238926084e83a4b:
>
> rpi: add support for Raspberry Pi 2 model B (2015-02-21 08:28:16 -0500)
>
> are available in the git repository at:
>
> git://gi
On Fri, Feb 20, 2015 at 10:51 AM, PF4Public wrote:
>
> Hello, Nikolay
>
> Now I see, what you mean.
>
> From every dump the requests made by U-Boot are the same. They're as
follows:
> 00:00:00.000310 IP (tos 0x0, ttl 255, id 11267, offset 0, flags [DF],
proto UDP (17), length 66)
> 192.168.100
On Mon, Feb 23, 2015 at 4:21 PM, Tom Rini wrote:
> On Mon, Feb 23, 2015 at 08:16:44PM +0100, Paul Kocialkowski wrote:
>
>> Not every version and revision of the Cortex-A8 ARM core requires the same
>> errata workarounds. In addition, enabling those requires to have similar
>> workarounds enabled i
On Tue, Feb 17, 2015 at 11:30:30AM -0700, Eric Nelson wrote:
> Initial filesystem images are generally highly compressible.
>
> Add a routine gzwrite that allows gzip-compressed images to be
> written to block devices.
>
> Signed-off-by: Eric Nelson
> ---
> V2 removes floating point references
On Mon, Feb 23, 2015 at 04:12:47PM +0100, Linus Walleij wrote:
> On Thu, Feb 19, 2015 at 5:50 PM, Tom Rini wrote:
> > On Thu, Feb 19, 2015 at 05:19:54PM +0100, Linus Walleij wrote:
> >
> >> This modifies the vexpress64 Juno configuration so that
> >> it will by default load and boot a kernel and a
SDHCI_HOST_CONTROL is a byte-sized register, so don't write to it
as if it were a long, as that would result in clobbering the three
registers following.
Signed-off-by: Matt Reimer
---
drivers/mmc/sdhci.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/sdhci.c
Properly mask SELBASECLK by using an actual mask rather than the
number of bits to shift in order to create the mask.
Signed-off-by: Matt Reimer
---
drivers/mmc/s5p_sdhci.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/s5p_sdhci.c b/drivers/mmc/s5p_sdhci.c
in
On 20 February 2015 at 00:21, Gaurav Rana wrote:
> Currently only normal hashing is supported using hardware acceleration.
> Added support for progressive hashing using hardware.
>
> Signed-off-by: Ruchika Gupta
> Signed-off-by: Gaurav Rana
> CC: Simon Glass
> ---
> Changes in v6:
> Modify desc
Hi Matt,
> On Feb 19, 2015, at 20:31 , Matt Reimer wrote:
>
> The use of SDHCI_CTRL2_SELBASECLK_SHIFT in s5p_sdhci_set_control_reg() seems
> wrong, because a shifting offset is being used as a mask, not to generate a
> mask.
>
> It's unclear what the original intent was. Below is my suggested
On Mon, Feb 23, 2015 at 01:06:49AM -0800, Prafulla Wadaskar wrote:
> > Hi Chris,
> >
> > (added Prafulla and Luka to Cc)
> >
> > On 22.02.2015 23:25, Chris Packham wrote:
> > > According to the Armada-XP documentation the binary header format
> > > requires the header length to be aligned to 4B.
Hi Hans,
> On Feb 19, 2015, at 22:03 , Hans de Goede wrote:
>
> High Capacity (e)MMC cards work fine on sun4i / sun5i, and not having this
> capability set causes u-boot to not recognize the eMMC on an Utoo P66 A13
> tablet, so always set it thereby fixing this.
>
> Signed-off-by: Hans de Goede
Hi Jaehoon,
> On Feb 4, 2015, at 08:48 , Jaehoon Chung wrote:
>
> If mode is not DDR-mode, then it needs to clear it.
>
> Signed-off-by: Jaehoon Chung
> ---
> drivers/mmc/dw_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc
Hi Jaehoon,
> On Feb 4, 2015, at 08:48 , Jaehoon Chung wrote:
>
> "clksel_val" is assigned to property of mmc or defined value.
> But it doesn't write at initial sequence.
> There is a reason that get the wrong source-clock value.
> This patch fixed it.
>
> Signed-off-by: Jaehoon Chung
> ---
>
Hi Jaehoon,
> On Feb 4, 2015, at 08:48 , Jaehoon Chung wrote:
>
> "clksel_val" is assigned to property of mmc or defined value.
> But it doesn't write at initial sequence.
> There is a reason that get the wrong source-clock value.
> This patch fixed it.
>
> Signed-off-by: Jaehoon Chung
> ---
>
Hi Jaehoon,
> On Jan 14, 2015, at 10:37 , Jaehoon Chung wrote:
>
> If mode is not DDR-mode, then it needs to clear it.
>
> Signed-off-by: Jaehoon Chung
> ---
> drivers/mmc/dw_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mm
On 2/23/15 10:57 AM, Marek Vasut wrote:
> On Monday, February 23, 2015 at 05:39:53 PM, Dinh Nguyen wrote:
>> On 2/23/15 10:37 AM, Dinh Nguyen wrote:
>>> On 2/15/15 5:25 PM, Pavel Machek wrote:
Hi!
> +#if ENABLE_BRINGUP_DEBUGGING
Could we get rid of this for initial merge?
On Monday, February 23, 2015 at 04:19:39 PM, Otavio Salvador wrote:
> On Mon, Feb 23, 2015 at 12:16 PM, Marco Cavallini
>
> wrote:
> > 2015-02-23 16:03 GMT+01:00 Otavio Salvador :
> ...
>
> > Does exists a method to store a u-boot bootolader in an unpartitioned
> > unformatted eMMC (without kobs
On Monday, February 23, 2015 at 07:19:03 AM, Kishon Vijay Abraham I wrote:
> Hi,
>
> On Monday 16 February 2015 04:02 PM, Lukasz Majewski wrote:
> > Hi Kishon, Marek
> >
> >> Added a header file to include various linux specific APIs like
> >> pr_debug, WARN_ WARN_ON_ONCE etc.. in order to avoid
On Monday, February 23, 2015 at 03:02:24 PM, Lukasz Majewski wrote:
> From: Inha Song
>
> Signed-off-by: Inha Song
Is such confusing macro really necessary please ?
Moreover, the #define BIT(x) (1 << x) should really be #define BIT(x) (1 << (x))
(with (x) in round brackets).
Best regards,
Mar
On 17/02/2015 13:42, Otavio Salvador wrote:
> This adds support to switch to 1.8V in case CMD11 succeeds.
>
> Signed-off-by: Otavio Salvador
> ---
Applied to u-boot-imx, thanks !
Best regards,
Stefano Babic
--
=
DENX Softw
Signed-off-by: Marco Cavallini
---
arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c
index a744e5d..9e11288 100644
--- a/arch/arm/cpu/arm926ejs
Hi Masahiro,
On Sun, Feb 22, 2015 at 12:20 PM, Masahiro Yamada
wrote:
>
> Based on Tom's announce mail
> (http://lists.denx.de/pipermail/u-boot/2015-February/203606.html),
> let's start removing non-generic ARM boards.
>
> No conversion patches have been posted for these boards.
>
>
> Changes in
Hi Kishon,
> In the linux kernel, non cacheable buffers are used. However in uboot
> since there are no APIs to allocate non cacheable memory, all
> the buffers should be flushed before using it.
>
> Signed-off-by: Kishon Vijay Abraham I
> ---
> drivers/usb/dwc3/core.c | 11 +--
> d
Hi,
On 23 February 2015 at 03:51, Przemyslaw Marczak wrote:
>
> Hello Simon,
>
>
> On 02/20/2015 08:29 PM, Simon Glass wrote:
>>
>> Hi,
>>
>> On 20 February 2015 at 10:50, Stephen Warren wrote:
>>>
>>> On 02/20/2015 02:34 AM, Przemyslaw Marczak wrote:
Hello,
On 02/19/201
On Mon, Feb 23, 2015 at 12:16 PM, Marco Cavallini
wrote:
> 2015-02-23 16:03 GMT+01:00 Otavio Salvador :
...
> Does exists a method to store a u-boot bootolader in an unpartitioned
> unformatted eMMC (without kobs-ng, so without using linux), but simply
> running a command from u-boot?
>
> So in ca
2015-02-23 16:03 GMT+01:00 Otavio Salvador :
> On Mon, Feb 23, 2015 at 11:57 AM, Marco Cavallini
> wrote:
>> 2015-02-23 15:20 GMT+01:00 Fabio Estevam :
>>> Hi Marco,
>>>
>>> On Mon, Feb 23, 2015 at 11:11 AM, Marco Cavallini
>>> wrote:
Hello,
I'd like to know if exists a method to s
On Thu, Feb 19, 2015 at 5:50 PM, Tom Rini wrote:
> On Thu, Feb 19, 2015 at 05:19:54PM +0100, Linus Walleij wrote:
>
>> This modifies the vexpress64 Juno configuration so that
>> it will by default load and boot a kernel and a device tree
>> from the pre-defined location in the NOR flash. When we a
Le lundi 23 février 2015 à 13:09 +0200, Igor Grinberg a écrit :
> Hi Paul,
>
> On 02/22/15 18:42, Paul Kocialkowski wrote:
> > Not every version and revision of the Cortex-A8 ARM core requires the same
> > errata workarounds. In addition, enabling those requires to have similar
> > workarounds ena
On Mon, Feb 23, 2015 at 11:57 AM, Marco Cavallini
wrote:
> 2015-02-23 15:20 GMT+01:00 Fabio Estevam :
>> Hi Marco,
>>
>> On Mon, Feb 23, 2015 at 11:11 AM, Marco Cavallini
>> wrote:
>>> Hello,
>>>
>>> I'd like to know if exists a method to store in eMMC a bootolader
>>> without kobs-ng, so without
2015-02-23 15:20 GMT+01:00 Fabio Estevam :
> Hi Marco,
>
> On Mon, Feb 23, 2015 at 11:11 AM, Marco Cavallini
> wrote:
>> Hello,
>>
>> I'd like to know if exists a method to store in eMMC a bootolader
>> without kobs-ng, so without using linux, but simply running a command
>> from u-boot.
>> I boot
Hi Kishon,
> Hi,
>
> On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
> > From: Marek Szyprowski
> >
> > DWC3 hangs on OUT requests smaller than maxpacket size,
> > so HACK the request length to be at least equal to maxpacket size.
>
> Curious to know using which gadget this issue wa
Hello,
On 02/22/2015 11:46 PM, Rob Herring wrote:
On Wed, Feb 18, 2015 at 11:48 AM, Przemyslaw Marczak
wrote:
Hello Rob,
Sorry for delay.
On 01/26/2015 04:44 PM, Rob Herring wrote:
Currently, an environment variable must be used to store the randomly
generated UUID for each partition. This
Hi,
On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
From: Marek Szyprowski
DWC3 hangs on OUT requests smaller than maxpacket size,
so HACK the request length to be at least equal to maxpacket size.
Curious to know using which gadget this issue was seen.
Thanks
Kishon
Signed-o
Hi,
On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
commit message here again.
Signed-off-by: Joonyoung Shim
Signed-off-by: Lukasz Majewski
[The code has been rebased on v2 dwc3 support provided by Kishon Vijay Abraham
I]
---
drivers/usb/dwc3/core.c | 77 +++
Hi Marco,
On Mon, Feb 23, 2015 at 11:11 AM, Marco Cavallini
wrote:
> Hello,
>
> I'd like to know if exists a method to store in eMMC a bootolader
> without kobs-ng, so without using linux, but simply running a command
> from u-boot.
> I booted my i.MX28 system (I have the same question for i.MX6
Hi,
On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
From: Joonyoung Shim
commit message please.
-Kishon
Signed-off-by: Joonyoung Shim
---
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/dwc3/core.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/us
Hello,
I'd like to know if exists a method to store in eMMC a bootolader
without kobs-ng, so without using linux, but simply running a command
from u-boot.
I booted my i.MX28 system (I have the same question for i.MX6 as well)
using the u-boot.sb (u-boot-2015.01 with SPL) file loaded with mxsldr
(
Hi,
On Monday 23 February 2015 07:32 PM, Lukasz Majewski wrote:
Added #includes are necessary to allow dwc3 to compile and run on u-boot
for Odroid XU3.
I think you should also add the files for Odroid XU3.
Signed-off-by: Lukasz Majewski
---
drivers/usb/dwc3/linux-compat.h | 3 +++
1 fil
It turned out that current dwc3 gadget code is preparing multiple TRBs
for a transfer. Unfortunately, when multiple requests are in the same
queue, only for the last one the LST (last) ctrl bit is set.
Due to that dwc3 HW executes all TRBs up till the one marked as last.
Unfortunately, UMS require
For u-boot dwc3 driver the scatter gather list support has been removed
from original linux code. It is correct, since we try to send one request
at a time.
However, the cleanup left spurious break, which caused early exit from
loop at dwc3_cleanup_done_reqs() function. As a result the
dwc3_gadget
Signed-off-by: Joonyoung Shim
Signed-off-by: Lukasz Majewski
[The code has been rebased on v2 dwc3 support provided by Kishon Vijay Abraham
I]
---
drivers/usb/dwc3/core.c | 77 -
drivers/usb/dwc3/core.h | 1 +
include/dwc3-uboot.h| 2 ++
3 f
From: Marek Szyprowski
There is no point in calling dwc3_thread_interrupt() if no event is
pending. There is also no point in flushing event cache in EVERY loop
iteration.
Signed-off-by: Marek Szyprowski
---
drivers/usb/dwc3/core.c | 7 ---
drivers/usb/dwc3/gadget.c | 15 +--
Commit "drivers/dwc3: add a workaround for too small OUT requests"
sets max packet for OUT requests when transfer is smaller.
Until this change the default maxpacket for non EP0 EPs was 1024. This is
too much, since UMS LBA size is 512B
Signed-off-by: Lukasz Majewski
---
drivers/usb/dwc3/gadget
From: Marek Szyprowski
DWC3 hangs on OUT requests smaller than maxpacket size,
so HACK the request length to be at least equal to maxpacket size.
Signed-off-by: Marek Szyprowski
---
drivers/usb/dwc3/gadget.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/usb/dwc3/gadget.c b/
From: Marek Szyprowski
This patch adds code to select standard, commonly used usb endpoint
configuration (ep1in-bulk, ep2out-bulk, ep3in-int) to dwc3 driver. This
ensures compatibility with old userspace and windows drivers, which
expects hardcoded endpoint numbers.
Signed-off-by: Marek Szyprows
Those patches should be applied on top of Kishon Vijay Abraham I work (v1)
[40 patches]:
https://patchwork.ozlabs.org/patch/442467/
"dra7xx: am43xx: add dwc3 gadget driver support and enable dfu"
Those changes fixes composite, DFU and UMS gadgets - as a result
relevant tests (available at test/{d
Added #includes are necessary to allow dwc3 to compile and run on u-boot
for Odroid XU3.
Signed-off-by: Lukasz Majewski
---
drivers/usb/dwc3/linux-compat.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
index b36f68f..4047
DWC3 UDC driver requires presence of .reset callback in a composite driver.
This setting is similar to the one nowadays present in linux kernel.
Signed-off-by: Lukasz Majewski
---
drivers/usb/gadget/composite.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/gadget/composite.c b/
From: Joonyoung Shim
Signed-off-by: Joonyoung Shim
---
drivers/usb/dwc3/core.c | 2 +-
drivers/usb/dwc3/core.h | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c
index 4c3637f..d690870 100644
--- a/drivers/usb/dwc3/core.c
+++ b
From: Inha Song
Signed-off-by: Inha Song
---
drivers/usb/dwc3/core.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index 3f8a4e9..3355468 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/usb/dwc3/core.h
@@ -392,6 +392,7 @@ struct dwc3_ev
Hi Masahiro,
On 20 February 2015 at 19:37, Masahiro YAMADA wrote:
> Hi Simon,
>
>
> 2015-02-21 11:28 GMT+09:00 Simon Glass :
>> Hi Masahiro,
>>
>> On 20 February 2015 at 17:54, Masahiro YAMADA
>> wrote:
>>> Hi Simon, Stephen,
>>>
>>>
>>> 2015-02-21 3:39 GMT+09:00 Simon Glass :
Hi,
>>>
Hi,
On 10 February 2015 at 14:35, Simon Glass wrote:
> This series includes a few more patches aimed at getting rid of gdata, the
> parallel global_data structure introduced on some ARM boards.
>
> It also collects together the other patches which have been sent previously,
> so that everything i
Hi Masahiro,
On 23 February 2015 at 05:52, Masahiro Yamada wrote:
> Hi Simon,
>
>
> When I try to run Buildman against a branch named "test",
> it fails with a weird error message.
>
>
>
> $ git branch
> * master
> $ git checkout -b test master
> Switched to a new branch 'test'
> $ echo foo >> RE
Now UniPhier SoCs only work with CONFIG_SPL and the function
sbc_init() is called from SPL.
The conditional #if !defined(CONFIG_SPL_BUILD) has no point
any more.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/ph1-ld4/sbc_init.c | 11 +
This is necessary to use the USB 3.0 host controllers on PH1-Pro4.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/include/mach/sc-regs.h | 11 ++-
arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c | 15 +++
2 files changed, 25
This function was intended for MN2WS0235 (what we call PH1-Pro4TV).
On that SoC, MPLL is already running on the power-on reset and it
makes sense to stop the PLL at early boot-up.
On the other hand, PH1-Pro4(R) does not have SC_MPLLOSCCTL register,
so this function has no point.
Signed-off-by: Mas
Taken from linux kernel with commit
commit 765f5b830e547229bb752e7b232ee83e2b3d49d5
Author: Sebastian Andrzej Siewior
Date: Thu Jun 23 14:26:11 2011 +0200
usb: gadget: defer setting maxpacket till ->setup()
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
drivers/usb/g
dwc3 can do only max packet aligned transfers. So in case request length
is not max packet aligned and is bigger than DWC3_EP0_BOUNCE_SIZE
two chained TRBs is required to handle the transfer.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
drivers/usb/dwc3/ep0.c| 72
Added support for multiple dwc3 omap controllers. This gives uboot
the capability to control multiple dwc3 omap controllers.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
drivers/usb/dwc3/dwc3-omap.c | 26 --
include/dwc3-omap-uboot.h|3
The 3CS support card (CONFIG_DCC_MICRO_SUPPORT_CARD) used to be used
very often before, but it is recently getting a minority. Swith to
the 1CS support card (CONFIG_PFC_MICRO_SUPPORT_CARD).
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2:
- Added
configs/ph1_ld4_defcon
Added USB_GADGET_DELAYED_STATUS to avoid the following compilation error.
error: ‘USB_GADGET_DELAYED_STATUS’ undeclared (first use in this function)
while compiling dwc3/ep0.c
While this is been added only to avoid compilation error, the complete fix
should be something like the one added in linux
Since we support multiple dwc3 controllers to be existent at the same
time, in order to handle the interrupts of a particular dwc3 controller
usb_gadget_handle_interrutps should take controller index as an
argument.
Hence the API of usb_gadget_handle_interrupts is modified to take
controller index
Now that the entire dwc3 driver is adapted to compile with uboot build,
modify the Makefiles so that the dwc3 driver can be built.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
Makefile|2 ++
drivers/usb/dwc3/Makefile | 35 +++
Invoked board_usb_cleanup for cleaning up initialized USB. It
will be invoked if the user enterts ctrl-C.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
common/cmd_dfu.c |1 +
common/usb.c |6 ++
2 files changed, 7 insertions(+)
diff --git a/common/cmd_d
Added a structure to populate dwc3 omap platform data. The board file should
populate these platform data before invoking dwc3 omap driver.
This will be removed once dwc3-omap driver is adapted to use the driver model.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
driv
Implemented board_usb_init(), board_usb_cleanup() and
usb_gadget_handle_interrupts() in dra7xx board file that
can be invoked by various gadget drivers.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
arch/arm/include/asm/arch-omap5/omap.h | 12
board/ti/dra7xx/evm
Enabled dwc3, dwc3-omap and PHY for dwc3 are enabled. Also enabled
support for DFU.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
include/configs/am43xx_evm.h | 58 +-
1 file changed, 57 insertions(+), 1 deletion(-)
diff --git
EHCI host controllers have a common register interface.
We may wish to implement a generic EHCI driver someday.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/dts/uniphier-ph1-ld4.dtsi | 8
arch/arm/dts/uniphier-ph1-pro4.dtsi | 6 +++---
arch/ar
Added a single driver for both USB2 PHY programming and USB3 PHY
programming.
USB3 PHY is taken from drivers/phy/phy-ti-pipe3.c in linux kernel.
commit 56042e : phy: ti-pipe3: Fix suspend/resume and module reload.
USB2 PHY is taken from drivers/phy/phy-omap-usb2.c in linux kernel.
commit eb82a3 :
Enabled dwc3, dwc3-omap and PHY for dwc3 are enabled. Also enabled
support for DFU.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
include/configs/dra7xx_evm.h | 63 +
include/configs/ti_omap5_common.h |5 +++
2 files change
Implemented board_usb_init(), board_usb_cleanup() and
usb_gadget_handle_interrupts() in am43xx board file that
can be invoked by various gadget drivers.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
arch/arm/include/asm/arch-am33xx/hardware_am43xx.h |9 ++
board/ti/
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/ph1-pro4/sbc_init.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-uniphier/ph1-pro4/sbc_init.c
b/arch/arm/mach-uniphier/ph1-pro4/sbc_init.c
index 37acfb5.
Two support card variants are used with UniPhier reference boards:
- 1 chip select support card (original CPLD)
- 3 chip selects support card (ARIMA-compatible CPLD)
Currently, the former is only supported on PH1-Pro4, but it can be
expanded to PH1-LD4, PH1-sLD8 with a little code change.
Signe
PH1-Pro4 includes both EHCI and xHCI IP cores.
Unfortunately, U-Boot cannot enable EHCI and xHCI support
simultaneously. Some users may wish Super-Speed connection.
Disable CONFIG_USB_EHCI_HCD and enable CONFIG_USB_XHCI_HCD.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2:
This code is duplicated in ph1-ld4/sg_init.c and ph1-pro4/sg_init.c.
Merge the same code into a new file, memconf.c.
The helper functions no longer have to be placed in the header file.
Also, move them into memconf.c.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
Deassert the reset signal and provide the clock for STDMAC core.
This is necessary for the USB 2.0 host controllers.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/include/mach/sc-regs.h | 2 ++
arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c |
For all the UniPhier SoCs so far, the reset signal of the NAND core
is automatically deasserted after the PLL gets stabled.
(The bit 2 of SC_RSTCTRL is default to one.)
This causes a fatal problem on the NAND controller of PH1-LD4.
For that SoC, the NAND I/O pins are not set up yet at the power-on
Move arch/arm/include/asm/arch-uniphier/*
-> arch/arm/mach-uniphier/include/mach/*
Signed-off-by: Masahiro Yamada
---
Changes in v3:
- Newly added
Changes in v2: None
MAINTAINERS | 1 -
.../asm/arch-uniphier => mach-uniphier/inc
Support xHCI host driver used on Panasonic UniPhier platform.
Signed-off-by: Masahiro Yamada
Acked-by: Marek Vasut
---
Changes in v3: None
Changes in v2:
- add the error check of fdtdec_get_addr()
doc/README.uniphier | 3 +-
drivers/usb/host/Kconfig | 8
drivers/
No functional change. Modified few things so that there are no
code duplication while implementing chained TRB.
Signed-off-by: Kishon Vijay Abraham I
Reviewed-by: Lukasz Majewski
---
drivers/usb/dwc3/ep0.c | 20
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git
Split the current clkrst_init() into two functions:
- early_clkrst_init(): called from SPL
Deassert the reset signals of the memory controller and some other
basic cores.
- clkrst_init(): called from main U-boot
Deassert the reset signals that are necessary for the access to
peripherals
This is necessary to use the xHCI cores for PH1-Pro4.
Signed-off-by: Masahiro Yamada
---
Changes in v3: None
Changes in v2: None
arch/arm/mach-uniphier/ph1-pro4/pinctrl.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/mach-uniphier/ph1-pro4/pinctrl.c
b/arch/arm/mach-uniph
1 - 100 of 158 matches
Mail list logo