[U-Boot] [PATCH 09/10] x86: ivybridge: Add macros for LPC decode ranges

2015-12-11 Thread Bin Meng
Add several macros for LPC decode registers on PCH. Signed-off-by: Bin Meng --- arch/x86/include/asm/arch-ivybridge/pch.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/x86/include/asm/arch-ivybridge/pch.h b/arch/x86/include/asm/arch-ivybridge/pch.h

[U-Boot] [PATCH 1/3] serial: uartlite: Move driver to DM

2015-12-11 Thread Michal Simek
Enable SPL DM too. Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 1 + configs/microblaze-generic_defconfig | 2 + doc/driver-model/serial-howto.txt| 1 - drivers/serial/serial_xuartlite.c| 176 ++-

[U-Boot] [PATCH 3/3] serial: uartlite: Add uartlite to Kconfig

2015-12-11 Thread Michal Simek
- Move config option out of board file. - Remove uartlite address from config file Signed-off-by: Michal Simek --- board/xilinx/microblaze-generic/xparameters.h | 4 configs/microblaze-generic_defconfig | 1 + drivers/serial/Kconfig

[U-Boot] [PATCH 2/3] serial: uartlite: Add support for debug console

2015-12-11 Thread Michal Simek
Signed-off-by: Michal Simek --- drivers/serial/Kconfig| 7 +++ drivers/serial/serial_xuartlite.c | 23 +++ 2 files changed, 30 insertions(+) diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index

[U-Boot] [PATCH 0/3] Moving Uartlite to DM

2015-12-11 Thread Michal Simek
Hi, This patch series depends on microblaze cleanup series. All these patches will be available in git://git.denx.de/u-boot-microblaze.git also with patches which I am going to send now. Thanks, Michal Michal Simek (3): serial: uartlite: Move driver to DM serial: uartlite: Add support for

Re: [U-Boot] [PATCH] arm: socfpga: Enable ubi and ubifs support

2015-12-11 Thread Chin Liang See
Hi Marek, On Fri, 2015-12-11 at 17:19 +0800, Chin Liang See wrote: > When QSPI and NAND is enabled, the ubi and ubifs support > will be enabled too. > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen >

[U-Boot] [PATCH 06/12] net: emaclite: Use indirect register access for TX reset

2015-12-11 Thread Michal Simek
Move to use indirect register access when timeout expires for resetting TX buffers. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c

[U-Boot] [PATCH 08/12] net: emaclite: Remove XEL_TSR_XMIT_ACTIVE_MASK flag

2015-12-11 Thread Michal Simek
This flag is not documented anywhere in the latest documentation that's why this patch removes it. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git

[U-Boot] [PATCH 10/12] net: emaclite: Use indirect access in emaclite_recv

2015-12-11 Thread Michal Simek
When IP is configured with pong buffers, IP is receiving packets to ping and then to pong buffer and than ping again. Origin logic in the driver remains there that when ping buffer is free, pong buffer is checked too and return if both are free. Signed-off-by: Michal Simek

[U-Boot] [PATCH 05/12] net: emaclite: Use indirect register access for tx_ping/pong

2015-12-11 Thread Michal Simek
Do initialization via indirect register access. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index

[U-Boot] [PATCH 09/12] net: emaclite: Use indirect reg access in send

2015-12-11 Thread Michal Simek
Origin logic in the driver was exchanging buffers which are used for sending packet and tx_ping and tx_pong buffers were exchanged all the time to ensure that IP has enough time to send the packet out. Based on this "feature" send function was using nextbuffertouse variable to save which buffer

Re: [U-Boot] [PATCH] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2015-12-11 Thread Tom Rini
On Fri, Dec 11, 2015 at 10:15:03AM +, Dongsheng Wang wrote: > Hi Tom, > > Thanks for your review. > > > On Thu, Dec 10, 2015 at 10:49:01AM +0800, Dongsheng Wang wrote: > > > > > From: Wang Dongsheng > > > > > > Fix PSCI hang up without CONFIG_ARMV7_SECURE_BASE

Re: [U-Boot] Please pull from u-boot-i2c

