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 wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> Make the ihs_i2c driver DM-compatible; for legacy boards, the old functions >> are >> retained within #ifdefs. >> >> No board uses the new DM dri

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 wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> More recent versions of IHS FPGAs feature a different memory layout. >> >> Add a Kconfig option to differentiate between the legacy layout, and the >> new l

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 wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for the ICS8N3QV01 Quad-Frequency Programmable VCXO. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/clk/Kconfig |

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 wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a command to debug the IHS AXI bus. >> >> Signed-off-by: Mario Six >> --- >> >> cmd/Kconfig | 5 ++ >>

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:54, Mario Six wrote: >> From: Dirk Eibach >> >> Implement support for the Marvell Alaska X 88X2242P Integrated Dual-port >> and Quad-port Multi-speed Ethernet

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> For debug purposes it is sometimes useful to have the ability to >> interact with the driver functionality of a phy from the command line >&

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Commit 2a79275 ("dm: Add callback to modify the device tree") >> implemented a board-specific callback that can modify U-Boot's

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> This patch adds DM drivers for IHS FPGAs and their associated busses, as >> well as uclasses for both. >> >> Signed-off-by: Mario Six &

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> This patch adds a simple transmitter uclass meant for DVI or DisplayPort >> transmitters. The only driver functionality implemented are power_on and

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 wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for the TX side of the Xilinx LogiCore DisplayPort IP core. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/transmitter/Kcon

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for IHS OSDs on IHS FPGAs. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/misc/Kconfig |

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for RXAUI control on IHS FPGAs. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/misc/Kconfig

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add driver for the IHS IO endpoint on IHS FPGAs. > > Would UCLASS_MAILBOX work for this? > > Or MISC? > Hmm, we do need the enable_receive

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add command to query information from and write text to IHS OSDs. >> >> Signed-off-by: Mario Six >> --- >> >> cmd/Kconfig

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for the IHS AXI bus on IHS FPGAs. > > Can we make this uclass more generic by using AXI instead of IHS_AXI? > This should work. I&#

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a comman to debug the IHS FPGA's bus. >> >> Signed-off-by: Mario Six >> --- >> >> cmd/Kconfig| 5 ++ &

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:54, Mario Six wrote: >> From: Dirk Eibach >> >> m88e1510_config() is highly board-specific. So add an optional >> callback board_m88e1510_config() configurable b

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 wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> From: Dirk Eibach >> >> The gdsys gazerbeam board is based on a Freescale MPC8308 SOC. >> It boots from NOR-Flash, kernel and rootfs a

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 stage as the normal u-boot stage. >> Use C

Re: [U-Boot] [PATCH v2 3/3] dm: core: Add uclass_first/next_device_check()

2017-06-08 Thread Mario Six
Hi Simon, On Fri, Jun 9, 2017 at 12:41 AM, Simon Glass wrote: > Hi, > > On 23 April 2017 at 20:10, Simon Glass wrote: >> Sometimes it is useful to iterate through all devices in a uclass and >> skip over those which do not work correctly (e.g fail to probe). Add two >> new functions to provide t

[U-Boot] [PATCH] MAINTAINERS: mpc83xx: Add new custodian

2017-06-09 Thread Mario Six
/powerpc/cpu/mpc82*/ POWERPC MPC83XX -#M:Kim Phillips -S: Orphaned (Since 2016-02) +M: Mario Six +S: Maintained T: git git://git.denx.de/u-boot-mpc83xx.git F: arch/powerpc/cpu/mpc83xx/ F: arch/powerpc/include/asm/arch-mpc83xx/ -- 2.11.0

[U-Boot] [PATCH] linux/compat.h: Properly implement ndelay fallback

2016-11-18 Thread Mario Six
frequency, which leads to random failures of the I2C interface. To remedy this, we implement a proper, parameter-aware ndelay fallback for architectures that don't implement a real ndelay function. Reported-By: Jason Brown To: Tom Rini To: Heiko Schocher Signed-off-by: Mario Six ---

[U-Boot] [PATCH 06/17] dm: Add callback to modify the device tree

2016-11-23 Thread Mario Six
ff-by: Mario Six --- common/board_f.c | 3 +++ dts/Kconfig | 10 ++ include/asm-generic/global_data.h | 4 include/common.h | 1 + 4 files changed, 18 insertions(+) diff --git a/common/board_f.c b/common/board_f.c index 4b

