[U-Boot] [PATCH] usb: dwc3: Correct datatype of base to unsigned long

2016-05-11 Thread Michal Simek
From: Siva Durga Prasad Paladugu Correct type of varibale base to unsigned long as keeping it as int causes usb failures if MSB of the base address is set. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- include/dwc3-uboot.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-11 Thread Alexander Graf
Am 12.05.2016 um 07:49 schrieb Prabhakar Kushwaha : >> -Original Message- >> From: Alexander Graf [mailto:ag...@suse.de] >> Sent: Thursday, May 12, 2016 3:37 AM >> To: york sun; Prabhakar Kushwaha; u-boot@lists.denx.de >> Cc: Pratiyush Srivastava; Abhimanyu Saini >> Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-11 Thread Prabhakar Kushwaha
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Thursday, May 12, 2016 3:37 AM > To: york sun; Prabhakar Kushwaha; u-boot@lists.denx.de > Cc: Pratiyush Srivastava; Abhimanyu Saini > Subject: Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of > ls1012aqds

Re: [U-Boot] [PATCH 0/8] ARM: AM335x: Add support for FIT and various platforms

2016-05-11 Thread Lokesh Vutla
Hi Tom, On Wednesday 11 May 2016 09:53 PM, Tom Rini wrote: > On Tue, May 10, 2016 at 01:18:16PM +0530, Lokesh Vutla wrote: > >> This series adds support for FIT and various AM335x based platforms >> >> BBB: http://pastebin.ubuntu.com/16340189/ >> BBW: http://pastebin.ubuntu.com/16340238/ >> AM3

Re: [U-Boot] [PATCH v2 07/11] drivers: usb: musb: add ti musb peripheral driver with driver model support

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 06:09 PM, Marek Vasut wrote: > On 05/10/2016 01:48 PM, Mugunthan V N wrote: >> Add a TI MUSB peripheral driver with driver model support and the >> driver will be bound by the MUSB wrapper driver based on the >> dr_mode device tree entry. >> >> Signed-off-by: Mugunthan V N >

Re: [U-Boot] [PATCH v2 6/6] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 05:57 PM, Marek Vasut wrote: > On 05/10/2016 01:44 PM, Mugunthan V N wrote: >> Adopt usb ether gadget and rndis driver to adopt driver model >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/usb/gadget/ether.c | 153 >> ++--- >> d

Re: [U-Boot] [PATCH v2 5/6] drivers: usb: gadget: ether: prepare driver for driver model migration

2016-05-11 Thread Mugunthan V N
On Tuesday 10 May 2016 05:54 PM, Marek Vasut wrote: > On 05/10/2016 01:44 PM, Mugunthan V N wrote: >> prepare driver for driver model migration >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/usb/gadget/ether.c | 72 >> -- >> 1 file changed, 51 in

Re: [U-Boot] U-boot UBI environment

2016-05-11 Thread Heiko Schocher
Hello Kevin, Am 11.05.2016 um 17:54 schrieb Kevin Smith: Hi Joe and Heiko, I tried disabling the fastmap options, and it appears to be related to these. With fastmap off, I am able two write without corrupting the other volume. It looks like it may specifically be the autoupdate feature, but

Re: [U-Boot] [PATCH] usb: xhci: add struct devrequest declaration

2016-05-11 Thread Masahiro Yamada
Hi Marek, 2016-05-11 20:22 GMT+09:00 Marek Vasut : >>> Because you want to have definition of every symbol you use in your >>> headers when you include that header. I am not a big fan of huge stack >>> of #include statements in a driver. >> >> Agree. That's why this patch is here. >> >> See thi

[U-Boot] [PATCH] i2c: mvtwsi: avoid writing to twsi_control_flags prior to relocation

2016-05-11 Thread Chris Packham
In a system where the initial u-boot location is genuinely NOR flash (as opposed to RAM or a cache-line setup by a pre-bootloader) writes to the data section are problematic. At best these writes have no effect at worse they put the flash memory into a status mode which changes the executable code

[U-Boot] [PATCH 0/1] i2c: mvtwsi: running from flash ROM

2016-05-11 Thread Chris Packham
We have a board using Marvell's MV78100 SoC (note despite the name this is quite different to the armada MV782x0/MV784x0 SoCs). The SoC support isn't upstream but since it's quite similar to the Orion/Kirkwood we've managed to keep reasonably up to date. One difference with our system is that it b

Re: [U-Boot] [PULL] u-boot-socfpga/master

2016-05-11 Thread Tom Rini
On Wed, May 11, 2016 at 09:20:20PM +0200, Marek Vasut wrote: > On 05/11/2016 06:23 PM, Tom Rini wrote: > > On Sat, May 07, 2016 at 03:42:15AM +0200, Marek Vasut wrote: > > > >> The following changes since commit > >> bbca7108db79076d3a9a9c112792d7c4608a665c: > >> > >> > >> > >> ARM: tegra: impo

Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-11 Thread Alexander Graf
On 11.05.16 17:59, York Sun wrote: > On 05/11/2016 12:30 AM, Prabhakar Kushwaha wrote: >> QorIQ LS1012A Development System (LS1012AQDS) is a high-performance >> development platform, with a complete debugging environment. >> The LS1012AQDS board supports the QorIQ LS1012A processor and is >> opti