2015-12-11 Thread Tom Rini
On Fri, Dec 11, 2015 at 06:33:37AM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit 789fa275b3750e60c60cb3d18eabc9467892c257: > > x86: Remove HAVE_ACPI_RESUME (2015-12-09 17:44:56 +0800) > > are available in the git

[U-Boot] [PATCH 3/5] microblaze: Enable PHYLIB via Kconfig

2015-12-11 Thread Michal Simek
Cleanup board configuration. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + include/configs/microblaze-generic.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 5/5] microblaze: Wire-up debug_uart in asm

2015-12-11 Thread Michal Simek
Signed-off-by: Michal Simek --- arch/microblaze/cpu/start.S | 4 1 file changed, 4 insertions(+) diff --git a/arch/microblaze/cpu/start.S b/arch/microblaze/cpu/start.S index 14f46a8f0464..157bf1e91663 100644 --- a/arch/microblaze/cpu/start.S +++

[U-Boot] [PATCH 4/6] microblaze: Remove CONFIG_FIT from board file

2015-12-11 Thread Michal Simek
And enable it via defconfig by default. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 2 ++ include/configs/microblaze-generic.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 03/12] net: emaclite: Convert MDIO to use register offset

2015-12-11 Thread Michal Simek
Use u-boot coding style how to setup and access MDIO bus. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 92 ++- 1 file changed, 56 insertions(+), 36 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c

[U-Boot] [PATCH 02/12] net: emaclite: Add MDIO support to driver

2015-12-11 Thread Michal Simek
Add MDIO support before move to DM. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 238 ++ 1 file changed, 238 insertions(+) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index

[U-Boot] [PATCH 01/12] net: emaclite: Remove ancient OF probe function

2015-12-11 Thread Michal Simek
Prepare for DM move. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 30 -- include/netdev.h | 1 - 2 files changed, 31 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c

[U-Boot] [PATCH 00/12] Moving Emaclite to DM + MDIO support

2015-12-11 Thread Michal Simek
Hi, The first part of this series is about adding MDIO support to driver which was out of mainline and it was much easier to merge it before move to DM. Then driver didn't use indirect register access. In the middle of moving this driver I have fixed logic in some functions which doesn't affect

[U-Boot] [PATCH 04/12] net: emaclite: Use indirect register access for tx_ping/pong

2015-12-11 Thread Michal Simek
Do initialization via indirect register access. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c

[U-Boot] [PATCH 07/12] net: emaclite: Fix logic around available TX buffers

2015-12-11 Thread Michal Simek
Simplify logic how to find out if there is free TX buffer. Both buffers are checked all the time that's why logic around order can be removed. Also add check when only one buffer is available. Signed-off-by: Michal Simek --- drivers/net/xilinx_emaclite.c | 24

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-11 Thread Robert P. J. Day
On Thu, 10 Dec 2015, Fabio Estevam wrote: > On Thu, Dec 10, 2015 at 6:19 PM, Robert P. J. Day > wrote: > > > well, the contract i'm working on will be using it for porting linux > > to a *lot* of older platforms so, technically, i'm that user. :-) > > What I meant was:

Re: [U-Boot] [PATCH] ARM: Disable "DISCARD" for secure section if CONFIG_ARMV7_SECURE_BASE isn't defined

2015-12-11 Thread Dongsheng Wang
Hi Tom, Thanks for your review. > On Thu, Dec 10, 2015 at 10:49:01AM +0800, Dongsheng Wang wrote: > > > From: Wang Dongsheng > > > > Fix PSCI hang up without CONFIG_ARMV7_SECURE_BASE define. > > "DISCARD" will remove ._secure.text relocate, but PSCI framework has > >

[U-Boot] [PATCH 5/5] net: gem: Add driver dependencies to PHYLIB and MII

2015-12-11 Thread Michal Simek
Clear driver dependecies via Kconfig. Remove PHYLIB dependency from the driver. Signed-off-by: Michal Simek --- configs/zynq_microzed_defconfig| 1 - configs/zynq_picozed_defconfig | 1 - configs/zynq_zc702_defconfig | 1 - configs/zynq_zc706_defconfig

[U-Boot] [PATCH 08/10] net: axi_emac: Enable access to MDIO in probe

2015-12-11 Thread Michal Simek
Detect phy when driver probes. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index