[U-Boot] [PATCH 08/17] tools: kwbimage: Fix dest addr

2016-11-23 Thread Mario Six
eader length to get a correct entry point. Thus, we subtract the header size from the destination address, so that the execution address points at the actual entry point of the image. Other boards ignore both parameters anyway, so this change shouldn't concern them. Signed-off-by: Mario Six

[U-Boot] [PATCH 04/17] mvebu: Add board_pex_config()

2016-11-23 Thread Mario Six
Allow boards to do some initialization when PCIe comes up. Signed-off-by: Dirk Eibach --- arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c | 10 ++ arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/arch/arm/mach-mvebu/serdes/a38x/ctrl_pex.c b/

[U-Boot] [PATCH 02/17] arm: mvebu: Add gpio support

2016-11-23 Thread Mario Six
From: Dirk Eibach Add driver interface functions for the GPIO controller on the mvebu architecture (based on kirkwood). Signed-off-by: Dirk Eibach --- arch/arm/mach-mvebu/include/mach/gpio.h | 41 +++-- 1 file changed, 39 insertions(+), 2 deletions(-) diff --git a/

[U-Boot] [PATCH 00/17] arm: mvebu: Add gdsys ControlCenter-Compact board

2016-11-23 Thread Mario Six
oard function for manipulating the device tree is added, and secure boot for the mvebu architecture is implemented. Dirk Eibach (4): pci: mvebu: Fix Armada 38x support arm: mvebu: Add gpio support net: phy: Support Marvell 88E1680 arm: mvebu: Add gdsys ControlCenter-Compact board Mario Six

[U-Boot] [PATCH 05/17] arm: mvebu: spl.c: Remove useless gd declaration

2016-11-23 Thread Mario Six
From: Reinhard Pfau ddaa905 ("arm: mvebu: Add DM (driver model) support") removed the assignment of the gd pointer, but kept the (now superfluous) declaration of the gd pointer. Remove this declaration. Signed-off-by: Reinhard Pfau Signed-off-by: Mario Six --- arch/arm/mach-mvebu

[U-Boot] [PATCH 12/17] tools: kwbimage: Remove unused parameter

2016-11-23 Thread Mario Six
The parameter 'params' of the image_headersz_v1 function is never used by the function. Hence, remove it. Signed-off-by: Mario Six --- tools/kwbimage.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 12a72ea..cd34

[U-Boot] [PATCH 07/17] lib: tpm: Add command to flush resources

2016-11-23 Thread Mario Six
This patch adds a function to the TPM library, which allows U-Boot to flush resources, e.g. keys, from the TPM. Signed-off-by: Mario Six --- board/gdsys/p1022/controlcenterd-id.c | 9 --- include/tpm.h | 45 +++ lib/tpm.c

[U-Boot] [PATCH 10/17] tools: kwbimage: Fix arithmetic with void pointers

2016-11-23 Thread Mario Six
Arithmetic with void pointers, e.g. a - b where both a and b are void pointers, is undefined in the C standard. Since we are operating with byte data here, we switch the void pointers to uint8_t pointers, and add the necessary casts. Signed-off-by: Mario Six --- tools/kwbimage.c | 22

[U-Boot] [PATCH 09/17] tools: kwbimage: Fix style violations

2016-11-23 Thread Mario Six
Fix some style violations: - nine instances of missing blank lines after declarations - one overly long line - one split string (which also rewords an error message more concisely) - two superfluous else Signed-off-by: Mario Six --- tools/kwbimage.c | 25 + 1 file

[U-Boot] [PATCH 17/17] controlcenterdc: Make secure boot available

2016-11-23 Thread Mario Six
Make secure booting available for the controlcenterdc board (disabled by default). Signed-off-by: Reinhard Pfau Signed-off-by: Mario Six --- board/gdsys/38x/Kconfig | 9 + board/gdsys/38x/Makefile| 15 +++ board/gdsys/38x/kwbimage.cfg.in | 28

[U-Boot] [PATCH 11/17] tools: kwbimage: Reduce scope of variables

2016-11-23 Thread Mario Six
This patch reduces the scope of some variables. Signed-off-by: Mario Six --- tools/kwbimage.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/kwbimage.c b/tools/kwbimage.c index 6a110fc..12a72ea 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -204,7