[U-Boot] [PATCH V2 1/2] dm: allow setting driver_data before/during bind

2016-05-11 Thread Stephen Warren
From: Stephen Warren This will allow a driver's bind function to use the driver data. One example is the Tegra186 GPIO driver, which instantiates child devices for each of its GPIO ports, yet supports two different HW instances each with a different set of ports, and identified by the udevice_id

[U-Boot] [PATCH V2 2/2] sunxi: gpio: convert bind() to use driver data

2016-05-11 Thread Stephen Warren
From: Stephen Warren Now that the DM core sets driver_data before calling bind(), this driver can make use of driver_data to determine the set of child devices to create, rather than manually re-implementing the matching logic in code. Cc: Hans de Goede Signed-off-by: Stephen Warren --- v2: Ne

Re: [U-Boot] [PULL] u-boot-socfpga/master

2016-05-11 Thread Marek Vasut
On 05/11/2016 06:23 PM, Tom Rini wrote: > On Sat, May 07, 2016 at 03:42:15AM +0200, Marek Vasut wrote: > >> The following changes since commit >> bbca7108db79076d3a9a9c112792d7c4608a665c: >> >> >> >> ARM: tegra: import latest Jetson TK1 spreadsheet (2016-05-04 13:31:04 >> -0700) >> >> >> are ava

Re: [U-Boot] reset uclass rename?

2016-05-11 Thread Simon Glass
Hi Stephen, On 11 May 2016 at 12:45, Stephen Warren wrote: > Simon, > > For Tegra186 support, I'd like to introduce a reset subsystem into U-Boot, > to support the reset DT bindings[1]. It'd be equivalent to the existing > reset subsystem in Linux. This binding/subsystem does/would control reset

Re: [U-Boot] [PATCH] dm: allow setting driver_data before/during bind

2016-05-11 Thread Simon Glass
Hi Stephen, On 11 May 2016 at 10:52, Stephen Warren wrote: > On 05/10/2016 08:25 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 4 May 2016 at 12:42, Stephen Warren wrote: >>> >>> On 05/01/2016 01:27 PM, Simon Glass wrote: Hi Stephen, On 28 April 2016 at 17:08, Stephen

[U-Boot] reset uclass rename?

2016-05-11 Thread Stephen Warren
Simon, For Tegra186 support, I'd like to introduce a reset subsystem into U-Boot, to support the reset DT bindings[1]. It'd be equivalent to the existing reset subsystem in Linux. This binding/subsystem does/would control reset of e.g. individual HW blocks in an SoC, or individual chips on th