[U-Boot] [PATCH 10/10] net: Add axi emac to Kconfig

2015-12-11 Thread Michal Simek
Also add dependency on PHYLIB and MII which is required. Clean PHYLIB dependency from the driver too. Signed-off-by: Michal Simek --- drivers/net/Kconfig | 8 drivers/net/xilinx_axi_emac.c | 4 2 files changed, 8 insertions(+), 4 deletions(-)

[U-Boot] [PATCH 09/10] net: axi_emac: Split recv from free_pkt

2015-12-11 Thread Michal Simek
Call net_process_received_packet() by core. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index

[U-Boot] [PATCH] spi: xilinx: Add new compatible strings

2015-12-11 Thread Michal Simek
Add xlnx,xps-spi-2.00.a/b which is compatible string listed in the Linux kernel. Remove origin one which has no real background. Signed-off-by: Michal Simek --- drivers/spi/xilinx_spi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/5] microblaze: Enable uart16550 DM by default

2015-12-11 Thread Michal Simek
Microblaze is uses uartlite or uart16550 as console drivers. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + include/configs/microblaze-generic.h | 13 - 2 files changed, 1 insertion(+), 13 deletions(-) diff --git

[U-Boot] [PATCH 4/5] microblaze: Remove unused I2C macros

2015-12-11 Thread Michal Simek
There is no i2c driver in the current u-boot. Signed-off-by: Michal Simek --- board/xilinx/microblaze-generic/xparameters.h | 5 - 1 file changed, 5 deletions(-) diff --git a/board/xilinx/microblaze-generic/xparameters.h

[U-Boot] [PATCH 2/5] microblaze: Do not print eth device when DM_ETH is enabled

2015-12-11 Thread Michal Simek
Doing the same fix as is done for ARM by: "Avoid calling print_eths() with driver model" (sha1: ff97380015b6b5d7d6267417a1cd6fc0e67b81bc) Signed-off-by: Michal Simek --- common/cmd_bdinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 0/5] Microblaze uart changes + misc

2015-12-11 Thread Michal Simek
Hi, This patch series depends on microblaze cleanup series. All these patches will be available in git://git.denx.de/u-boot-microblaze.git also with patches which I am going to send now. Moving all serial drivers to DM. This series also have some MB cleanups. Thanks, Michal Michal Simek (5):

[U-Boot] [PATCH 07/10] x86: fsp: Make sure HOB list is not overwritten by U-Boot

2015-12-11 Thread Bin Meng
Intel IvyBridge FSP seems to be buggy that it does not report memory used by FSP itself as reserved in the resource descriptor HOB. The FSP specification does not describe how resource descriptor HOBs are generated by the FSP to describe what memory regions. It looks newer FSPs like Queensbay and

[U-Boot] [PATCH 08/10] x86: fsp: Always use hex numbers in the hob command output

2015-12-11 Thread Bin Meng
In the 'fsp hob' command output, decimal numbers and hexadecimal numbers are used mixedly. Now change to always use hex numbers to keep consistency. Signed-off-by: Bin Meng --- arch/x86/lib/fsp/cmd_fsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 10/10] x86: Add Intel Cougar Canyon 2 board

2015-12-11 Thread Bin Meng
This adds basic support to Intel Cougar Canyon 2 board, a board based on Chief River platform with an Ivy Bridge processor and a Panther Point chipset. Signed-off-by: Bin Meng --- arch/x86/dts/Makefile | 1 + arch/x86/dts/cougarcanyon2.dts|

[U-Boot] [PATCH 05/10] superio: Add SMSC SIO1007 driver

2015-12-11 Thread Bin Meng
The SMSC SIO1007 superio chipset integrates two ns16550 compatible serial ports for legacy applications, 16 GPIO pins and some other functionalities like power management. This adds a simple driver to enable serial port and handle GPIO. Signed-off-by: Bin Meng ---

[U-Boot] [PATCH 2/5] net: gem: Fix return value from recv

2015-12-11 Thread Michal Simek
recv function should return 0 instead of frame_len not to proceed the same packet again in core. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c

[U-Boot] [PATCH 1/5] net: gem: Setup default phy address to -1