[U-Boot] [PATCH 15/17] arm: mvebu: Implement secure boot

2016-11-23 Thread Mario Six
anism - The creation of convenience text files containing the necessary commands to write the efuses The KAK and CSK keys are expected to reside in the files kwb_kak.key and kwb_csk.key (OpenSSL 2048 bit private keys) in the top-level directory. Signed-off-by: Reinhard Pfau Signed-off-by: Mari

[U-Boot] [PATCH 03/17] net: phy: Support Marvell 88E1680

2016-11-23 Thread Mario Six
From: Dirk Eibach Add support for Marvell 88E1680 Integrated Octal 10/100/1000 Mbps Energy Efficient Ethernet Transceiver. Signed-off-by: Dirk Eibach --- drivers/net/phy/marvell.c | 51 +++ 1 file changed, 51 insertions(+) diff --git a/drivers/net/p

[U-Boot] [PATCH 01/17] pci: mvebu: Fix Armada 38x support

2016-11-23 Thread Mario Six
From: Dirk Eibach Armada 38x has four PCI ports, not three. The optimization in pci_init_board() seems to assume that every port has three lanes. This is obviously wrong, and breaks support for Armada 38x. Signed-off-by: Dirk Eibach --- arch/arm/mach-mvebu/include/mach/soc.h | 1 + drivers/p

[U-Boot] [PATCH 13/17] tools: kwbimage: Factor out add_binary_header_v1

2016-11-23 Thread Mario Six
In preparation of adding the creation of secure headers, we factor the add_binary_header_v1 function out of the image_create_v1 function. Signed-off-by: Mario Six --- tools/kwbimage.c | 146 ++- 1 file changed, 79 insertions(+), 67 deletions

[U-Boot] [PATCH 14/17] tools: kwbimage: Refactor line parsing and fix error

2016-11-23 Thread Mario Six
indiscriminately fed into atoi, causing a segfault. To correct this, we add a NULL check before feeding the extracted token to atoi, and print an error message in case the token is NULL. Signed-off-by: Mario Six --- tools/kwbimage.c | 157 ++- 1 file

[U-Boot] [PATCH 16/17] arm: mvebu: Add gdsys ControlCenter-Compact board

2016-11-23 Thread Mario Six
host - Atmel TPM Signed-off-by: Dirk Eibach Signed-off-by: Mario Six --- arch/arm/Kconfig | 1 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/controlcenterdc.dts | 629 + arch/arm/mach-mvebu/Kconfig | 4 + board/gdsys/38x

Re: [U-Boot] [PATCH 16/17] arm: mvebu: Add gdsys ControlCenter-Compact board

2016-12-02 Thread Mario Six
Hi Stefan, On Thu, Dec 1, 2016 at 10:57 AM, Stefan Roese wrote: > On 23.11.2016 16:12, Mario Six wrote: >> From: Dirk Eibach >> >> The gdsys ControlCenter Digital board is based on a Marvell Armada 38x >> SOC. >> >> It boots from SPI-Flash but can

Re: [U-Boot] [PATCH 07/17] lib: tpm: Add command to flush resources

2016-12-05 Thread Mario Six
Hi Simon, On Mon, Dec 5, 2016 at 7:24 AM, Simon Glass wrote: > On 1 December 2016 at 01:42, Stefan Roese wrote: >> (Adding Simon to Cc) >> >> On 23.11.2016 16:12, Mario Six wrote: >>> >>> This patch adds a function to the TPM library, which allows U-Boot

Re: [U-Boot] [PATCH 06/17] dm: Add callback to modify the device tree

2016-12-05 Thread Mario Six
Hi Simon, On Mon, Dec 5, 2016 at 7:24 AM, Simon Glass wrote: > Hi, > > On 1 December 2016 at 01:39, Stefan Roese wrote: >> (Adding Simon and Maxim to Cc) >> >> On 23.11.2016 16:12, Mario Six wrote: >>> >>> Certain boards come in different variations

Re: [U-Boot] [PATCH 15/17] arm: mvebu: Implement secure boot

2016-12-06 Thread Mario Six
Hi Stefan, On Thu, Dec 1, 2016 at 10:15 AM, Stefan Roese wrote: > On 23.11.2016 16:12, Mario Six wrote: >> The patch implements secure booting for the mvebu architecture. >> >> This includes: >> - The addition of secure headers and all needed signatures and keys in