Re: [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers

2016-05-11 Thread Alexander Graf
> Am 11.05.2016 um 19:09 schrieb York Sun : > >> On 05/11/2016 10:04 AM, Alexander Graf wrote: >> >> Am 11.05.2016 um 18:33 schrieb York Sun : On 05/11/2016 09:25 AM, Alexander Graf wrote: While testing our shiny new EFI support, I stumbled across systems that have di

Re: [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers

2016-05-11 Thread York Sun
On 05/11/2016 10:04 AM, Alexander Graf wrote: > > >> Am 11.05.2016 um 18:33 schrieb York Sun : >> >>> On 05/11/2016 09:25 AM, Alexander Graf wrote: >>> While testing our shiny new EFI support, I stumbled across systems that >>> have disk I/O hardware that can only access the lower 32bits of our >

Re: [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers

2016-05-11 Thread Alexander Graf
> Am 11.05.2016 um 18:33 schrieb York Sun : > >> On 05/11/2016 09:25 AM, Alexander Graf wrote: >> While testing our shiny new EFI support, I stumbled across systems that >> have disk I/O hardware that can only access the lower 32bits of our >> physical address space. >> >> This is not a problem

Re: [U-Boot] [PATCH] dm: allow setting driver_data before/during bind

2016-05-11 Thread Stephen Warren
On 05/10/2016 08:25 PM, Simon Glass wrote: Hi Stephen, On 4 May 2016 at 12:42, Stephen Warren wrote: On 05/01/2016 01:27 PM, Simon Glass wrote: Hi Stephen, On 28 April 2016 at 17:08, Stephen Warren wrote: From: Stephen Warren This will allow a driver's bind function to use the driver d

Re: [U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers

2016-05-11 Thread York Sun
On 05/11/2016 09:25 AM, Alexander Graf wrote: > While testing our shiny new EFI support, I stumbled across systems that > have disk I/O hardware that can only access the lower 32bits of our > physical address space. > > This is not a problem when running with the normal U-Boot flow, since we > def

[U-Boot] [PATCH 2/2] efi_loader: Select bounce buffers for known-bad boards

2016-05-11 Thread Alexander Graf
We know for certain that we have 32bit DMA hardware, but 64bit addresses on LS2085A and ZynqMP, so let's enable EFI bounce buffers for all defconfigs on these SoCs. Signed-off-by: Alexander Graf --- configs/ls2080a_emu_defconfig| 1 + configs/ls2080a_simu_defconfig

[U-Boot] [PATCH 1/2] efi_loader: Add bounce buffer support

2016-05-11 Thread Alexander Graf
Some hardware that is supported by U-Boot can not handle DMA above 32bits. For these systems, we need to come up with a way to expose the disk interface in a safe way. This patch implements EFI specific bounce buffers. For non-EFI cases, this apparently was no issue so far, since we can just defin

[U-Boot] [PATCH 0/2] efi_loader: Add bounce buffers

2016-05-11 Thread Alexander Graf
While testing our shiny new EFI support, I stumbled across systems that have disk I/O hardware that can only access the lower 32bits of our physical address space. This is not a problem when running with the normal U-Boot flow, since we define all "pointers" that get in use in our environment, so

Re: [U-Boot] [PATCH 0/8] ARM: AM335x: Add support for ICEv2 board

2016-05-11 Thread Tom Rini
On Tue, May 10, 2016 at 02:33:47PM +0530, Lokesh Vutla wrote: > TI's Industrial Communication Engine EVM is a low cost hardware mainly > developed for industrial communication type applications using serial > or Ethernet based interfaces. This platform features TI's AM3359 with > 800MHz single cor

Re: [U-Boot] [PATCH 0/8] ARM: AM335x: Add support for FIT and various platforms

2016-05-11 Thread Tom Rini
On Tue, May 10, 2016 at 01:18:16PM +0530, Lokesh Vutla wrote: > This series adds support for FIT and various AM335x based platforms > > BBB: http://pastebin.ubuntu.com/16340189/ > BBW: http://pastebin.ubuntu.com/16340238/ > AM335x-evm: http://pastebin.ubuntu.com/16340157/ > AM335x-evmsk: http:

Re: [U-Boot] [PULL] u-boot-socfpga/master

2016-05-11 Thread Tom Rini
On Sat, May 07, 2016 at 03:42:15AM +0200, Marek Vasut wrote: > The following changes since commit > bbca7108db79076d3a9a9c112792d7c4608a665c: > > > > ARM: tegra: import latest Jetson TK1 spreadsheet (2016-05-04 13:31:04 > -0700) > > > are available in the git repository at: > > > > git

Re: [U-Boot] [PULL] u-boot-usb/master

2016-05-11 Thread Tom Rini
On Sat, May 07, 2016 at 03:41:11AM +0200, Marek Vasut wrote: > The following changes since commit bbca7108db79076d3a9a9c112792d7c4608a665c: > > ARM: tegra: import latest Jetson TK1 spreadsheet (2016-05-04 13:31:04 > -0700) > > are available in the git repository at: > > git://git.denx.de/u-

Re: [U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-11 Thread York Sun
On 05/11/2016 12:30 AM, Prabhakar Kushwaha wrote: > QorIQ LS1012A Development System (LS1012AQDS) is a high-performance > development platform, with a complete debugging environment. > The LS1012AQDS board supports the QorIQ LS1012A processor and is > optimized to support the high-bandwidth DDR3L m

[U-Boot] [RESEND RFC PATCH] zynq: add support for on-board shared reset gpio

2016-05-11 Thread Andrea Merello
I'm adding support [1] for another zynq-based board (MYIR Zturn [2]). This board has one peculiarity that I have to deal with: it has a shared reset signal that hits both the USB PHY and the Ethernet PHY, and this is routed to a GPIO that must be shaken down and up before using those two pheripher

Re: [U-Boot] [PATCH 9/9][v2] armv8: ls1012a: Add support of ls1012ardb board

2016-05-11 Thread York Sun
On 05/11/2016 12:30 AM, Prabhakar Kushwaha wrote: > QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance > development platform, with a complete debugging environment. > The LS1012ARDB board supports the QorIQ LS1012A processor and is > optimized to support the high-bandwidth DD

Re: [U-Boot] U-boot UBI environment

2016-05-11 Thread Kevin Smith
Hi Joe and Heiko, I tried disabling the fastmap options, and it appears to be related to these. With fastmap off, I am able two write without corrupting the other volume. It looks like it may specifically be the autoupdate feature, but I am still testing to be sure this is the case. I will l

[U-Boot] [PATCH v2 15/18] acpi: Quieten IASL output when 'make -s' is used

2016-05-11 Thread Bin Meng
IASL compiler does not provide a command line option to turn off its non-warning message. To quieten the output when 'make -s', redirect its output to /dev/null. Signed-off-by: Bin Meng --- Changes in v2: None scripts/Makefile.lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[U-Boot] [PATCH v2 18/18] x86: doc: Add porting hints for ACPI with Windows

2016-05-11 Thread Bin Meng
Windows might cache system information and only detect ACPI changes if you modify the ACPI table versions. Signed-off-by: Bin Meng --- Changes in v2: None doc/README.x86 | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/README.x86 b/doc/README.x86 index 75762de..4d50feb 100644 ---

[U-Boot] [PATCH v2 09/18] x86: acpi: Switch to ACPI mode by ourselves instead of requested by OSPM

2016-05-11 Thread Bin Meng
Per ACPI spec, during ACPI OS initialization, OSPM can determine that the ACPI hardware registers are owned by SMI (by way of the SCI_EN bit in the PM1_CNT register), in which case the ACPI OS issues the ACPI_ENABLE command to the SMI_CMD port. The SCI_EN bit effectively tracks the ownership of the

[U-Boot] [PATCH v2 08/18] x86: Use high_table_malloc() for tables passing to SeaBIOS

2016-05-11 Thread Bin Meng
Now that we already reserved high memory for configuration tables, call high_table_malloc() to allocate tables from the region. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/lib/tables.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/lib/tables.c b/a

[U-Boot] [PATCH v2 13/18] x86: baytrail: Enable SeaBIOS on all boards

2016-05-11 Thread Bin Meng
SeaBIOS can be loaded by U-Boot to aid the installation of Ubuntu and Windows to a SATA drive and boot from there. Enable it on all BayTrail boards. Signed-off-by: Bin Meng --- Changes in v2: - New patch to enable SeaBIOS on all boards configs/bayleybay_defconfig | 1 + configs/

[U-Boot] [PATCH v2 05/18] x86: Prepare configuration tables in dedicated high memory region

2016-05-11 Thread Bin Meng
Currently when CONFIG_SEABIOS is on, U-Boot allocates configuration tables via normal malloc(). To simplify, use a dedicated memory region which is reserved on the stack before relocation for this purpose. Add functions for reserve and malloc. Signed-off-by: Bin Meng --- Changes in v2: None ar

[U-Boot] [PATCH v2 06/18] x86: Unify reserve_arch() for all x86 boards

2016-05-11 Thread Bin Meng
Instead of asking each platform to provide reserve_arch(), supply it in arch/x86/cpu/cpu.c in a unified way. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/baytrail/valleyview.c | 8 arch/x86/cpu/broadwell/sdram.c | 5 - arch/x86/cpu/cpu.c | 12

[U-Boot] [PATCH v2 17/18] x86: baytrail: Add GPIO ASL description

2016-05-11 Thread Bin Meng
Since BayTrail, Intel starts to use new GPIO IPs in their chipset. This adds the GPIO ASL, so that OS can load corresponding drivers for it. On Linux, this is BayTrail pinctrl driver. Signed-off-by: Bin Meng --- Changes in v2: - New patch to add GPIO ASL description arch/x86/include/asm/arch-

[U-Boot] [PATCH v2 14/18] x86: doc: Mention Ubuntu/Windows installation and boot support

2016-05-11 Thread Bin Meng
As of now, U-Boot can support installing and booting Ubuntu/Windows with the help of SeaBIOS. Update the documentation. Signed-off-by: Bin Meng --- Changes in v2: None doc/README.x86 | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/README.x86 b/doc/README.x8

[U-Boot] [PATCH v2 12/18] x86: doc: Update information about IGD with SeaBIOS

2016-05-11 Thread Bin Meng
Document how to make SeaBIOS load and run the VGA ROM of Intel IGD device when loaded by U-Boot. Signed-off-by: Bin Meng --- Changes in v2: None doc/README.x86 | 24 1 file changed, 24 insertions(+) diff --git a/doc/README.x86 b/doc/README.x86 index 25cb218..250d5a3 1

[U-Boot] [PATCH v2 16/18] x86: baytrail: Add internal UART ASL description

2016-05-11 Thread Bin Meng
BayTrail integrates an internal ns15550 compatible UART (PNP0501). Its IRQ is hardwired to IRQ3 in old revision chipset, but in newer revision one IRQ4 is being used for ISA compatibility. Handle this correctly in the ASL file. Linux does not need this ASL, but Windows need this to correctly disco

[U-Boot] [PATCH v2 07/18] x86: Reserve configuration tables in high memory

2016-05-11 Thread Bin Meng
When SeaBIOS is on, reserve configuration tables in reserve_arch(). Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/cpu.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/x86/cpu/cpu.c b/arch/x86/cpu/cpu.c index 2e27d78..e522ff3 100644 --- a/arc

[U-Boot] [PATCH v2 04/18] x86: Compile coreboot_table.c only for SeaBIOS

2016-05-11 Thread Bin Meng
coreboot_table.c only needs to be built when SeaBIOS is used. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/lib/Makefile b/arch/x86/lib/Makefile index dc90df2..73e3e52 100644 --- a/arch/x86/lib

[U-Boot] [PATCH v2 11/18] x86: acpi: Remove header length check when writing tables

2016-05-11 Thread Bin Meng
Before moving 'current' pointer during ACPI table writing, we always check the table length to see if it is larger than the table header. Since our purpose is to generate valid tables, the check logic is always true, which can be avoided. Signed-off-by: Bin Meng --- Changes in v2: - New patch t

[U-Boot] [PATCH v2 10/18] x86: acpi: Remove the unnecessary checksum calculation of DSDT

2016-05-11 Thread Bin Meng
The generated AmlCode[] from IASL already has the calculated DSDT table checksum in place. No need for us to calculate it again. Signed-off-by: Bin Meng --- Changes in v2: - New patch to remove the unnecessary checksum calculation of DSDT arch/x86/lib/acpi_table.c | 6 -- 1 file changed,

[U-Boot] [PATCH v2 01/18] x86: minnowmax: Adjust U-Boot environment address in SPI flash

2016-05-11 Thread Bin Meng
Currently U-Boot environment address is at offset 0x7fe00 of a 8MB SPI flash. When creating a partial u-boot.rom image without flash descriptor and ME firmware, U-Boot actually occupies the last 1MB of the flash, and reprograming U-Boot causes previous environment settings get lost which is not con

[U-Boot] [PATCH v2 00/18] x86: acpi: Support installation of Ubuntu/Windows and boot Windows

2016-05-11 Thread Bin Meng
SeaBIOS can be loaded by U-Boot to aid the installation of Ubuntu and Windows to a SATA drive and boot from there. But till now this is broken. The installation either hangs forever or just crashes. This series fixed a bunch of issues that affect the installation of Ubuntu and Windows, and booting

[U-Boot] [PATCH v2 02/18] x86: Call board_final_cleanup() in last_stage_init()

2016-05-11 Thread Bin Meng
At present board_final_cleanup() is called before booting a Linux kernel. This actually needs to be done before booting anything, like SeaBIOS, VxWorks or Windows. Move the call to last_stage_init() instead. Signed-off-by: Bin Meng --- Changes in v2: None arch/x86/cpu/coreboot/coreboot.c | 20

[U-Boot] [PATCH v2 03/18] x86: Fix up PIRQ routing table checksum earlier

2016-05-11 Thread Bin Meng
PIRQ routing table checksum is fixed up in copy_pirq_routing_table(), which is fine if we only write the configuration table once. But with the SeaBIOS case, when we write the table for the second time, the checksum will be fixed up to zero per the checksum algorithm, which is caused by the checksu

Re: [U-Boot] GPIO driver for Freescale QorIQ T2080

2016-05-11 Thread Joakim Tjernlund
On Wed, 2016-05-11 at 11:54 +0200, Mario Six wrote: > On Tue, May 10, 2016 at 1:22 AM, Hamish Martin < > hamish.mar...@alliedtelesis.co.nz> wrote: > > > > > Hi, > > > > I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. > > This has 4 blocks of GPIOs similar to the single bl

Re: [U-Boot] [RFC PATCH] arm: socfpga: Update iomux and pll for c5 socdk RevE

2016-05-11 Thread Chin Liang See
On Tue, 2016-05-10 at 23:30 +0200, Marek Vasut wrote: > On 05/10/2016 10:13 PM, dingu...@opensource.altera.com wrote: > > From: Dinh Nguyen > > > > Update the pinmux and pll configuration for the Cyclone5 RevE or > > later devkit. > > > > Signed-off-by: Dinh Nguyen > > --- > > Hi Marek, > > Hi

Re: [U-Boot] [PATCH 06/10] usb: uniphier: remove UniPhier xHCI driver

2016-05-11 Thread Marek Vasut
On 05/11/2016 12:28 PM, Masahiro Yamada wrote: > UniPhier platform switched to DWC3 core with UniPhier specific > glue layer to support USB3. This pre-DM driver is no longer > needed. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH 04/10] ARM: uniphier: switch over to USB DM

2016-05-11 Thread Marek Vasut
On 05/11/2016 12:28 PM, Masahiro Yamada wrote: Please, do write commit messages. > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 1 + > include/configs/uniphier.h | 4 > 2 files changed, 5 insertions(+) > > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig > index

Re: [U-Boot] [PATCH 02/10] usb: dwc3: make DWC3 core support code into a driver

2016-05-11 Thread Marek Vasut
On 05/11/2016 12:28 PM, Masahiro Yamada wrote: > Synopsys DWC3 IP generally works with an SoC-specific glue layer. > DT binding for that is like this: > > usb3_glue { > compatible = "foo,dwc3"; > ... > > usb3: usb3 { > compatible = "snps,dwc3"; >

Re: [U-Boot] [PATCH 03/10] usb: dwc3: add UniPhier specific glue layer

2016-05-11 Thread Marek Vasut
On 05/11/2016 12:28 PM, Masahiro Yamada wrote: > Add UniPhier platform specific glue layer to support USB3 Host mode > on Synopsys DWC3 IP. > > Signed-off-by: Masahiro Yamada Reviewed-by: Marek Vasut > --- > > drivers/usb/host/Kconfig | 7 +++ > drivers/usb/host/Makefile|

Re: [U-Boot] [PATCH] usb: xhci: add struct devrequest declaration

2016-05-11 Thread Marek Vasut
On 05/11/2016 01:03 PM, Masahiro Yamada wrote: > Hi Marek, Hi! > 2016-05-07 1:40 GMT+09:00 Marek Vasut : >> On 05/06/2016 01:31 PM, Masahiro Yamada wrote: >>> Hi Marek, >> >> Hi! >> >>> 2016-05-06 19:50 GMT+09:00 Marek Vasut : On 05/06/2016 12:36 PM, Masahiro Yamada wrote: > This should

Re: [U-Boot] [PATCH 00/10] usb: dwc3: rework DWC3 and convert UniPhier xHCI driver to DM

2016-05-11 Thread Masahiro Yamada
2016-05-11 19:28 GMT+09:00 Masahiro Yamada : > > > > Masahiro Yamada (10): > usb: xhci: add struct devrequest declaration to xhci.h > usb: dwc3: make DWC3 core support code into a driver > usb: dwc3: add UniPhier specific glue layer > ARM: uniphier: switch over to USB DM > ARM: uniphier:

Re: [U-Boot] [PATCH 01/10] usb: xhci: add struct devrequest declaration to xhci.h

2016-05-11 Thread Marek Vasut
On 05/11/2016 12:28 PM, Masahiro Yamada wrote: > If xhci.h is included without include/usb.h, the compiler > complains like follows: > warning: 'struct devrequest' declared inside parameter list > > Teach the compiler that devrequest is a structure. > I found no reason include include/usb.h from x

Re: [U-Boot] [PATCH] usb: xhci: add struct devrequest declaration

2016-05-11 Thread Masahiro Yamada
Hi Marek, 2016-05-07 1:40 GMT+09:00 Marek Vasut : > On 05/06/2016 01:31 PM, Masahiro Yamada wrote: >> Hi Marek, > > Hi! > >> 2016-05-06 19:50 GMT+09:00 Marek Vasut : >>> On 05/06/2016 12:36 PM, Masahiro Yamada wrote: This should be declared for xhci_ctrl_tx() to avoid build error. >>> >>> Ca

[U-Boot] [PATCH 06/10] usb: uniphier: remove UniPhier xHCI driver

2016-05-11 Thread Masahiro Yamada
UniPhier platform switched to DWC3 core with UniPhier specific glue layer to support USB3. This pre-DM driver is no longer needed. Signed-off-by: Masahiro Yamada --- drivers/usb/host/Kconfig | 7 drivers/usb/host/Makefile| 1 - drivers/usb/host/xhci-uniphier.c | 85 -

[U-Boot] [PATCH 09/10] ARM: dts: uniphier: add/update xHCI nodes

2016-05-11 Thread Masahiro Yamada
Adjust xHCI nodes to use the DWC3 core and the SoC-specific glue layer for former SoCs. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld20.dtsi| 17 + arch/arm/dts/uniphier-ph1-pro4-ref.dts | 4 arch/arm/dts/uniphier-ph1-pro4.dtsi| 32 +++

[U-Boot] [PATCH 03/10] usb: dwc3: add UniPhier specific glue layer

2016-05-11 Thread Masahiro Yamada
Add UniPhier platform specific glue layer to support USB3 Host mode on Synopsys DWC3 IP. Signed-off-by: Masahiro Yamada --- drivers/usb/host/Kconfig | 7 +++ drivers/usb/host/Makefile| 1 + drivers/usb/host/dwc3-uniphier.c | 110 +++ 3 fil

[U-Boot] [PATCH 02/10] usb: dwc3: make DWC3 core support code into a driver

2016-05-11 Thread Masahiro Yamada
Synopsys DWC3 IP generally works with an SoC-specific glue layer. DT binding for that is like this: usb3_glue { compatible = "foo,dwc3"; ... usb3: usb3 { compatible = "snps,dwc3"; ... }; }; The glue layer initializes

[U-Boot] [PATCH 00/10] usb: dwc3: rework DWC3 and convert UniPhier xHCI driver to DM

2016-05-11 Thread Masahiro Yamada
Masahiro Yamada (10): usb: xhci: add struct devrequest declaration to xhci.h usb: dwc3: make DWC3 core support code into a driver usb: dwc3: add UniPhier specific glue layer ARM: uniphier: switch over to USB DM ARM: uniphier: enable DWC3 xHCI driver usb: uniphier: remove UniPhier xHC

[U-Boot] [PATCH 10/10] ARM: uniphier: enable Generic EHCI for PH1-Pro4

2016-05-11 Thread Masahiro Yamada
On Driver Model USB, EHCI and xHCI can be enabled at the same time. PH1-Pro4 SoC has two EHCI cores and two xHCI cores, so enable the Generic EHCI driver. Signed-off-by: Masahiro Yamada --- configs/uniphier_pro4_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/uniphier_pr

[U-Boot] [PATCH 05/10] ARM: uniphier: enable DWC3 xHCI driver

2016-05-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- configs/uniphier_ld20_defconfig | 1 + configs/uniphier_pro4_defconfig | 1 + configs/uniphier_pxs2_ld6b_defconfig | 1 + 3 files changed, 3 insertions(+) diff --git a/configs/uniphier_ld20_defconfig b/configs/uniphier_ld20_defconfig index cbc65dd..f

[U-Boot] [PATCH 08/10] ARM: uniphier: adjust ifdefs for new UniPhier DWC3 CONFIG

2016-05-11 Thread Masahiro Yamada
Now USB 3.0 feature is enabled/disabled by CONFIG_USB_DWC3_UNIPHIER. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/clk/clk-pro4.c | 6 +++--- arch/arm/mach-uniphier/clk/clk-pro5.c | 6 +++--- arch/arm/mach-uniphier/clk/clk-pxs2.c | 6 +++--- 3 files changed, 9 insertions(+), 9 delet

[U-Boot] [PATCH 01/10] usb: xhci: add struct devrequest declaration to xhci.h

2016-05-11 Thread Masahiro Yamada
If xhci.h is included without include/usb.h, the compiler complains like follows: warning: 'struct devrequest' declared inside parameter list Teach the compiler that devrequest is a structure. I found no reason include include/usb.h from xhci.h. Signed-off-by: Masahiro Yamada --- drivers/usb/h

[U-Boot] [PATCH 07/10] ARM: uniphier: delete unnecessary xHCI pin-mux settings

2016-05-11 Thread Masahiro Yamada
Now UniPhier platform switched over to the DM-based xHCI driver. The pin-muxing for that is automatically cared by the pinctrl driver. These ad-hoc pin-muxing code is no longer needed. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/pinctrl/pinctrl-ld20.c | 12 arch/arm/

[U-Boot] [PATCH 04/10] ARM: uniphier: switch over to USB DM

2016-05-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/Kconfig | 1 + include/configs/uniphier.h | 4 2 files changed, 5 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 6b65d8e..59410cb 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -723,6 +723,7 @@ config ARCH

Re: [U-Boot] [PATCH 00/12] Introduce layout aware eeprom commands

2016-05-11 Thread Nikita Kiryanov
Hi Tom, Marek, For the time being I do not wish to make additional refactoring to the code as I think it is better to wait until an alternative to the bus number is found. My changes follow the current implementation of the eeprom command, so if there are no additional comments, can this be appli

Re: [U-Boot] GPIO driver for Freescale QorIQ T2080

2016-05-11 Thread Mario Six
On Tue, May 10, 2016 at 1:22 AM, Hamish Martin < hamish.mar...@alliedtelesis.co.nz> wrote: > Hi, > > I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. > This has 4 blocks of GPIOs similar to the single block defined in > arch/powerpc/include/asm/mpc85xx_gpio.h. > > If someone

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-11 Thread Bin Meng
On Wed, May 11, 2016 at 5:01 PM, Miao Yan wrote: > 2016-05-11 10:11 GMT+08:00 Bin Meng : >> Hi Miao, >> >> On Tue, May 10, 2016 at 10:10 AM, Miao Yan wrote: > > +config CMD_QEMU_FW_CFG > + bool "qfw" > + depends on X86 > + help > + This provides a

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-11 Thread Miao Yan
2016-05-11 10:11 GMT+08:00 Bin Meng : > Hi Miao, > > On Tue, May 10, 2016 at 10:10 AM, Miao Yan wrote: +config CMD_QEMU_FW_CFG + bool "qfw" + depends on X86 + help + This provides access to the QEMU firmware interface. The main +

[U-Boot] GPIO driver for Freescale QorIQ T2080

2016-05-11 Thread Hamish Martin
Hi, I'm looking for uboot driver support for the Freescale QorIQ T2080 CPU. This has 4 blocks of GPIOs similar to the single block defined in arch/powerpc/include/asm/mpc85xx_gpio.h. If someone is working on a driver for that CPU or similar, let me know. Ideally this would fit the new driver m

[U-Boot] U-BOOT DDR INITIALIZATION

2016-05-11 Thread yyurtcan
Hi, We are using P4080DS demo board. It has two 2GB Ram. We want to optimize/reduce both bootloader time. For bootloader we use u-boot. While we are working on u-boot, DDR is the one that takes more time. When we have checked u-boot DDR initialization code timeout is stated 400 milliseconds for e

Re: [U-Boot] U-boot UBI environment

2016-05-11 Thread Joseph Hershberger
Hi Kevin, Am 09.05.2016 um 23:16 schrieb Kevin Smith: > Hello, > > I would appreciate some UBI help/advice if you are able to provide it. > I am trying to use UBI to store my u-boot environment, but when I try > to 'saveenv', it is corrupting another volume of my UBI. I can image > the rootfs v

Re: [U-Boot] [PATCH v2] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-11 Thread Miao Yan
Hi Tom, > > Well, this patch was a first pass at trying to separate out the logic. > My end goal is to be able to use -kernel / -initrd / -dtb to pass in > files "directly" to say vexpress_ca9x4 rather than have to fiddle with > fake networking. So we need to keep that in mind when splitting the

Re: [U-Boot] [PATCH 00/14] x86: acpi: Support installation of Ubuntu/Windows and boot Windows

2016-05-11 Thread Stefan Roese
Hi Bin, On 11.05.2016 10:15, Bin Meng wrote: On Wed, May 11, 2016 at 3:23 PM, Stefan Roese wrote: Hi Bin, On 09.05.2016 11:34, Bin Meng wrote: This series fixed a bunch of issues that affect the installation of Ubuntu and Windows, and booting Windows. Testing was performed on MinnowMax by:

Re: [U-Boot] [PATCH 00/14] x86: acpi: Support installation of Ubuntu/Windows and boot Windows

2016-05-11 Thread Bin Meng
Hi Stefan, On Wed, May 11, 2016 at 3:23 PM, Stefan Roese wrote: > Hi Bin, > > On 09.05.2016 11:34, Bin Meng wrote: >> >> This series fixed a bunch of issues that affect the installation >> of Ubuntu and Windows, and booting Windows. >> >> Testing was performed on MinnowMax by: >> - Install Ubuntu

[U-Boot] [PATCH 4/9][v2] armv8: fsl-layerscape: fix compile warning "rcw_tmp"

2016-05-11 Thread Prabhakar Kushwaha
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c: In function ‘get_sys_info’: arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c:29:6: warning: unused variable ‘rcw_tmp’ [-Wunused-variable] u32 rcw_tmp; Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is arch/arm/cpu/ar

[U-Boot] [PATCH 8/9][v2] armv8: ls1012a: Add support of ls1012aqds board

2016-05-11 Thread Prabhakar Kushwaha
QorIQ LS1012A Development System (LS1012AQDS) is a high-performance development platform, with a complete debugging environment. The LS1012AQDS board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports. S

[U-Boot] [PATCH 6/9][v2] board: freescale: common: Conditionally compile IFC QXIS func

2016-05-11 Thread Prabhakar Kushwaha
From: Abhimanyu Saini Check if qixis supports memory-mapped read/write before compiling IFC based qixis read/write functions. Signed-off-by: Calvin Johnson Signed-off-by: Abhimanyu Saini Signed-off-by: Prabhakar Kushwaha --- Chages for v2: New patch in this patch-set board/freescale/common/

[U-Boot] [PATCH 1/9][v2] armv8: fsl-layerscape: Put SMMU config code in SMMU_BASE

2016-05-11 Thread Prabhakar Kushwaha
It is not mandatory for Layerscape SoCs to have SMMU. SoCs like LS1012A are layerscape SoC without SMMU IP. So put SMMU configuration code under SMMU_BASE. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 ++ 1 file changed

[U-Boot] [PATCH 9/9][v2] armv8: ls1012a: Add support of ls1012ardb board

2016-05-11 Thread Prabhakar Kushwaha
QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes port

[U-Boot] [PATCH 7/9][v2] board: freescale: common: Add flag for LBMAP brdcfg reg offset

2016-05-11 Thread Prabhakar Kushwaha
From: Abhimanyu Saini Add QIXIS_LBMAP_BRDCFG_REG to the save offset of LBMAP configuration register instead of hardcoding it in set_lbmap() function. Signed-off-by: Calvin Johnson Signed-off-by: Abhimanyu Saini Signed-off-by: Prabhakar Kushwaha --- Chages for v2: New patch in this patch-set

[U-Boot] [PATCH 5/9][v2] armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC

2016-05-11 Thread Prabhakar Kushwaha
The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. This patch add support of LS1012A SoC along with - Update platform & DD

[U-Boot] [PATCH 3/9][v2] driver: mtd: spi: Adding support for QSPI flash

2016-05-11 Thread Prabhakar Kushwaha
Serial number, vendor id and page size are added for QSPI flash common on both LS1012AQDS and LS1012ARDB i.e. S25FS512SDSMFI011. Signed-off-by: Pratiyush Mohan Srivastava Signed-off-by: Calvin Johnson Signed-off-by: Mingkai Hu Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it

[U-Boot] [PATCH 0/9][v2] armv8: fsl-layerscape: Add support of LS1012A SoC and platform

2016-05-11 Thread Prabhakar Kushwaha
The QorIQ LS1012A processor is a new Freescale' SoC optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. LS1012AQDS, LS1012ARDB are a high-performance d

[U-Boot] [PATCH 2/9][v2] armv8: fsl-layerscape: Avoid LS1043A specifc defines

2016-05-11 Thread Prabhakar Kushwaha
Other than LS1043A, LS1012A also Chassis Gen2 Architecture compliant. So Avoid LS1043A specific defines in arch/arm Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +- arch/arm/include/asm/arch-fsl-layerscape/fsl_

Re: [U-Boot] [PATCH 00/14] x86: acpi: Support installation of Ubuntu/Windows and boot Windows

2016-05-11 Thread Stefan Roese
Hi Bin, On 09.05.2016 11:34, Bin Meng wrote: This series fixed a bunch of issues that affect the installation of Ubuntu and Windows, and booting Windows. Testing was performed on MinnowMax by: - Install Ubuntu 14.04 and boot - Install Windows 8.1 and boot - Install Windows 10 and boot This ser

Re: [U-Boot] [PATCH 01/14] x86: minnowmax: Adjust U-Boot environment address in SPI flash

2016-05-11 Thread Stefan Roese
On 09.05.2016 11:34, Bin Meng wrote: Currently U-Boot environment address is at offset 0x7fe00 of a 8MB SPI flash. When creating a partial u-boot.rom image without flash descriptor and ME firmware, U-Boot actually occupies the last 1MB of the flash, and reprograming U-Boot causes previous environ