2015-12-11 Thread Michal Simek
Undefined phy address is -1 not 0. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 0a41281e901d..b0755f5e3b48 100644 ---

[U-Boot] [PATCH 3/5] net: gem: Separate recv and free_pkt functions

2015-12-11 Thread Michal Simek
Use core to call net_process_received_packet() instead of call inside the driver. Signed-off-by: Michal Simek --- drivers/net/zynq_gem.c | 52 +++--- 1 file changed, 32 insertions(+), 20 deletions(-) diff --git

[U-Boot] [PATCH 4/5] net: gem: Fix typo in Kconfig entry

2015-12-11 Thread Michal Simek
Signed-off-by: Michal Simek --- drivers/net/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 6905cc02e392..e77797ab286f 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -105,6 +105,6

[U-Boot] [PATCH 3/6] microblaze: Remove systemace from board file

2015-12-11 Thread Michal Simek
Systemace is ancient IP which is not tested. Remove it from default configuration. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 15 --- 1 file changed, 15 deletions(-) diff --git a/include/configs/microblaze-generic.h

[U-Boot] [PATCH 2/6] microblaze: Move eth configuration to Kconfig

2015-12-11 Thread Michal Simek
Cleanup board specific file. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 3 +++ include/configs/microblaze-generic.h | 14 -- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 1/6] microblaze: Enable axi emac via Kconfig

2015-12-11 Thread Michal Simek
Enable driver by default for all platforms. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + include/configs/microblaze-generic.h | 6 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 0/6] Various microblaze cleanups

2015-12-11 Thread Michal Simek
Hi, This patch series depends on all previous series. All these patches will be available in git://git.denx.de/u-boot-microblaze.git also with patches which I am going to send now. Thanks, Michal Michal Simek (6): microblaze: Enable axi emac via Kconfig microblaze: Move eth configuration

[U-Boot] [PATCH 5/6] microblaze: Move CONFIG_NETCONSOLE to Kconfig

2015-12-11 Thread Michal Simek
Cleanup board file. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 1 + include/configs/microblaze-generic.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 6/6] microblaze: Remove empty file - cpu.c

2015-12-11 Thread Michal Simek
No need to have empty unused file in architecture code. Signed-off-by: Michal Simek --- arch/microblaze/cpu/Makefile | 2 +- arch/microblaze/cpu/cpu.c| 9 - 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 arch/microblaze/cpu/cpu.c diff

[U-Boot] [PATCH 03/10] tools: microcode-tool: Support parsing header file with a license block

2015-12-11 Thread Bin Meng
The microcode header files in the Intel Chief River FSP package have a license comment block. Update the microcode-tool to support parsing it and extract the license text to the .dtsi file. Signed-off-by: Bin Meng --- tools/microcode-tool.py | 14 ++ 1 file

[U-Boot] [PATCH 02/10] x86: ivybridge: Add FSP support

2015-12-11 Thread Bin Meng
IvyBridge FSP package is built with a base address at 0xfff8, and does not use UPD data region. This adds basic FSP support. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/Kconfig | 8 arch/x86/cpu/ivybridge/Makefile| 4

[U-Boot] [PATCH 00/10] x86: ivybridge: Add Intel FSP support

2015-12-11 Thread Bin Meng
This series adds Intel FSP support to IvyBridge processor and Panther Point chipset (aka Chief River platform), and is validated on Intel Cougar Canyon 2 board. This only adds basic features like serial, keyboard, RTC, timer, SPI, GPIO, PCI, SATA, USB. Other features will be enabled in future

[U-Boot] [PATCH 06/10] x86: ivybridge: Do not require HAVE_INTEL_ME

2015-12-11 Thread Bin Meng
Do not set HAVE_INTEL_ME by default as for some cases Intel ME firmware even does not reside on the same SPI flash as U-Boot. Signed-off-by: Bin Meng --- arch/x86/cpu/ivybridge/Kconfig | 1 - board/google/chromebook_link/Kconfig | 1 +

[U-Boot] [PATCH 01/10] fdtdec: Add compatible string for Intel IvyBridge FSP