[U-Boot] [PATCH v3] sandbox: Add 64-bit sandbox

2018-02-11 Thread Mario Six
From: Mario Six To debug device tree issues involving 32- and 64-bit platforms, it is useful to have a generic 64-bit platform available. Add a version of the sandbox that uses 64-bit integers for its physical addresses as well as a modified device tree. Signed-off-by: Mario Six --- v2 ->

Re: [U-Boot] Regression: gpio: pca953x_gpio: Make live-tree compatible

2018-02-28 Thread Mario Six
(Adding Simon, because of DM) Hi Martin, On Wed, Feb 28, 2018 at 7:27 PM, Martin Fuzzey wrote: > Hi, > > since this commit: > > commit f62ca2cd2ab8171f603960da9203ceb6ee8a1efd > Author: Mario Six > Date: Mon Jan 15 11:07:45 2018 +0100 > > gpio: pca953x_gpio

Re: [U-Boot] Regression: gpio: pca953x_gpio: Make live-tree compatible

2018-03-01 Thread Mario Six
On Thu, Mar 1, 2018 at 8:26 AM, Mario Six wrote: > (Adding Simon, because of DM) > > Hi Martin, > > On Wed, Feb 28, 2018 at 7:27 PM, Martin Fuzzey wrote: >> Hi, >> >> since this commit: >> >> commit f62ca2cd2ab8171f603960da9203ceb6ee8a1efd >>

Re: [U-Boot] Regression: gpio: pca953x_gpio: Make live-tree compatible

2018-03-01 Thread Mario Six
Hi Martin, On Thu, Mar 1, 2018 at 11:07 AM, Martin Fuzzey wrote: > Hi Mario, > > thank you for your very quick reply. > > > On 01/03/18 09:01, Mario Six wrote: >> >> >> Looks like that's it (from drivers/core/of_addr.c): >> >> * Note: We c

[U-Boot] [PATCH] gpio: pca953x_gpio: Support label setting from DT

2018-03-01 Thread Mario Six
perty "label" for the driver. If it exists, it is used to build a bank name of the form "%s@%x_" (where %x is still instantiated with the I2C address). If it does not exist, the legacy labeling scheme is used. Signed-off-by: Mario Six --- drivers/gpio/pca953x_gpio.c | 15 +++

[U-Boot] [PATCH] core: ofnode: Fix translation for #size-cells == 0

2018-03-05 Thread Mario Six
-live tree-case, whether the bus of the device whose address is about to be translated has size-cell size zero. If this is the case, we just read the address as a plain integer and return it, and only apply bus translations if the size-cell size if greater than zero. Signed-off-by: Mario Six Signed

[U-Boot] [PATCH] treewide: Fix gdsys mail addresses

2018-03-05 Thread Mario Six
From: Mario Six The @gdsys.cc addresses are supposed to be used for mailing lists. Switch all occurrences of @gdsys.de mail addresses to their @gdsys.cc equivalent. Also, Dirk's address was wrong in one place; fix that as well. Signed-off-by: Mario Six --- board/gdsys/a38x/MAINTAINERS

[U-Boot] [PATCH v2] core: ofnode: Fix translation for #size-cells == 0

2018-03-12 Thread Mario Six
-live tree-case, whether the bus of the device whose address is about to be translated has size-cell size zero. If this is the case, we just read the address as a plain integer and return it, and only apply bus translations if the size-cell size if greater than zero. Signed-off-by: Mario Six Signed

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

2017-08-13 Thread Mario Six
gt; +++ 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 (&decrementer_count); > - > - if (ret) > - return ret; > + interrupt_init_cpu (&decrementer_count); > > set_dec (decrementer_count); > > -- > 1.9.1 > Acked-by: Mario Six ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

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

2017-08-13 Thread Mario Six
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 needed as it is a constant. >> >> Cc: Mario Six >> C

[U-Boot] [PATCH v2] drivers: core: Add translation in live tree case

2017-11-23 Thread Mario Six
the live tree case as well. Signed-off-by: Mario Six --- Changes v1 -> v2: * Added IS_ENABLED(CONFIG_OF_TRANSLATE) case distinction --- drivers/core/ofnode.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/core/ofnode.c b/drivers/core/ofnode.c in

[U-Boot] [PATCH 1/2] drivers: Add devinfo uclass

