[U-Boot] [PATCH 001/080] mpc8308rdb: Fix style violation

2017-09-29 Thread Mario Six
Fix a indention style violation in the freescale MPC8308RDB SDRAM code. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/freescale/mpc8308rdb/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8308rdb/sdram.c b/board/freescale/mpc8

[U-Boot] [PATCH 021/080] sf_probe: Merge spi_flash_probe_tail into spi_flash_probe

2017-09-29 Thread Mario Six
spi_flash_probe_tail is now only called from spi_flash_probe, hence we can merge its body into spi_flash_probe. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/spi/sf_probe.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/m

[U-Boot] [PATCH 005/080] lib: fdtdec: Fix whitespace style violations

2017-09-29 Thread Mario Six
Fix some whitespace-related style violations in fdtdec.c. Signed-off-by: Mario Six <mario@gdsys.cc> --- lib/fdtdec.c | 56 ++-- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index 107a

[U-Boot] [PATCH 028/080] gpio: pca953x_gpio: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the pca953x_gpio driver. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/gpio/pca953x_gpio.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index 4962

[U-Boot] [PATCH 030/080] serial: ns16550: Fix style violation

2017-09-29 Thread Mario Six
Clarify the computation precedence in two ternary operator constructions. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/serial/ns16550.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c index c702

[U-Boot] [PATCH 019/080] spi: sf_probe: Fix style violations

2017-09-29 Thread Mario Six
Fix two indention-related style violations. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/spi/sf_probe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_probe.c b/drivers/mtd/spi/sf_probe.c index e25513b77a..68009a6328

[U-Boot] [PATCH 013/080] clk: Remove superfluous gd declarations

2017-09-29 Thread Mario Six
The clk uclass was converted to support a live device tree recently, hence the global data pointer declarations are no longer needed. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/clk/clk-uclass.c | 2 -- drivers/clk/clk_fixed_rate.c | 2 -- 2 files changed, 4 deletions(-)

[U-Boot] [PATCH 036/080] cfi_flash: Fix style of pointer declarations

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 48 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index b3dda8bd4a..1b0eb3398c 100644 --- a/drive

[U-Boot] [PATCH 042/080] cfi_flash: Remove braces for single-statement blocks

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 1ccb05091d..06795fe754 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drive

[U-Boot] [PATCH 048/080] cfi_flash: Fix spelling of "Unknown"

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 2a165cb328..0d015a3863 100644 --- a/drivers/mtd/cfi_flash.c +++ b/drivers/mtd/cfi_f

[U-Boot] [PATCH 020/080] spi: spi-uclass: Fix style violations

2017-09-29 Thread Mario Six
Remove a superfluous newline, and reduce the scope of a variable. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/spi/spi-uclass.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/spi/spi-uclass.c b/drivers/spi/spi-uclass.c index 6db0eb02b4..15d9

[U-Boot] [PATCH 043/080] cfi_flash: Fix logical continuations

2017-09-29 Thread Mario Six
Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 06795fe754..b73b72bcee 100644 --- a/drivers/mtd/cfi_flash.c

[U-Boot] [PATCH 016/080] spi: Remove spi_flash_probe_fdt

2017-09-29 Thread Mario Six
Commit ba45756 ("dm: x86: spi: Convert ICH SPI driver to driver model") removed the last usage of the spi_flash_probe_fdt function, rendering it obsolete. This patch removes the function. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/spi/sf_probe.c | 13 --

[U-Boot] [PATCH 012/080] clk: clk_fixed_rate: Fix style violation

2017-09-29 Thread Mario Six
Fix a mis-indented function call in clk_fixed_rate.c Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/clk/clk_fixed_rate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/clk_fixed_rate.c b/drivers/clk/clk_fixed_rate.c index 63565b6ed8..9dd6

[U-Boot] [PATCH 017/080] spi: Remove spi_setup_slave_fdt