2015-12-11 Thread Bin Meng
Use "intel,ivybridge-fsp" for Intel IvyBridge FSP compatible string. Signed-off-by: Bin Meng --- include/fdtdec.h | 1 + lib/fdtdec.c | 1 + 2 files changed, 2 insertions(+) diff --git a/include/fdtdec.h b/include/fdtdec.h index 7fe657d..c515a3c 100644 ---

[U-Boot] [PATCH] dm: net: Fix DM for targets which use MANUAL_RELOC

2015-12-11 Thread Michal Simek
All ethernet operation needs to be updated for architectures which requires MANUAL_RELOC. Signed-off-by: Michal Simek --- net/eth.c | 28 1 file changed, 28 insertions(+) diff --git a/net/eth.c b/net/eth.c index c542f4aa3b3b..6cf3a353a347

[U-Boot] [PATCH 12/12] net: emaclite: Move emaclite to Kconfig

2015-12-11 Thread Michal Simek
Add PHYLIB and MII dependencies and enable it by default for Microblaze. Signed-off-by: Michal Simek --- board/xilinx/microblaze-generic/xparameters.h | 3 --- configs/microblaze-generic_defconfig | 2 +- drivers/net/Kconfig | 8

[U-Boot] [PATCH 11/12] net: emaclite: Move driver to DM

2015-12-11 Thread Michal Simek
Move driver to DM. Signed-off-by: Michal Simek --- .../xilinx/microblaze-generic/microblaze-generic.c | 21 --- board/xilinx/zynq/board.c | 20 --- configs/microblaze-generic_defconfig | 1 + drivers/net/xilinx_emaclite.c

Re: [U-Boot] Samsung I2C driver

2015-12-11 Thread ELSOFT AG
Simon Glass wrote: > David are you able to move your board to driver model for i2c? To be frank, I don't know it (yet). Being a total DM novice, it is difficult for me to estimate the amount of effort needed to do the conversion. Is it really possible to convert just the I2C subsystem to DM and

[U-Boot] [PATCH 2/8] microblaze: Use malloc setting via Kconfig

2015-12-11 Thread Michal Simek
Clean board specific file. Signed-off-by: Michal Simek --- configs/microblaze-generic_defconfig | 2 ++ include/configs/microblaze-generic.h | 6 -- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/configs/microblaze-generic_defconfig

[U-Boot] [PATCH 1/8] microblaze: Make room for malloc before ELF

2015-12-11 Thread Michal Simek
Create space below u-boot binary for early malloc. It means memory layout is stack grows down, space for early malloc, u-boot code. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 5/8] microblaze: Enable DM by default

2015-12-11 Thread Michal Simek
Enable DM for the whole architecture. Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 1 + configs/microblaze-generic_defconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig

[U-Boot] [PATCH 8/8] microblaze: Move baudrate setting out driver selection

2015-12-11 Thread Michal Simek
Preparation of moving to DM. Uartlite ignores baudrate setting. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/include/configs/microblaze-generic.h

[U-Boot] [PATCH 7/8] microblaze: Remove CONSOLE_ARG

2015-12-11 Thread Michal Simek
Take it from DT instead. Signed-off-by: Michal Simek --- include/configs/microblaze-generic.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/microblaze-generic.h b/include/configs/microblaze-generic.h index f93861d770ee..64248a8c6182 100644 ---

[U-Boot] [PATCH 6/8] microblaze: Do not handle watchdog and gpio in SPL

2015-12-11 Thread Michal Simek
watchdog and gpio are not validated for SPL that's why do not use them. Signed-off-by: Michal Simek --- board/xilinx/microblaze-generic/microblaze-generic.c | 3 ++- include/configs/microblaze-generic.h | 6 -- 2 files changed, 6 insertions(+), 3

[U-Boot] [PATCH 3/8] microblaze: Remove support for LL_TEMAC

2015-12-11 Thread Michal Simek
LL_TEMAC is available at big endian MB and it is not properly tested that's why the patch removes it. Signed-off-by: Michal Simek --- .../xilinx/microblaze-generic/microblaze-generic.c | 35 -- board/xilinx/microblaze-generic/xparameters.h | 6

[U-Boot] [PATCH 4/8] microblaze: Enable OF_CONTROL by default