2018-03-28 Thread Mario Six
methods to read generic data types (integers, strings, booleans) to encode the information provided by the hardware. Signed-off-by: Mario Six --- drivers/Kconfig | 2 ++ drivers/Makefile | 1 + drivers/devinfo/Kconfig | 17 drivers/devinfo

[U-Boot] [PATCH 2/2] devinfo: Add gazerbeam info driver

2018-03-28 Thread Mario Six
Add a device information driver for the upcoming gdsys Gazerbeam board. Signed-off-by: Mario Six --- drivers/devinfo/gazerbeam.c | 151 drivers/devinfo/gazerbeam.h | 17 + 2 files changed, 168 insertions(+) create mode 100644 drivers/devinfo

[U-Boot] [PATCH 3/3] core: Add dev_{disable,enable}_by_path

2018-03-28 Thread Mario Six
We cannot use device structures to disable devices, since getting them with the API functions would bind and activate the device, which would fail if the underlying device does not exist. Hence, add a function to disable devices by path in a live device tree. Signed-off-by: Mario Six

[U-Boot] [PATCH 1/3] core: Add function to get device for ofnode

2018-03-28 Thread Mario Six
It's sometimes useful to get the device associated with a given ofnode. Implement a function to implement this lookup operation. Signed-off-by: Mario Six --- drivers/core/ofnode.c | 15 +++ include/dm/ofnode.h | 8 2 files changed, 23 insertions(+) diff --git a/dr

[U-Boot] [PATCH 3/8] ram: Add driver for MPC83xx

2018-03-28 Thread Mario Six
Add a RAM driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/spd_sdram.c | 4 + drivers/ram/Kconfig| 8 + drivers/ram/Makefile | 1 + drivers/ram/mpc83xx_sdram.c| 948

[U-Boot] [PATCH 2/3] core: Add functions to set properties in live-tree

2018-03-28 Thread Mario Six
Implement a set of functions to manipulate properties in a live device tree: * ofnode_set_property() to set generic properties of a node * ofnode_write_string() to set string properties of a node * ofnode_enable() to enable a node * ofnode_disable() to disable a node Signed-off-by: Mario Six

[U-Boot] [PATCH 1/3] drivers: Add FPGA register map uclass

2018-03-28 Thread Mario Six
function for reading/writing plus a size parameter. Signed-off-by: Mario Six --- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/fpgamap/Kconfig | 9 +++ drivers/fpgamap/Makefile | 8 +++ drivers/fpgamap/fpgamap-uclass.c | 53

[U-Boot] [PATCH 2/3] fpgamap/misc: Add ihs_fpga and gdsys_soc drivers

2018-03-28 Thread Mario Six
This patch adds drivers for IHS FPGAs and their associated busses. Signed-off-by: Mario Six --- drivers/fpgamap/Kconfig | 11 + drivers/fpgamap/Makefile | 1 + drivers/fpgamap/ihs_fpgamap.c | 811 ++ drivers/misc/Kconfig | 10

[U-Boot] [PATCH 3/3] cmd: Add fpgamap command

2018-03-28 Thread Mario Six
Add a command to debug the IHS FPGA's bus. Signed-off-by: Mario Six --- cmd/Kconfig | 5 + cmd/Makefile | 2 + cmd/fpgamap.c | 306 ++ 3 files changed, 313 insertions(+) create mode 100644 cmd/fpgamap.c diff --git a/cmd/Kcon

[U-Boot] [PATCH 1/8] core: Add uclass_{first,next}_device_compat

2018-03-28 Thread Mario Six
functions similar to uclass_{first,next}_device, but taking a compatibility string as an additional argument, which cycle through the devices of a uclass that conform to this compatibility string. Signed-off-by: Mario Six --- drivers/core/uclass.c | 33 + include/dm

[U-Boot] [PATCH 4/8] clk: Add MPC83xx clock driver

2018-03-28 Thread Mario Six
Add a clock driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/speed.c | 4 + arch/powerpc/include/asm/config.h | 2 +- drivers/clk/Kconfig | 6 + drivers/clk/Makefile | 1 + drivers/clk/mpc83xx_clk.c

[U-Boot] [PATCH 2/2] misc: Add gdsys_ioep driver