2017-09-29 Thread Mario Six
A previous patch removed the spi_flash_probe_fdt function, which contained the last call of the spi_setup_slave_fdt function, which is now equally obsolete. This patch removes the function. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/spi/spi-uclass.c | 16 i

[U-Boot] [PATCH 008/080] core: read: Fix style violations

2017-09-29 Thread Mario Six
There are some whitespace-related style violations in read.c; fix those. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/core/read.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/core/read.c b/drivers/core/read.c index eacf1716fd..2766

[U-Boot] [PATCH 025/080] i2c: fsl_i2c: Fix style violations

2017-09-29 Thread Mario Six
Fix some style violations in the fsl_i2c I2C driver, and use shorter type names for variables in some cases. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/i2c/fsl_i2c.c | 111 +- 1 file changed, 56 insertions(+), 55 deletions(-)

[U-Boot] [PATCH 029/080] gpio: pca953x_gpio: Make live-tree compatible

2017-09-29 Thread Mario Six
Make the pca953x_gpio driver compatible with a live device tree. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/gpio/pca953x_gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpio/pca953x_gpio.c b/drivers/gpio/pca953x_gpio.c index 9ad8

[U-Boot] [PATCH 006/080] lib: fdtdec: Fix some style violations

2017-09-29 Thread Mario Six
Fix some style violations in fdtdec.c, and reduce the scope of some variables. Signed-off-by: Mario Six <mario@gdsys.cc> --- lib/fdtdec.c | 31 --- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/lib/fdtdec.c b/lib/fdtdec.c index f354

[U-Boot] [PATCH 026/080] i2c: fsl_i2c: Remove inline declarations

2017-09-29 Thread Mario Six
Some functions in the fsl_i2c driver are declared as inline, even though they are quite large, which needlessly increases the size of the resulting binary. This patch removes the inline declarations. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/i2c/fsl_i2c.c | 14 +++

[U-Boot] [PATCH 011/080] clk: clk-uclass: Fix style violations

2017-09-29 Thread Mario Six
checkpatch.pl complains that the clk_ops structures used in clk-uclass.c ought to be static, so we mark them as static. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/clk/clk-uclass.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/d

[U-Boot] [PATCH 014/080] spi: Fix style violation and improve code

2017-09-29 Thread Mario Six
This patch fixes a printf specifier style violation, reduces the scope of a variable, and turns a void pointer that is used with pointer arithmetic into a u8 pointer. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/spi/spi.c | 7 --- 1 file changed, 4 insertions(+), 3 del

[U-Boot] [PATCH 004/080] include: dm: Fix 'devioe'/'devuce' typos

2017-09-29 Thread Mario Six
There are some typos in the documentation of some functions in read.h; fix those. Signed-off-by: Mario Six <mario@gdsys.cc> --- include/dm/read.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/dm/read.h b/include/dm/read.h index 8114037e97..d2f4

[U-Boot] [PATCH 003/080] mpc83xx: spd_sdram: Fix style violations

2017-09-29 Thread Mario Six
Fix style violations in the MPC83xx SPD-SDRAM code and make the code more readable. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 49 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/arch/power

Re: [U-Boot] [PATCH 2/2] powerpc: Rework cpu_init_f() to take no arguments

2017-08-14 Thread Mario Six
ifferent >> PowerPC platforms. In some cases the function needs to make use of the >> IMMR and in other cases it does not. Rather than pass the IMMR location >> as the function argument and then ignore it on some platforms, allow the >> function to use the location as need

Re: [U-Boot] [PATCH 1/2] powerpc: Rework interrupt_init_cpu()