2015-12-11 Thread Michal Simek
Signed-off-by: Michal Simek --- arch/microblaze/Kconfig | 1 + configs/microblaze-generic_defconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 077b2a7d5ec1..a730b72a52f3 100644

[U-Boot] [PATCH 06/10] net: axi_emac: Pass private structure where possible

2015-12-11 Thread Michal Simek
Simplify move to DM to avoid handling with eth_device structure. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c

[U-Boot] [PATCH 07/10] net: axi_emac: Move driver to DM

2015-12-11 Thread Michal Simek
Move driver to DM. Signed-off-by: Michal Simek --- .../xilinx/microblaze-generic/microblaze-generic.c | 5 - board/xilinx/zynq/board.c | 4 - drivers/net/xilinx_axi_emac.c | 190 + include/netdev.h

[U-Boot] [PATCH 01/10] net: axi_emac: Fix parentheses around operand !

2015-12-11 Thread Michal Simek
Fix these compilation warning by proper grouping: In function 'axi_dma_init': drivers/net/xilinx_axi_emac.c:391:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if (!(in_be32(>dmatx->control) | ^ In function 'axiemac_send':

[U-Boot] [PATCH 02/10] net: axi_emac: Show phy address instead of register content

2015-12-11 Thread Michal Simek
Fix debug message. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 994affa66fc4..f08823008908 100644 ---

[U-Boot] [PATCH 00/10] Moving Axi emac to DM

2015-12-11 Thread Michal Simek
Hi, This patch series depends on microblaze cleanup series. All these patches will be available in git://git.denx.de/u-boot-microblaze.git also with patches which I am going to send now. Thanks, Michal Michal Simek (10): net: axi_emac: Fix parentheses around operand ! net: axi_emac: Show

[U-Boot] [PATCH 03/10] net: axi_emac: Pass directly pointer to register space

2015-12-11 Thread Michal Simek
Simplify mdio_wait function by passing regs directly. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index

[U-Boot] [PATCH 05/10] net: axi_emac: Pass private structure to phyread/phywrite

2015-12-11 Thread Michal Simek
Prepare for move to DM. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 3c980657729e..20ff6b089830

[U-Boot] [PATCH 04/10] net: axi_emac: Put iobase to private structure

2015-12-11 Thread Michal Simek
Saving iobase directly to private structure helps with moving to DM. There is an option to load iobase from pdata but it is additional load. Pointer to private structure is available all the time. Signed-off-by: Michal Simek --- drivers/net/xilinx_axi_emac.c | 5 +++--

Re: [U-Boot] is it worth contributing a SATA SIL3512 driver to u-boot?

2015-12-11 Thread Michal Suchanek
On 11 December 2015 at 13:16, Robert P. J. Day wrote: > On Thu, 10 Dec 2015, Fabio Estevam wrote: > >> On Thu, Dec 10, 2015 at 6:19 PM, Robert P. J. Day >> wrote: >> >> > well, the contract i'm working on will be using it for porting linux >> > to

Re: [U-Boot] [PATCH 2/6] arm: socfpga: arria5-socdk: Enabling U-Boot environment in QSPI

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:17:48 AM, Chin Liang See wrote: > Enabling the support of storing U-Boot environment > within serial NOR flash. By default, its still > store into SDMMC > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling U-Boot environment in QSPI

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:17:47 AM, Chin Liang See wrote: > Enabling the support of storing U-Boot environment > within serial NOR flash. By default, its still > store into SDMMC > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 6/6] arm: socfpga: socrates: Enabling mtd partitioning layout

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:15:53 AM, Chin Liang See wrote: > Enabling mtd partitioning layout which indicate partition > for various boot partition > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH v8 14/14] sf: Rename sf_ops.c to spi-flash.c

2015-12-11 Thread Simon Glass
Hi Jagan, On 11 December 2015 at 00:02, Jagan Teki wrote: > On Friday 11 December 2015 12:21 PM, Bin Meng wrote: >> >> Hi Jagan, >> >> On Fri, Dec 11, 2015 at 2:28 PM, Jagan Teki wrote: >>> >>> >>> >>> On Friday 11 December 2015 11:53 AM, Bin Meng wrote:

[U-Boot] [PATCH v2] imx_common: check for Serial Downloader in spl_boot_device