2018-03-28 Thread Mario Six
Add driver for the IHS IO endpoint on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig | 6 +- drivers/misc/Makefile | 1 + drivers/misc/gdsys_ioep.c | 183 ++ drivers/misc/gdsys_ioep.h | 68 + 4 files changed

[U-Boot] [PATCH 8/8] misc: Add MPC83xx serdes driver

2018-03-28 Thread Mario Six
Add a driver to configure the SerDes (Serializer/Deserializer) lanes on the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/serdes.c | 4 + arch/powerpc/include/asm/fsl_mpc83xx_serdes.h | 4 + drivers/misc/Kconfig | 5

[U-Boot] [PATCH 3/7] treewide: Migrate CONFIG_LAST_STAGE_INIT to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_LAST_STAGE_INIT option to Kconfig. Signed-off-by: Mario Six --- common/Kconfig| 9 + configs/UCP1020_SPIFLASH_defconfig| 1 + configs/UCP1020_defconfig | 1 + configs

[U-Boot] [PATCH 1/2] misc: uclass: Add enable/disable functions

2018-03-28 Thread Mario Six
Add generic enable/disable functions to the misc uclass. Signed-off-by: Mario Six --- drivers/misc/misc-uclass.c | 20 include/misc.h | 30 ++ 2 files changed, 50 insertions(+) diff --git a/drivers/misc/misc-uclass.c b/drivers/misc

[U-Boot] [PATCH 1/2] ihs_mdio: Encapsulate register access

2018-03-28 Thread Mario Six
To prepare for DM conversion, encapsulate all register accesses in function calls. Signed-off-by: Mario Six --- board/gdsys/common/ihs_mdio.c | 41 ++--- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/board/gdsys/common/ihs_mdio.c b/board

[U-Boot] [PATCH 1/3] i2c: ihs_i2c: Use new fpgamap interface

2018-03-28 Thread Mario Six
The fpgamap interface has been switched to a "single function + data size" interface. Reflect this change in the IHS I2C driver. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 45 - 1 file changed, 24 insertions(+), 21 deletions(-) di

[U-Boot] [PATCH 3/3] cmd: Add osd commands

2018-03-28 Thread Mario Six
Add command to query information from and write text to IHS OSDs. Signed-off-by: Mario Six --- cmd/Kconfig | 16 +++ cmd/Makefile | 1 + cmd/osd.c| 366 +++ 3 files changed, 383 insertions(+) create mode 100644 cmd/osd.c diff

[U-Boot] [PATCH 3/3] i2c: fsl: Add option to get clock from DT

2018-03-28 Thread Mario Six
Add an option to get the clock speed from the device tree, hence adding compatibility with DM clock drivers. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index

[U-Boot] [PATCH 6/8] cpu: Add cpu_print_info function

2018-03-28 Thread Mario Six
Add a cpu_print_info function to the CPU uclass to emulate the behavior of some current non-DM drivers (e.g. MPC83xx) to print CPU information during startup. Signed-off-by: Mario Six --- drivers/cpu/cpu-uclass.c | 10 ++ include/cpu.h| 15 +++ 2 files changed

[U-Boot] [PATCH 4/7] treewide: Migrate CONFIG_DISPLAY_BOARDINFO_LATE to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_DISPLAY_BOARDINFO_LATE option to Kconfig. Signed-off-by: Mario Six --- common/Kconfig | 9 - include/configs/10m50_devboard.h| 1 - include/configs/3c120_devboard.h| 1 - include/configs/apalis-tk1.h| 1 - include/configs

[U-Boot] [PATCH 5/8] timer: Add MPC83xx timer driver

2018-03-28 Thread Mario Six
Add a timer driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/cpu.c | 4 +- arch/powerpc/lib/Makefile | 4 ++ arch/powerpc/lib/interrupts.c | 5 +- drivers/timer/Kconfig | 7 ++ drivers/timer/Makefile | 1 + drivers/timer

[U-Boot] [PATCH 4/7] test: Add AXI test

2018-03-28 Thread Mario Six
Add tests for the AXI uclass. Signed-off-by: Mario Six --- test/dm/Makefile | 1 + test/dm/axi.c| 74 2 files changed, 75 insertions(+) create mode 100644 test/dm/axi.c diff --git a/test/dm/Makefile b/test/dm/Makefile index

[U-Boot] [PATCH 2/4] net: Initialize as many ethernet devices as possible

