[U-Boot] [PATCH] ARM: uniphier: add static qualifiers to locally used functions

2015-12-11 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/cmd_ddrphy.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-uniphier/cmd_ddrphy.c b/arch/arm/mach-uniphier/cmd_ddrphy.c index dbbefd4..f9b79ab 100644 --- a/arch/arm/mach-uniphier/cmd_ddrphy

[U-Boot] [PATCH] test: add sandbox timer to test.dts

2015-12-11 Thread Thomas Chou
Add missing sandbox timer to test.dts, so that test-dm works. Signed-off-by: Thomas Chou --- arch/sandbox/dts/test.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index b6d9a15..2e0d320 100644 --- a/arch/sandbox/dts/test.dts +++

Re: [U-Boot] [U-Boot, PATCHv1, 1/3] net: Add ability to set MAC address via EEPROM to Kconfig

2015-12-11 Thread Hans de Goede
Hi, On 10-12-15 21:26, Joe Hershberger wrote: Hi Hans, On Thu, Dec 10, 2015 at 4:29 AM, Hans de Goede wrote: Hi Olliver and Joe, On 11/30/2015 05:50 PM, Oliver Schinagl wrote: From: Olliver Schinagl This patch allows Kconfig to enable and set parameters to make it possible to read the MA

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

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_cyclone5_socdk.h | 12 1 file changed, 12 insertions(

[U-Boot] [PATCH 2/6] arm: socfpga: arria5-socdk: Enabling mtd partitioning layout

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_arria5_socdk.h | 12 1 file changed, 12 insertions(+)

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

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_mcvevk.h | 12 1 file changed, 12 insertions(+) diff

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

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_de0_nano_soc.h | 12 1 file changed, 12 insertions(+)

[U-Boot] [PATCH 5/6] arm: socfpga: sockit: Enabling mtd partitioning layout

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_sockit.h | 12 1 file changed, 12 insertions(+) diff

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

2015-12-11 Thread Chin Liang See
Enabling mtd partitioning layout which indicate partition for various boot partition Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_socrates.h | 12 1 file changed, 12 insertions(+) di

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

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_cyclone5_socdk.h | 8 1 fil

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

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_arria5_socdk.h | 8 1 file

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

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_de0_nano_soc.h | 8 1 file

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

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_mcvevk.h | 7 +++ 1 file changed

[U-Boot] [PATCH 5/6] arm: socfpga: sockit: Enabling U-Boot environment in QSPI

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_sockit.h | 8 1 file change

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

2015-12-11 Thread Chin Liang See
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: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_socrates.h | 8 1 file chan

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

2015-12-11 Thread Chin Liang See
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 Cc: Pavel Machek Cc: Marek Vasut Cc: Stefan Roese --- include/configs/socfpga_common.h | 8 1 file changed, 8 insertions(+) diff --git a/incl

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 > Cc: Pavel Machek > Cc: Marek Vasut > Cc: Stefan Roese > --- > include

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 > > already used some absolute

[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 --- a/include/fdtdec.h +++ b/include/

[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 + board/google/chromebox_panther/Kconfig | 1 + 3 f

[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 changed, 14 insertions(+)

[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 ++ arch/x86/cpu/ivy

[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 patc

[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 B

[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 a/arch/x86/lib/fsp/cm

[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| 96 +

[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 --- drivers/misc/Makefile |

[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 index 21df083..31437c8

[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 a/drivers/spi/xilinx_spi.c b/drivers/spi/

[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 index b0755f5e3b48..5f0f200

[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 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/

[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 a/drivers/net/zynq_gem.c b/drivers/net/

[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 @@ config ZYNQ_GEM

[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 | 1 - configs/zynq_zc

[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 100644 --- a/net/eth.c +++

[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 b/configs/microblaze-generic_defconfig in

[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 a/include/configs/microbla

[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 index a730b72a52f3..604f68

[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 include/configs/mic

[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 --- a/arch/microblaze/Kco

[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 b/include/configs/microblaze-generic.h inde

[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 --- a/include/configs/microblaz

[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 deletions(-) diff --git a/b

[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 d

[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| 7 +++ include/conf

[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 1fc287ee98ec..f1e221799b81 100644 --- a/drivers/se

[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 ++- 4 files changed, 71 insert

[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 a/configs/microblaze-generic_defconfig

[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 b/board/xilinx/microblaze-generic/xparameters.h index 11b3c9a4846e..

[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 a/common/cmd_bdinfo.c b/common/cmd_bdin

[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 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 b/configs/microblaze-generic_defconfig index

[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 +++ b/arch/microblaze/cpu/start.S @@ -155,6 +155

[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(&priv->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 --- a/drivers/net/xilinx_axi_emac.c +++ b/dr

[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 ph

[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 f08823008908..071e0a85b582 1006

[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 +++-- 1 file changed, 3 inserti

[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 100644 --- a/drivers/net/xi

[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 b/drivers/net/xilinx_axi_emac.c index 20ff6b089830..7

[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 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 c03f8f730d3a..bff4d1b5affe 100644 --- a/dr

[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 bff4d1b5affe..e8a8d9cc2744 100644 --- a/

[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(-) diff --git a/drivers/net/Kc

[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 pe

[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 index 564205df83d3..d3d40b12

[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 b/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 d3d40b12adf2..f5e4c029ed75 1006

[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 index 9d413a0bbf8d..654ad5

[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 1 file ch

[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 b/drivers/net/xilinx_emaclite.c index 724b61e

[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 a/drivers/net/xilinx_emaclite.c b/drivers/net/xilin

[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 654ad58cea3c..724b61e0b7e1 100644 --- a/driv

[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 sho

[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 --- Do you know macros

[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 | 158 +++

[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 include/configs/micro

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

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: if you submit the SATA S

[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 b/configs/microblaze-gene

[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 b/include/configs/microblaze-generic.

[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 b/configs/microblaze-generi

[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 to

[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 b/configs/microblaze-generic_defconfig index 29acb063ee8

[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 --git a/arch/microblaze/c

[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 b/configs/microblaze-generic_defco

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 define. > > > "DISCARD" will r

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 repos

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 a *lot* of older platforms so, technically, i'

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: Odro

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

Re: [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org

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

Re: [U-Boot] [PATCH] dm: serial: Minor coding style cleanup of some comments

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

Re: [U-Boot] [PATCH] dm: core: Add platform specific bus translation function

2015-12-11 Thread Simon Glass
HI Stefan, On 10 December 2015 at 22:54, Stefan Roese wrote: > > Hi Simon, > > > On 11.12.2015 05:45, Stefan Roese wrote: >> >> Hi Simon, >> >> On 10.12.2015 16:36, Simon Glass wrote: >>> >>> Hi Stefan, >>> >>> On 9 December 2015 at 23:58, Stefan Roese wrote: Hi Simon, O

[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 su

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: Masahir

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 5/8] mips: dbau1x00: 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/dbau1x00/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 Yamad

[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: ht

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 implementations and supports

  1   2   >