2015-12-11 Thread Stefano Babic
Check for bmode before reading the boot device to check if a serial downloader is started, and returns UART if the serial downloader is set, letting SPL to wait for an image if CONFIG_SPL_YMODEM_SUPPORT is set. This allows to load again a SPL based board with imx_usb_loader together with a tool

Re: [U-Boot] [PATCH 4/8] mips: vct: move CONFIG_SYS_TEXT_BASE away from config.mk

2015-12-11 Thread Daniel Schwierzeck
Am 11.12.2015 um 04:22 schrieb Masahiro Yamada: > We can delete board/micronas/vct/config.mk by moving the define of > CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are > still defining it in include/config/${BOARD}.h, so I am following > that way here. > > Signed-off-by:

Re: [U-Boot] [PATCH 6/8] mips: pb1x00: move CONFIG_SYS_TEXT_BASE away from config.mk

2015-12-11 Thread Daniel Schwierzeck
Am 11.12.2015 um 04:22 schrieb Masahiro Yamada: > We can delete board/pb1x00/config.mk by moving the define of > CONFIG_SYS_TEXT_BASE to somewhere else. Other MIPS boards are > still defining it in include/config/${BOARD}.h, so I am following > that way here. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH 4/6] arm: socfpga: mcvevk: Enabling U-Boot environment in QSPI

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:19:07 AM, Chin Liang See wrote: > Enabling the support of storing U-Boot environment > within serial NOR flash. By default, its still > store into SDMMC > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 3/6] arm: socfpga: de0-nano-soc: Enabling mtd partitioning layout

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:15:50 AM, Chin Liang See wrote: > Enabling mtd partitioning layout which indicate partition > for various boot partition > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen

[U-Boot] Please pull u-boot-dm

2015-12-11 Thread Simon Glass
Hi Tom, A few small things in my queue... The following changes since commit 8555dd88cd1a7b5dd1e76c111fe635a92223b98b: axs10x: add support of generic EHCI USB 2.0 controller (2015-12-08 17:29:56 +0300) are available in the git repository at: git://git.denx.de/u-boot-dm.git for you to

Re: [U-Boot] Samsung I2C driver

2015-12-11 Thread Przemyslaw Marczak
Hi, On 12/11/2015 04:04 AM, Simon Glass wrote: +David, who is the vcma9 maintainer. Hi Przemyslaw, On 7 December 2015 at 07:00, Przemyslaw Marczak wrote: Hello Simon, On 12/07/2015 02:07 PM, Simon Glass wrote: Hi Przemyslaw, At present this driver has a few

[U-Boot] [PATCH v9 01/14] sf: spi_flash_validate_params => spi_flash_scan

2015-12-11 Thread Jagan Teki
Rename spi_flash_validate_params to spi_flash_scan as this code not only deals with params setup but also configure all spi_flash attributes. And also moved all flash related code into spi_flash_scan for future functionality addition. Tested-by: Jagan Teki Tested-by: Bin

[U-Boot] [PATCH v9 02/14] sf: Move spi_flash_scan code to sf_ops

2015-12-11 Thread Jagan Teki
Intension is that sf_ops should deals all spi_flash related stuff and sf_probe (which should renamed future) should be an interface layer for spi_flash versus spi drivers. sf_ops => spi_flash interface sf_probe => interface layer vs spi_flash(sf_probe) to spi drivers Tested-by: Jagan Teki

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:15:48 AM, Chin Liang See wrote: > Enabling mtd partitioning layout which indicate partition > for various boot partition > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen

[U-Boot] [PATCH 0/2] Change DM_SEQ_ALIAS to be configurable for SPL

2015-12-11 Thread Nathan Rossi
Add a config option for SPL_DM_SEQ_ALIAS and enable it for the Zynq targets which require it for SPI flash support in SPL. Nathan Rossi (2): spl: dm: Add SPL_DM_SEQ_ALIAS config option arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs configs/zynq_microzed_defconfig| 1 +

[U-Boot] [PATCH v9 14/14] sf: Rename sf_ops.c to spi_flash.c

2015-12-11 Thread Jagan Teki
Since all spi_flash core operations are moved into sf_ops.c then it's better to renamed as spi_flash.c Reviewed-by: Bin Meng Reviewed-by: Simon Glass Signed-off-by: Jagan Teki --- Changes for v9: - Renamed spi-flash.c to