2018-03-28 Thread Mario Six
the uclass_{first,next}_device_check functions to initialize as many ethernet devices as possible. Signed-off-by: Mario Six --- net/eth-uclass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/eth-uclass.c b/net/eth-uclass.c index 240b596534..2877700ff4 100644 --- a/net

[U-Boot] [PATCH 2/8] test: Add tests for uclass_{first, next}_device_compat

2018-03-28 Thread Mario Six
Add tests for the uclass_{first,next}_device_compat functions. Signed-off-by: Mario Six --- test/dm/core.c | 29 + 1 file changed, 29 insertions(+) diff --git a/test/dm/core.c b/test/dm/core.c index 052bf8fffb..7df197eb40 100644 --- a/test/dm/core.c +++ b/test/dm

[U-Boot] [PATCH 7/8] cpu: Add MPC83xx CPU driver

2018-03-28 Thread Mario Six
Add a CPU driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/cpu.c | 2 + arch/powerpc/cpu/mpc83xx/cpu_init.c | 2 + arch/powerpc/include/asm/processor.h | 2 + drivers/cpu/Kconfig | 7 + drivers/cpu/Makefile

[U-Boot] [PATCH 2/7] axi: Add AXI sandbox driver and simple emulator

2018-03-28 Thread Mario Six
Add test infrastructure and tests for the AXI uclass. Signed-off-by: Mario Six --- drivers/axi/Kconfig | 6 +++ drivers/axi/Makefile | 3 ++ drivers/axi/axi-emul-uclass.c | 68 drivers/axi/axi_sandbox.c | 61 ++ drivers

[U-Boot] [PATCH 2/3] video_osd: Add ihs_video_out driver

2018-03-28 Thread Mario Six
Add a driver for IHS OSDs on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig | 6 +- drivers/video/Kconfig | 7 ++ drivers/video/Makefile| 1 + drivers/video/ihs_video_out.c | 277 ++ 4 files changed, 290

[U-Boot] [PATCH 5/7] cmd: Add axi command

2018-03-28 Thread Mario Six
Add a command to debug the AXI bus. Signed-off-by: Mario Six --- cmd/Kconfig | 8 ++ cmd/Makefile | 2 + cmd/axi.c| 310 +++ 3 files changed, 320 insertions(+) create mode 100644 cmd/axi.c diff --git a/cmd/Kconfig b/cmd/Kconfig

[U-Boot] [PATCH] cmd: Add command for calculating binary operations

2018-03-28 Thread Mario Six
applications are manifold: Setting specific bits in registers using the regular read-OR-write pattern, masking out bits in bit values, implementation of simple OTP encryption using the XOR operation, etc. Signed-off-by: Mario Six --- cmd/Kconfig | 6 ++ cmd/Makefile | 1 + cmd/binop.c | 176

[U-Boot] [PATCH 7/7] treewide: Convert CONFIG_HOSTNAME to a string option

2018-03-28 Thread Mario Six
CONFIG_HOSTNAME is defined as a "plain" preprocessor string, but every use is couched by __stringify(...). Hence, convert it to a proper string option. Signed-off-by: Mario Six --- include/configs/BSC9131RDB.h | 2 +- include/configs/BSC9132QDS.h | 2 +- inclu

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

2018-03-28 Thread Mario Six
Add a driver for RXAUI control on IHS FPGAs. Signed-off-by: Mario Six --- drivers/misc/Kconfig| 6 ++- drivers/misc/Makefile | 1 + drivers/misc/gdsys_rxaui_ctrl.c | 91 + 3 files changed, 97 insertions(+), 1 deletion(-) create

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

2018-03-28 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 --- board/gdsys/common/ihs_mdio.c | 38 +- board/gdsys/common/ihs_mdio.h | 5 + 2 files changed, 38 insertions(+), 5

[U-Boot] [PATCH 2/3] i2c: fsl: Use dev_read_addr

2018-03-28 Thread Mario Six
Since bus translations are now fully supported, use a plain "dev_read_addr" to get the device address from the device tree. Signed-off-by: Mario Six --- drivers/i2c/fsl_i2c.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c

[U-Boot] [PATCH 1/7] treewide: Migrate CONFIG_SYS_ALT_MEMTEST to Kconfig