2017-08-14 Thread Mario Six
/arch/powerpc/lib/interrupts.c > +++ b/arch/powerpc/lib/interrupts.c > @@ -63,13 +63,8 @@ int disable_interrupts (void) > > int interrupt_init (void) > { > - int ret; > - > /* call cpu specific function from $(CPU)/interrupts.c */ > - ret = interrupt_init_cpu (_count); > - > - if (ret) > - return ret; > + interrupt_init_cpu (_count); > > set_dec (decrementer_count); > > -- > 1.9.1 > Acked-by: Mario Six <mario@gdsys.cc> ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [U-Boot, v3, 03/10] powerpc: spl and normal u-boot stage set SYS_MALLOC_F_LEN indepently

2017-07-27 Thread Mario Six
Hi Phillip, On Thu, Jul 27, 2017 at 12:48 PM, Philipp Tomsich wrote: > > > On Mon, 24 Jul 2017, Andy Yan wrote: > >> Some platforms has very small sram to run spl code, so >> it may have no enough sapce for so much malloc pool before >> relocation in spl

Re: [U-Boot] [PATCH 51/51] mpc83xx: Add gazerbeam board

2017-07-26 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:07 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> From: Dirk Eibach <dirk.eib...@gdsys.cc> >> >> The gdsys gazerbeam board is based on

Re: [U-Boot] [PATCH 10/51] net:phy:marvell Add hook for m88e1510 board config

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:54, Mario Six <mario@gdsys.cc> wrote: >> From: Dirk Eibach <dirk.eib...@gdsys.cc> >> >> m88e1510_config() is highly b

Re: [U-Boot] [PATCH 42/51] cmd: Add ihs fpga command

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a comman to debug the IHS FPGA's bus. >> >> Signed-off-by: Mario Six <mario@gd

Re: [U-Boot] [PATCH 36/51] drivers: Add ihs_axi driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a driver for the IHS AXI bus on IHS FPGAs. > > Can we make this uclass more generi

Re: [U-Boot] [PATCH 40/51] cmd: Add ihs osd commands

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add command to query information from and write text to IHS OSDs. >> >> Signe

Re: [U-Boot] [PATCH 39/51] drivers: Add gdsys_ioep driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add driver for the IHS IO endpoint on IHS FPGAs. > > Would UCLASS_MAILBOX work for this

Re: [U-Boot] [PATCH 38/51] gdsys: drivers: Add gdsys_rxaui_ctrl driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a driver for RXAUI control on IHS FPGAs. >> >> Signed-off-by: Mario Six <mario@gd

Re: [U-Boot] [PATCH 37/51] drivers: Add ihs_video_out driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a driver for IHS OSDs on IHS FPGAs. >> >> Signed-off-by: Mario Six <mario@gd

Re: [U-Boot] [PATCH 34/51] transmitter: Add Xilinx LogiCore DP TX

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a driver for the TX side of the Xilinx LogiCore DisplayPort IP core. >> >> Signed-off-

Re: [U-Boot] [PATCH 33/51] drivers: Add transmitter uclass

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> This patch adds a simple transmitter uclass meant for DVI or DisplayPort >> transmitters. The only

Re: [U-Boot] [PATCH 32/51] drivers: Add ihs_fpga and gdsys_soc drivers

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> This patch adds DM drivers for IHS FPGAs and their associated busses, as >> well as uclasses for

Re: [U-Boot] [PATCH 21/51] common: Extend board-specific DT fixup

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Commit 2a79275 ("dm: Add callback to modify the device tree") >> implemented a board

Re: [U-Boot] [PATCH 18/51] cmd: mdio: Add 'driver' subcommand

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:02 PM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> For debug purposes it is sometimes useful to have the ability to >> interact with the driver functi

Re: [U-Boot] [PATCH 09/51] phy: Support Marvell 88X2242

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:54, Mario Six <mario@gdsys.cc> wrote: >> From: Dirk Eibach <dirk.eib...@gdsys.cc> >> >> Implement support for the Marvell Alask

Re: [U-Boot] [PATCH 41/51] cmd: Add ihs axi command

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a command to debug the IHS AXI bus. >> >> Signed-off-by: Mario Six <mario@gdsys.cc> >> --- &

Re: [U-Boot] [PATCH 35/51] drivers: Add ICS8N3QV01 driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. >> >> Signed-off-by: Mario Six <mario

Re: [U-Boot] [PATCH 31/51] gdsys: mpc8308: Add FPGA flavor option

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> More recent versions of IHS FPGAs feature a different memory layout. >> >> Add a Kconfig option to differ

Re: [U-Boot] [PATCH 29/51] i2c: ihs_i2c: Make DM compatible

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions >> are >> retained within #ifdef

Re: [U-Boot] [PATCH 28/51] i2c: ihs_i2c: Prepare DM conversion

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Prepare the function interface of the ihs_i2c driver for DM conversion >> in a future patch. >> >> While

Re: [U-Boot] [PATCH 25/51] gdsys: Introduce GDSYS_LEGACY_DRIVERS

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Future gdsys boards will switch from the legacy drivers in board/gdsys/common >> to DM-based drivers. >> >>

Re: [U-Boot] [PATCH 24/51] gdsys: mpc8308: Move SYS_FPGA{0, 1}_{BASE, SIZE} to Kconfig

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Move CONFIG_SYS_FPGA0_BASE, CONFIG_SYS_FPGA0_SIZE, CONFIG_SYS_FPGA1_BASE, and >> CONFIG_SYS_FP

Re: [U-Boot] [PATCH 11/51] powerpc: mpc83xx: Implement get_serial_clock()

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:54, Mario Six <mario@gdsys.cc> wrote: >> DM serial drivers on PowerPC determine their clock frequency via the >> get_serial_clock function. This func

Re: [U-Boot] [PATCH 07/51] phy: Allow forcing clause 45 access

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass <s...@chromium.org> wrote: > On 14 July 2017 at 05:54, Mario Six <mario@gdsys.cc> wrote: >> From: Dirk Eibach <dirk.eib...@gdsys.cc> >> >> get_phy_device_by_mask() assumes that a clause 45 phy do

Re: [U-Boot] [PATCH 06/51] cmd: Add command for calculating binary operations

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:07 AM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 19 July 2017 at 01:53, Mario Six <mario@gdsys.cc> wrote: >> Hi Simon, >> >> On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass <s...@chromium.org> wrote

Re: [U-Boot] [PATCH 16/51] gpio: mpc85xx_gpio: Make compatible with MPC8XXX

2017-07-19 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:02 PM, Simon Glass <s...@chromium.org> wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six <mario@gdsys.cc> wrote: >> Since the GPIO controllers on MPC8XXX just vary in the number of pins >> offered, the DM drive

[U-Boot] [PATCH 42/51] cmd: Add ihs fpga command

2017-07-14 Thread Mario Six
Add a comman to debug the IHS FPGA's bus. Signed-off-by: Mario Six <mario@gdsys.cc> --- cmd/Kconfig| 5 ++ cmd/Makefile | 1 + cmd/ihs_fpga.c | 269 + 3 files changed, 275 insertions(+) create mode 100644 cmd/ihs_

[U-Boot] [PATCH 48/51] ihs_mdio: Make DM-compatible

2017-07-14 Thread Mario Six
Make the ihs_mdio driver DM-compatible, while retaining the old functionality for not-yet-converted boards. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/ihs_mdio.c | 49 ++- board/gdsys/common/ihs_mdio.h | 5 + 2 files c

[U-Boot] [PATCH 45/51] gdsys: cmd_ioloop: Make DM compatible

2017-07-14 Thread Mario Six
Make the ioloop command DM compatible, while keeping the old functionality for not-yet-converted boards. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/cmd_ioloop.c | 241 ++-- 1 file changed, 234 insertions(+), 7 deletions(-)

[U-Boot] [PATCH 49/51] gazerbeam: Import Linux DT

2017-07-14 Thread Mario Six
Import the Linux device tree for the Gazerbeam board. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/powerpc/dts/gazerbeam.dts | 539 + arch/powerpc/dts/gdsys/gazerbeam-base.dtsi | 205 +++ arch/powerpc/dts/gdsys/mpc8308.dtsi

[U-Boot] [PATCH 34/51] transmitter: Add Xilinx LogiCore DP TX

2017-07-14 Thread Mario Six
Add a driver for the TX side of the Xilinx LogiCore DisplayPort IP core. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/transmitter/Kconfig|6 + drivers/transmitter/Makefile |1 + drivers/transmitter/logicore_dp_dpcd.h | 342 + d

[U-Boot] [PATCH 46/51] ihs_mdio: Add support to force clause45 access

2017-07-14 Thread Mario Six
Add support to ihs_mdio to force clause 45 access (in addition to clause 22 access). Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/ihs_mdio.c | 26 +++--- board/gdsys/common/ihs_mdio.h | 1 + 2 files changed, 24 insertions(+), 3 deletions(-)

[U-Boot] [PATCH 12/51] cfi_flash: Fix style violations

2017-07-14 Thread Mario Six
Fix style violations in the CFI flash driver. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 889 1 file changed, 443 insertions(+), 446 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_f

[U-Boot] [PATCH 37/51] drivers: Add ihs_video_out driver

2017-07-14 Thread Mario Six
Add a driver for IHS OSDs on IHS FPGAs. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/misc/Kconfig | 6 ++ drivers/misc/Makefile| 1 + drivers/misc/ihs_video_out.c | 243 +++ include/dm/uclass-id.h | 1 + i

[U-Boot] [PATCH 39/51] drivers: Add gdsys_ioep driver

2017-07-14 Thread Mario Six
Add driver for the IHS IO endpoint on IHS FPGAs. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/misc/Kconfig | 6 + drivers/misc/Makefile | 1 + drivers/misc/gdsys_ioep.c | 301 ++ include/dm/uclass-id.h| 1 + i

[U-Boot] [PATCH 50/51] gazerbeam: Add u-boot specific dts include file

2017-07-14 Thread Mario Six
Add a U-Boot specific dts file, which encapsulates the needed modifications to the Gazerbeam Linux device tree. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/powerpc/dts/gazerbeam.dts | 2 + arch/powerpc/dts/gdsys/gazerbeam-uboot.dtsi

[U-Boot] [PATCH 51/51] mpc83xx: Add gazerbeam board

2017-07-14 Thread Mario Six
c> Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/powerpc/cpu/mpc83xx/Kconfig | 3 + arch/powerpc/dts/.gitignore | 1 + arch/powerpc/dts/Makefile| 15 + board/gdsys/common/Makefile | 1 + board/gdsys/common/ioep-fpga.c | 617

[U-Boot] [PATCH 47/51] ihs_mdio: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the ihs_mdio driver, and make the code more readable where possible. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/ihs_mdio.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/board/gdsys/common/ihs_mdio.c b

[U-Boot] [PATCH 43/51] gdsys: cmd_ioloop: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the ioloop command, and make the code more readable where possible. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/cmd_ioloop.c | 78 - 1 file changed, 38 insertions(+), 40 deletions(-) diff

[U-Boot] [PATCH 29/51] i2c: ihs_i2c: Make DM compatible

2017-07-14 Thread Mario Six
Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions are retained within #ifdefs. No board uses the new DM driver yet; this patch only lays the foundation for future support. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/i2c/Kconfig | 6 ++ d

[U-Boot] [PATCH 24/51] gdsys: mpc8308: Move SYS_FPGA{0, 1}_{BASE, SIZE} to Kconfig

2017-07-14 Thread Mario Six
Move CONFIG_SYS_FPGA0_BASE, CONFIG_SYS_FPGA0_SIZE, CONFIG_SYS_FPGA1_BASE, and CONFIG_SYS_FPGA1_SIZE to Kconfig. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/mpc8308/Kconfig | 23 +++ include/configs/hrcon.h | 7 --- include/configs/str

[U-Boot] [PATCH 40/51] cmd: Add ihs osd commands

2017-07-14 Thread Mario Six
Add command to query information from and write text to IHS OSDs. Signed-off-by: Mario Six <mario@gdsys.cc> --- cmd/Kconfig | 6 +++ cmd/Makefile | 1 + cmd/ihs_osd.c | 167 ++ 3 files changed, 174 insertions(+) creat

[U-Boot] [PATCH 30/51] i2c: ihs_i2c: Factor out send_buffer method

2017-07-14 Thread Mario Six
Simplify the driver logic by extracting a common send_buffer method. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/i2c/ihs_i2c.c | 50 ++ 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/drivers/i2c/ihs_i2c.c b/d

[U-Boot] [PATCH 21/51] common: Extend board-specific DT fixup

2017-07-14 Thread Mario Six
structures. This commit also adapts the controlcenterdc board's fixup function to the new scheme. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/a38x/controlcenterdc.c | 20 +- common/board_f.c | 6 +- common/board_r.c | 10 +++ doc/

[U-Boot] [PATCH 33/51] drivers: Add transmitter uclass

2017-07-14 Thread Mario Six
This patch adds a simple transmitter uclass meant for DVI or DisplayPort transmitters. The only driver functionality implemented are power_on and power_off methods for powering the transmitter device on and off, respectively. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/sandb

[U-Boot] [PATCH 44/51] gdsys: cmd_ioloop: Introduce commenting enum

2017-07-14 Thread Mario Six
Replace the boolean parameter of io_check_status that controls whether the status is printed or not with a documenting enum. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/cmd_ioloop.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a

[U-Boot] [PATCH 41/51] cmd: Add ihs axi command

2017-07-14 Thread Mario Six
Add a command to debug the IHS AXI bus. Signed-off-by: Mario Six <mario@gdsys.cc> --- cmd/Kconfig | 5 ++ cmd/Makefile | 2 + cmd/ihs_axi.c | 257 ++ 3 files changed, 264 insertions(+) create mode 100644 cmd/ihs_axi.c

[U-Boot] [PATCH 13/51] cfi_flash: Clean up code some more

2017-07-14 Thread Mario Six
Fix some more style violations (mostly mis-indented case statements), and reduce the scope of some variables. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 610 1 file changed, 305 insertions(+), 305 del

[U-Boot] [PATCH 36/51] drivers: Add ihs_axi driver

2017-07-14 Thread Mario Six
Add a driver for the IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/misc/Kconfig | 7 ++ drivers/misc/Makefile | 1 + drivers/misc/ihs_axi.c | 208 + include/dm/uclass-id.h | 1 + include/ihs

[U-Boot] [PATCH 16/51] gpio: mpc85xx_gpio: Make compatible with MPC8XXX

2017-07-14 Thread Mario Six
gpio.h. Hence, this driver now also serves as a GPIO DM-driver for the MPC83XX platform. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 8 + arch/powerpc/include/asm/arch-mpc85xx/gpio.h | 2 +- drivers/gpio/Kconfig

[U-Boot] [PATCH 35/51] drivers: Add ICS8N3QV01 driver

2017-07-14 Thread Mario Six
Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/clk/Kconfig | 6 ++ drivers/clk/Makefile | 1 + drivers/clk/ics8n3qv01.c | 184 +++ 3 files change

[U-Boot] [PATCH 19/51] common: board_f: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the board_f file. Signed-off-by: Mario Six <mario@gdsys.cc> --- common/board_f.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index ffa84e3566..b258a1a73c 100644 --- a/common/board_f.c

[U-Boot] [PATCH 38/51] gdsys: drivers: Add gdsys_rxaui_ctrl driver

2017-07-14 Thread Mario Six
Add a driver for RXAUI control on IHS FPGAs. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/misc/Kconfig| 6 +++ drivers/misc/Makefile | 1 + drivers/misc/gdsys_rxaui_ctrl.c | 107 include/dm/uclas

[U-Boot] [PATCH 31/51] gdsys: mpc8308: Add FPGA flavor option

2017-07-14 Thread Mario Six
More recent versions of IHS FPGAs feature a different memory layout. Add a Kconfig option to differentiate between the legacy layout, and the new layout (which is used on the upcoming "Gazerbeam" and later boards). Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys

[U-Boot] [PATCH 18/51] cmd: mdio: Add 'driver' subcommand

2017-07-14 Thread Mario Six
commands to a phy: * getting the driver's name * running the phy's configuration procedure (via calling phy_config) * running the phy's startup procedure (via calling phy_startup) * running the phy's shutdown procedure (via calling phy_shutdown) Signed-off-by: Mario Six <mario@gdsys.cc> ---

[U-Boot] [PATCH 27/51] gdsys:phy: Adapt fixup_88e1518() to latest Release Notes

2017-07-14 Thread Mario Six
From: Dirk Eibach <dirk.eib...@gdsys.cc> The initialization sequence described in the latest Release Notes MV-S302033-00 for the Marvell 88E1518 phy omits two register writes. Use this new sequence for the setup of this phy. Signed-off-by: Dirk Eibach <dirk.eib...@gdsys.cc> Signed-o

[U-Boot] [PATCH 20/51] common: board_r: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the board_r file. Signed-off-by: Mario Six <mario@gdsys.cc> --- common/board_r.c | 27 ++- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index ecca1edb04..199cadbed1

[U-Boot] [PATCH 26/51] strider, hrcon: Reset CAT phy on CON2 module

2017-07-14 Thread Mario Six
From: Dirk Eibach <dirk.eib...@gdsys.cc> The phy on the CON2 module needs a defined reset pulse of at least 10 ms to work reliably. Signed-off-by: Dirk Eibach <dirk.eib...@gdsys.cc> Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/mpc8

[U-Boot] [PATCH 32/51] drivers: Add ihs_fpga and gdsys_soc drivers

2017-07-14 Thread Mario Six
This patch adds DM drivers for IHS FPGAs and their associated busses, as well as uclasses for both. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/misc/Kconfig | 6 + drivers/misc/Makefile| 1 + drivers/misc/gdsys_soc.c | 51 +++ drivers/misc/ihs_fpga.c

[U-Boot] [PATCH 09/51] phy: Support Marvell 88X2242

2017-07-14 Thread Mario Six
From: Dirk Eibach <dirk.eib...@gdsys.cc> Implement support for the Marvell Alaska X 88X2242P Integrated Dual-port and Quad-port Multi-speed Ethernet Transceivers. Signed-off-by: Dirk Eibach <dirk.eib...@gdsys.cc> Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/net/p

[U-Boot] [PATCH 08/51] phy: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the generic PHY management code. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/net/phy/phy.c | 83 +++ 1 file changed, 50 insertions(+), 33 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/n

[U-Boot] [PATCH 28/51] i2c: ihs_i2c: Prepare DM conversion

2017-07-14 Thread Mario Six
Prepare the function interface of the ihs_i2c driver for DM conversion in a future patch. While we're at it, fix some style violations, and make the code more readable. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/i2c/ihs_i2c.

[U-Boot] [PATCH 23/51] gdsys: mpc8308: Use shadow register for output GPIO values

2017-07-14 Thread Mario Six
Since gpio output status on MPC8xxx cannot be read back, it has to be buffered locally. Signed-off-by: Dirk Eibach <dirk.eib...@gdsys.cc> Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/mpc8308/hrcon.c | 4 ++-- board/gdsys/mpc8308/mpc8308.c | 19 ++

[U-Boot] [PATCH 10/51] net:phy:marvell Add hook for m88e1510 board config

2017-07-14 Thread Mario Six
From: Dirk Eibach <dirk.eib...@gdsys.cc> m88e1510_config() is highly board-specific. So add an optional callback board_m88e1510_config() configurable by CONFIG_BOARD_M88E1510_CONFIG to support different hardware. Signed-off-by: Dirk Eibach <dirk.eib...@gdsys.cc> Signed-off-by: Mari

[U-Boot] [PATCH 14/51] cfi_flash: Always define cfi_flash_num_flash_banks

2017-07-14 Thread Mario Six
this by always defining the cfi_flash_num_flash_banks variable. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/mtd/cfi_flash.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 2445632580..4f9a88e2a3 100644 --- a/drive

[U-Boot] [PATCH 07/51] phy: Allow forcing clause 45 access

2017-07-14 Thread Mario Six
;dirk.eib...@gdsys.cc> Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/net/phy/phy.c | 12 +++- include/phy.h | 12 ++-- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 97e0bc022b..08ec2f2ad6 10

[U-Boot] [PATCH 22/51] gdsys: mpc8308: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the gdsys MPC8308 board files, and make the code more readable. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/mpc8308/hrcon.c | 55 ++- board/gdsys/mpc8308/mpc8308.c | 12 +- board/gdsys/m

[U-Boot] [PATCH 17/51] cmd: mdio: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the MDIO command. Signed-off-by: Mario Six <mario@gdsys.cc> --- cmd/mdio.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cmd/mdio.c b/cmd/mdio.c index 21dc103736..3f11963006 100644 --- a/cmd/mdio.c +++ b/cmd/mdio.c @@ -14,7

[U-Boot] [PATCH 11/51] powerpc: mpc83xx: Implement get_serial_clock()

2017-07-14 Thread Mario Six
DM serial drivers on PowerPC determine their clock frequency via the get_serial_clock function. This function is not Implemented yet for MPC83xx. This patch Implements the function so that DM serial drivers work on MPC83xx. Signed-off-by: Mario Six <mario@gdsys.cc> --- arch/power

[U-Boot] [PATCH 25/51] gdsys: Introduce GDSYS_LEGACY_DRIVERS

2017-07-14 Thread Mario Six
Future gdsys boards will switch from the legacy drivers in board/gdsys/common to DM-based drivers. Define a Kconfig option that disables the legacy drivers. Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/adv7611.c | 4 board/gdsys/common/ch7301.c| 4

[U-Boot] [PATCH 00/51] gdsys: Add support for Gazerbeam board

2017-07-14 Thread Mario Six
: Reset CAT phy on CON2 module gdsys:phy: Adapt fixup_88e1518() to latest Release Notes mpc83xx: Add gazerbeam board Mario Six (45): i2c: fsl_i2c: Fix style violations i2c: fsl_i2c: Remove inline declarations gdsys: Post ppc4xx removal cleanup net: phy: marvell: Fix style violations net

[U-Boot] [PATCH 15/51] gpio: mpc85xx_gpio: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the MPC85XX GPIO driver. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/gpio/mpc85xx_gpio.c | 42 ++ 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/drivers/gpio/mpc85xx_gpio.c b/driver

[U-Boot] [PATCH 04/51] net: phy: marvell: Fix style violations

2017-07-14 Thread Mario Six
Fix some style violations in the Marvell PHY driver. Signed-off-by: Mario Six <mario@gdsys.cc> --- drivers/net/phy/marvell.c | 44 ++-- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/drivers/net/phy/marvell.c b/drivers/n

[U-Boot] [PATCH 03/51] gdsys: Post ppc4xx removal cleanup

2017-07-14 Thread Mario Six
ables from the whitelist). Signed-off-by: Mario Six <mario@gdsys.cc> --- board/gdsys/common/Makefile | 4 -- board/gdsys/common/miiphybb.c | 128 -- include/gdsys_fpga.h | 96 --- scripts/config_whitelist.tx

<    5   6   7   8   9   10   11   12   >