[U-Boot] [PATCH 1/2] spl: dm: Add SPL_DM_SEQ_ALIAS config option

2015-12-11 Thread Nathan Rossi
The Device Model sequence alias feature is required by some Uclasses. Instead of disabling the feature for all SPL targets allow it to be configured. The config option is disabled by default to reduce code size for targets that are not interested or do not require this feature. Signed-off-by:

[U-Boot] [PATCH 2/2] arm: zynq: Enable SPL_DM_SEQ_ALIAS for all Zynq configs

2015-12-11 Thread Nathan Rossi
This feature is required in SPL to enable support for loading from SPI flash when the device is booted from QSPI. Signed-off-by: Nathan Rossi Cc: Michal Simek --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 +

Re: [U-Boot] Odroid U3 not able to boot using latest u-boot.

2015-12-11 Thread Przemyslaw Marczak
Hello Anand, On 12/11/2015 01:48 PM, Anand Moon wrote: Hi Przemyslaw, I have give it a try to put latest u-boot on my microsdcard u-boot and it failed to boot. Could you help me out on this. U-Boot 2016.01-rc2-25762-g00502fe (Dec 11 2015 - 17:49:34 +0530) CPU: Exynos4412 @ 1 GHz Model:

Re: [U-Boot] [PATCH v9 01/14] sf: spi_flash_validate_params => spi_flash_scan

2015-12-11 Thread Jagan Teki
Hi Bin, On 11 December 2015 at 19:46, Jagan Teki wrote: > Rename spi_flash_validate_params to spi_flash_scan > as this code not only deals with params setup but > also configure all spi_flash attributes. > > And also moved all flash related code into > spi_flash_scan for

Re: [U-Boot] [PATCH v2] imx_common: check for Serial Downloader in spl_boot_device

2015-12-11 Thread Eric Nelson
Hi Stefano, On 12/11/2015 06:40 AM, Stefano Babic wrote: > Check for bmode before reading the boot device > to check if a serial downloader is started, > and returns UART if the serial downloader is set, > letting SPL to wait for an image if > CONFIG_SPL_YMODEM_SUPPORT is set. > > This allows to

Re: [U-Boot] [PATCH] dm: core: Fix Kconfig text to mention SPL in SPL_OF_TRANSLATE

2015-12-11 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Please pull u-boot-sunxi master

2015-12-11 Thread Hans de Goede
Hi Tom, Here is another sunxi pull-req for v2016.01, highlights: -Add support for A83 SoC -Misc. small bugfixes The following changes since commit 789fa275b3750e60c60cb3d18eabc9467892c257: x86: Remove HAVE_ACPI_RESUME (2015-12-09 17:44:56 +0800) are available in the git repository at:

Re: [U-Boot] [PATCH 6/6] arm: socfpga: socrates: Enabling U-Boot environment in QSPI

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:19:09 AM, Chin Liang See wrote: > Enabling the support of storing U-Boot environment > within serial NOR flash. By default, its still > store into SDMMC > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 3/6] arm: socfpga: de0-nano-soc: Enabling U-Boot environment in QSPI

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:19:06 AM, Chin Liang See wrote: > Enabling the support of storing U-Boot environment > within serial NOR flash. By default, its still > store into SDMMC > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc:

Re: [U-Boot] [PATCH 4/6] arm: socfpga: mcvevk: Enabling mtd partitioning layout

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:15:51 AM, Chin Liang See wrote: > Enabling mtd partitioning layout which indicate partition > for various boot partition > > Signed-off-by: Chin Liang See > Cc: Dinh Nguyen > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH] arm: socfpga: Enable ubi and ubifs support

2015-12-11 Thread Marek Vasut
On Friday, December 11, 2015 at 10:25:59 AM, Chin Liang See wrote: > Hi Marek, > > On Fri, 2015-12-11 at 17:19 +0800, Chin Liang See wrote: > > When QSPI and NAND is enabled, the ubi and ubifs support > > will be enabled too. > > > > Signed-off-by: Chin Liang See > > Cc: Dinh

  1   2   >