2018-03-28 Thread Mario Six
Migrate the CONFIG_SYS_ALT_MEMTEST option to Kconfig. Signed-off-by: Mario Six --- README| 3 --- cmd/Kconfig | 9 + configs/T1023RDB_NAND_defconfig | 1 + configs/T1023RDB_SDCARD_defconfig | 1

[U-Boot] [PATCH 1/3] pci: Don't use pci_indirect when DM is active

2018-03-28 Thread Mario Six
Declaration of indirect PCI bridges is not compatible with DM: Both define PCI operations, but in different ways. Hence, don't use indirect bridges if DM is active. Signed-off-by: Mario Six --- drivers/pci/pci_indirect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --

[U-Boot] [PATCH 7/7] video_display: Add Xilinx LogiCore DP TX

2018-03-28 Thread Mario Six
Add a driver for the Xilinx LogiCORE DisplayPort IP core. Signed-off-by: Mario Six --- drivers/video/Kconfig|8 + drivers/video/Makefile |1 + drivers/video/logicore_dp_dpcd.h | 342 ++ drivers/video/logicore_dp_tx.c | 1974

[U-Boot] [PATCH] reset: Add generic GPIO reset driver

2018-03-28 Thread Mario Six
Some reset lines are implemented by toggling the line via a GPIO. Add a driver to properly drive such reset lines. Signed-off-by: Mario Six --- drivers/reset/Kconfig | 7 drivers/reset/Makefile | 1 + drivers/reset/gpio-reset.c | 100

[U-Boot] [PATCH] gpio: uclass: Fix debug string

2018-03-28 Thread Mario Six
A debug string still has the old name of a function being called; update it. Signed-off-by: Mario Six --- drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-uclass.c b/drivers/gpio/gpio-uclass.c index 9faf3357af..1fbfdef477 100644

[U-Boot] [PATCH 1/3] drivers: Add OSD uclass

2018-03-28 Thread Mario Six
Some devices offer a text-based OSD (on-screen display) that can be programmatically controlled (i.e. text displayed on). Add a uclass to support such devices. Signed-off-by: Mario Six --- drivers/video/Kconfig| 8 +++ drivers/video/Makefile | 2 + drivers/video

[U-Boot] [PATCH 1/7] drivers: Add AXI uclass and ihs_axi driver

2018-03-28 Thread Mario Six
Add a uclass for AXI (Advanced eXtensible Interface) busses, and a driver for the gdsys IHS AXI bus on IHS FPGAs. Signed-off-by: Mario Six --- drivers/Kconfig | 2 + drivers/Makefile | 1 + drivers/axi/Kconfig | 24 ++ drivers/axi/Makefile | 9 +++ drivers

[U-Boot] [PATCH 1/4] net: Always align tx packets

2018-03-28 Thread Mario Six
Make sure that TX packets are always cache-aligned. Signed-off-by: Mario Six --- net/arp.c | 3 ++- net/ping.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net/arp.c b/net/arp.c index 4c79e09ccb..191434f5e2 100644 --- a/net/arp.c +++ b/net/arp.c @@ -182,7 +182,8

[U-Boot] [PATCH 4/4] phylib: Don't re-define CONFIG_PHY_MARVELL

2018-03-28 Thread Mario Six
For certain boards, having CONFIG_PHY_MARVELL in the defconfig will result in a redefinition warning, because it is also defined in config_phylib_all_drivers.h. Add a check to stop this redefinition, but keep it for those boards that still don't have it in their defconfig. Signed-off-by:

[U-Boot] [PATCH] cmd: ximg: Respect cache line size for flushing

2018-03-28 Thread Mario Six
Make sure that the cache line size if respected when flushing the cache. Signed-off-by: Mario Six --- cmd/ximg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ximg.c b/cmd/ximg.c index 21b5c37721..069c6ad39a 100644 --- a/cmd/ximg.c +++ b/cmd/ximg.c @@ -249,7 +249,7

[U-Boot] [PATCH 3/3] pci: Add MPC83xx PCIe driver

2018-03-28 Thread Mario Six
Add a PCIe driver for the MPC83xx architecture. Signed-off-by: Mario Six --- arch/powerpc/cpu/mpc83xx/pcie.c | 4 + drivers/pci/Kconfig | 16 ++ drivers/pci/Makefile| 1 + drivers/pci/pcie_mpc83xx.c | 442 4 files

<    2   3   4   5   6   7   8   9   10   11   >