Re: [U-Boot] [PATCH v3 8/8] timer: Sort Kconfig driver entries

2018-10-15 Thread sjg
This is currently out of order. Sort it. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: - rebase on u-boot/master so that patch [4/8] can be applied cleanly Changes in v2: None drivers/timer/Kconfig | 110 +- 1 file

Re: [U-Boot] [PATCH v3 7/8] test: dm: core: Add a test case for driver marked with DM_FLAG_PRE_RELOC flag

2018-10-15 Thread sjg
Now that we fixed the pre-relocation driver binding for driver marked with DM_FLAG_PRE_RELOC flag, add a test case to cover that scenario. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/sandbox/dts/test.dts | 4 test/dm/bus.c

Re: [U-Boot] [PATCH v11 01/16] test: regmap: Increase size of syscon0 memory

2018-10-15 Thread sjg
The upcoming changes to the regmap interface will contain a proper check for plausibility when reading/writing from/to a register map. To still have the current tests pass, increase the size of the memory region for the syscon0 device, since one of the tests reads and writes beyond this range.

Re: [U-Boot] [PATCH v11 15/16] misc: Add gdsys_soc driver

2018-10-15 Thread sjg
This patch adds a driver for the bus associated with a IHS FPGA. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No

Re: [U-Boot] [PATCH v3 04/13] net: ftgmac100: use setbits_le32() in the reset method

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:46 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 12/13] aspeed: Activate ethernet devices on the ast2500 Eval Board

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:51 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater > Reviewed-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 09/13] aspeed: ast2500: fix missing break in D2PLL clock enablement

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:50 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater > Reviewed-by: Joel Stanley > Reviewed-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v11 16/16] misc: Add IHS FPGA driver

2018-10-15 Thread sjg
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which supports initialization of the FPGA, as well as information gathering. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 ->

Re: [U-Boot] [PATCH] core: ofnode: Fix mem leak in error path

2018-10-15 Thread sjg
A newly created property is currently not freed if a name could not be allocated. This patch fixes the resulting memory leak in the error patch. Reported-by: Coverity (CID: 184085) Fixes: e369e58df79c ("core: Add functions to set properties in live-tree") Signed-off-by: Mario Six ---

Re: [U-Boot] [PATCH v3 05/13] net: ftgmac100: add MDIO bus and phylib support

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:46 AM Cédric Le Goater wrote: > > Implement the MDIO bus read/write functions using the readl_poll_timeout() > routine, initialize the bus and scan for the PHY. RGMII and RMII mode > are supported. > > Signed-off-by: Cédric Le Goater Acked-by: Joe Hershberger

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

2018-10-15 Thread Stephen Warren
On 10/15/18 2:17 PM, Simon Glass wrote: Hi Tom, The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400) are available in the Git repository at:

Re: [U-Boot] [PATCH v11 02/16] regmap: Fix documentation

2018-10-15 Thread sjg
The documentation in regmap.h is not in kernel-doc format. Correct this. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes

Re: [U-Boot] [PATCH v11 14/16] misc: Sort Makefile entries

2018-10-15 Thread sjg
Makefile entries should be sorted. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six Signed-off-by: Anatolij Gustschin --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4

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

2018-10-15 Thread Simon Glass
Hi Tom, The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/pull-15oct-18 for

Re: [U-Boot] [PATCH v3 07/13] net: ftgmac100: handle timeouts when transmitting

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:48 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater > --- > drivers/net/ftgmac100.c | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c > index b46187b567c6..edf34c601c68 100644 >

[U-Boot] [PATCH] arm: socfpga: fpga: fix type of local variable

2018-10-15 Thread Simon Goldschmidt
The 'status' variable in 'socfpga_load()' for both gen5 and arria10 is of type 'unsigned long' while it is always used as 'int' only. Change it to 'int'. Signed-off-by: Simon Goldschmidt --- drivers/fpga/socfpga_arria10.c | 2 +- drivers/fpga/socfpga_gen5.c| 2 +- 2 files changed, 2

Re: [U-Boot] [PATCH v3 5/8] dm: Correct pre_reloc_only parameter description in several APIs' comments

2018-10-15 Thread sjg
The pre_reloc_only parameter description currently only mentions drivers with the DM_FLAG_PRE_RELOC flag, but does not mention the special device tree properties. Correct them. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH v3 2/8] cpu: mpc83xx: Remove unnecessary characters in the description string

2018-10-15 Thread sjg
The description string should not contain unnecessary characters, like the ending '\n' or the leading 'CPU:'. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/cpu/mpc83xx_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied

Re: [U-Boot] [PATCH v3 6/8] dm: core: Mirror the chosen node parse logic in the livetree scanning

2018-10-15 Thread sjg
Commit f2006808f099: ("dm: core: parse chosen node") added a logic to parse the chosen node during dm_scan_fdt_node(), but unfortunately it missed adding the same logic in dm_scan_fdt_live(). This mirrors the logic in the livetree version. The weird thing is that commit f2006808f099 did update

Re: [U-Boot] [PATCH v3 4/8] dm: core: Respect drivers with the DM_FLAG_PRE_RELOC flag in lists_bind_fdt()

2018-10-15 Thread sjg
Currently the comments of several APIs (eg: dm_init_and_scan()) say: @pre_reloc_only: If true, bind only drivers with the DM_FLAG_PRE_RELOC flag. If false bind all drivers. The 'Pre-Relocation Support' chapter in doc/driver-model/README.txt documents the same that both device tree properties and

Re: [U-Boot] [PATCH v3 1/8] dm: cpu: Fix print_cpuinfo() output

2018-10-15 Thread sjg
It was observed that current output of print_cpuinfo() on QEMU x86 targets does not have an ending '\n', neither have a leading 'CPU:' any more. However it used to have these before. It turns out commit c0434407b595 introduced a unified DM version of print_cpuinfo() that exposed such issue on

Re: [U-Boot] [PATCH v3 03/13] net: ftgmac100: convert to driver model

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:45 AM Cédric Le Goater wrote: > > The driver is based on the previous one and the code is only adapted > to fit the driver model. The support for the Faraday ftgmac100 > controller is the same with MAC and MDIO bus support for RGMII/RMII > modes. > > Configuration is

Re: [U-Boot] [PATCH 1/1] sandbox: clone host Ethernet address

2018-10-15 Thread Joe Hershberger
On Sun, Oct 14, 2018 at 7:16 PM Heinrich Schuchardt wrote: > > Wireless routers may not accept multiple MAC addresses to bind via the same > WLAN session. To make the sandbox usable in a wireless environment we > therefore should clone the host Ethernet address. > > Without the patch DHCP is

Re: [U-Boot] [PATCH v5 13/13] buildman: Add a --boards option to specify particular boards to build

2018-10-15 Thread Simon Glass
On 11 June 2018 at 23:26, Simon Glass wrote: > > At present 'buildman sandbox' will build all 5 boards for the sandbox > architecture rather than the single board 'sandbox'. The only current way > to exclude sandbox_spl, sandbox_noblk, etc. is to use -x which is a bit > clumbsy. > > Add a

Re: [U-Boot] [PATCH v9 10/18] sandbox: Try to start the RAM buffer at a particular address

2018-10-15 Thread Simon Glass
On 14 September 2018 at 09:46, Simon Glass wrote: > Hi Alex, > > On 26 August 2018 at 19:01, Alexander Graf wrote: >> >> >> On 08.08.18 11:54, Simon Glass wrote: >>> Use a starting address of 256MB which should be available. This helps to >>> make sandbox RAM buffers pointers more recognisable.

Re: [U-Boot] [PATCH v3 06/13] net: ftgmac100: convert the RX/TX descriptor arrays

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:47 AM Cédric Le Goater wrote: > > Use simple arrays under the device priv structure to hold the RX and > TX descriptors and handle memory coherency by invalidating or flushing > the d-cache when required. > > Signed-off-by: Cédric Le Goater Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH 26/27] virtio: net: Support non-legacy device

2018-10-15 Thread Joe Hershberger
On Sun, Sep 23, 2018 at 8:58 AM Bin Meng wrote: > > For v1.0 compliant device, it always assumes the member 'num_buffers' > exists in the struct virtio_net_hdr while the legacy driver only > presented 'num_buffers' when VIRTIO_NET_F_MRG_RXBUF was negotiated. > Without that feature the structure

Re: [U-Boot] [PATCH v3 3/8] dm: util: Add a livetree equivalent API of dm_fdt_pre_reloc()

2018-10-15 Thread sjg
This adds a new API dm_ofnode_pre_reloc(), a livetree equivalent API of dm_fdt_pre_reloc(). Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/util.c | 25 + include/dm/util.h | 27 ++- 2

Re: [U-Boot] [PATCH v3 01/13] net: ftgmac100: use the BIT() macro

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:43 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater > --- Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 10/13] net: ftgmac100: Add support for the Aspeed SoC

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:51 AM Cédric Le Goater wrote: > > The Faraday ftgmac100 MAC controllers as found on the Aspeed SoCs have > some slight differences in the HW interface (End-Of-Rx/Tx-Ring bits). > > Signed-off-by: Cédric Le Goater > Reviewed-by: Simon Glass Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH v3 13/13] aspeed: ast2500: fix D2-PLL clock setting in RGMII mode

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:46 AM Cédric Le Goater wrote: > > The algorithm in the ast2500_calc_clock_config() routine suffers from > integer rounding and the requested rate does not get the appropriate > set of Numerator, Denumerator, Post Divider parameters. > > This is the case for the D2-PLL

Re: [U-Boot] [PATCH 1/2] net: mvpp2: fix polarity of PHY reset signal

2018-10-15 Thread Joe Hershberger
On Mon, Oct 15, 2018 at 5:18 AM Baruch Siach wrote: > > The dm_gpio_set_value() call sets the logical level of the GPIO signal. > That is, it takes the GPIO_ACTIVE_{LOW,HIGH} property into account. The > driver needs to assert the reset, and then deassert it. Not the other > way around. > > Cc:

Re: [U-Boot] [PATCH v3 02/13] net: ftgmac100: use the aligned() macro

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:43 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 08/13] net: ftgmac100: add clock support

2018-10-15 Thread Joe Hershberger
On Wed, Oct 10, 2018 at 6:48 AM Cédric Le Goater wrote: > > Signed-off-by: Cédric Le Goater Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2] net: Add MT76xx ethernet driver

2018-10-15 Thread Joe Hershberger
On Mon, Oct 8, 2018 at 8:50 AM Stefan Roese wrote: > > This patch adds ethernet support for the Mediatek MT76xx SoC, including > a minimum setup of the integrated switch. This driver is loosly based on > the driver version included in this MediaTek github repository: > >

Re: [U-Boot] [PATCH v11 04/16] regmap: Improve error handling

2018-10-15 Thread sjg
ofnode_read_simple_addr_cells may fail and return a negative error code. Check for this when initializing regmaps. Also check if both_len is zero, since this is perfectly possible, and would lead to a division-by-zero further down the line. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon

Re: [U-Boot] [PATCH v11 03/16] regmap: Add documentation

2018-10-15 Thread sjg
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No

Re: [U-Boot] [PATCH 1/1] sandbox: dt: sandbox.dts set skip-localhost = <1>

2018-10-15 Thread Joe Hershberger
On Sun, Oct 14, 2018 at 2:27 PM Heinrich Schuchardt wrote: > > The local interface is not usable for many network operations. It has been > disabled in all sandbox device trees except sandbox.dts. Let's disable it > here too. > > 'bootefi selftest' tries to do execute DHCP. This fails on the lo

Re: [U-Boot] [PATCH 2/2] net: mvpp2: increase PHY reset pulse

2018-10-15 Thread Joe Hershberger
On Mon, Oct 15, 2018 at 5:17 AM Baruch Siach wrote: > > The default Linux PHY reset delay is 10ms. This is also the requirement > for Marvell 88E151x PHYs, which are likely to be used with this Ethernet > MAC. > > Cc: Stefan Chulski > Signed-off-by: Baruch Siach Acked-by: Joe Hershberger

[U-Boot] [PATCH] armv8: lx2160ardb : Add support for LX2160ARDB platform

2018-10-15 Thread Priyanka Jain
LX2160ARDB is an evaluation board that supports LX2160A family SoCs. This patch add base support for this board. Signed-off-by: Wasim Khan Signed-off-by: Yogesh Gaur Signed-off-by: Meenakshi Aggarwal Signed-off-by: Vabhav Sharma Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [PATCH v11 14/16] misc: Sort Makefile entries

2018-10-15 Thread Mario Six
Makefile entries should be sorted. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six Signed-off-by: Anatolij Gustschin --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4

[U-Boot] [PATCH v11 16/16] misc: Add IHS FPGA driver

2018-10-15 Thread Mario Six
Add a driver for gdsys IHS (Integrated Hardware Systems) FPGAs, which supports initialization of the FPGA, as well as information gathering. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 ->

[U-Boot] [PATCH v11 12/16] regmap: Add endianness support

2018-10-15 Thread Mario Six
Add support for switching the endianness of regmap accesses via the "little-endian", "big-endian", and "native-endian" boolean properties in the device tree. The default endianness is native endianness. Signed-off-by: Mario Six Reviewed-by: Simon Glass Reviewed-by: Daniel Schwierzeck --- v10

[U-Boot] [PATCH v11 06/16] regmap: Add error output

2018-10-15 Thread Mario Six
Add some debug output in cases where the initialization of a regmap fails. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No

[U-Boot] [PATCH v11 05/16] regmap: Introduce init_range

2018-10-15 Thread Mario Six
Both fdtdec_get_addr_size_fixed and of_address_to_resource can fail with an error, which is not currently checked during regmap initialization. Since the indentation depth is already quite deep, extract a new 'init_range' method to do the initialization. Reviewed-by: Anatolij Gustschin

[U-Boot] [PATCH v11 07/16] mips: Implement {in, out}_{le, be}_{16, 32, 64} and {in, out}_8

2018-10-15 Thread Mario Six
MIPS is the only architecture currently supported by U-Boot that does not implement any of the in/out register access functions. To have a interface that is useable across architectures, add the functions to the MIPS architecture (implemented using the __raw_write and __raw_read functions).

[U-Boot] [PATCH v11 11/16] test: regmap: Add test for regmap_{set, get}

2018-10-15 Thread Mario Six
Add test for regmap_{set,get} functions. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4:

[U-Boot] [PATCH v11 02/16] regmap: Fix documentation

2018-10-15 Thread Mario Six
The documentation in regmap.h is not in kernel-doc format. Correct this. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes

[U-Boot] [PATCH v11 13/16] regmap: Add overview documentation

2018-10-15 Thread Mario Six
Add some overview documentation that explains the purpose and some of the features and limitations of the regmap interface. Reviewed-by: Bin Meng Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: * Amended for inclusion of endianness setting via DT v7 ->

[U-Boot] [PATCH v11 08/16] regmap: Add raw read/write functions

2018-10-15 Thread Mario Six
The regmap functions currently assume that all register map accesses have a data width of 32 bits, but there are maps that have different widths. To rectify this, implement the regmap_raw_read and regmap_raw_write functions from the Linux kernel API that specify the width of a desired read or

[U-Boot] [PATCH v11 10/16] regmap: Define regmap_{get,set}

2018-10-15 Thread Mario Six
It would be convenient if one could use the regmap API in conjunction with register maps defined as structs (i.e. structs that directly mirror the memory layout of the registers in question). A similar approach was planned with the regmap_write32/regmap_read32 macros, but was never used. Hence,

[U-Boot] [PATCH v11 09/16] regmap: Support reading from specific range

2018-10-15 Thread Mario Six
It is useful to be able to treat the different ranges of a regmap separately to be able to use distinct offset for them, but this is currently not implemented in the regmap API. To preserve backwards compatibility, add regmap_read_range and regmap_write_range functions that take an additional

Re: [U-Boot] [PATCH v2 1/2] cpu: Add DM_FLAG_PRE_RELOC flag to various cpu drivers

2018-10-15 Thread Stefan Roese
On 14.10.2018 10:07, Bin Meng wrote: It turns out commit c0434407b595 broke some boards which have DM CPU driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail to boot when print_cpuinfo() is called during boot. Fixes: c0434407b595 ("board_f: Use static print_cpuinfo if

Re: [U-Boot] [PATCH v2 2/2] cpu: sandbox: Add "u-boot, dm-pre-reloc" for all cpu nodes

2018-10-15 Thread Stefan Roese
On 14.10.2018 10:07, Bin Meng wrote: To support CONFIG_DISPLAY_CPUINFO, add "u-boot,dm-pre-reloc" for all cpu nodes in Sandbox test.dts. Signed-off-by: Bin Meng Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v11 04/16] regmap: Improve error handling

2018-10-15 Thread Mario Six
ofnode_read_simple_addr_cells may fail and return a negative error code. Check for this when initializing regmaps. Also check if both_len is zero, since this is perfectly possible, and would lead to a division-by-zero further down the line. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon

[U-Boot] [PATCH v11 01/16] test: regmap: Increase size of syscon0 memory

2018-10-15 Thread Mario Six
The upcoming changes to the regmap interface will contain a proper check for plausibility when reading/writing from/to a register map. To still have the current tests pass, increase the size of the memory region for the syscon0 device, since one of the tests reads and writes beyond this range.

Re: [U-Boot] [PATCH v10 08/16] regmap: Add raw read/write functions

2018-10-15 Thread Mario Six
Hi Simon, On Sat, Oct 13, 2018 at 3:52 PM Simon Glass wrote: > > Hi Mario, > > On 4 October 2018 at 01:00, Mario Six wrote: > > The regmap functions currently assume that all register map accesses > > have a data width of 32 bits, but there are maps that have different > > widths. > > > > To

Re: [U-Boot] [PATCH v2 1/1] efi_loader: PSCI reset and shutdown

2018-10-15 Thread Sumit Garg
On Sat, 13 Oct 2018 at 12:42, Heinrich Schuchardt wrote: > > When an operating system started via bootefi tries to reset or power off > this is done by calling the EFI runtime ResetSystem(). On most ARMv8 system > the actual reset relies on PSCI. Depending on whether the PSCI firmware > resides

[U-Boot] [PATCH v11 15/16] misc: Add gdsys_soc driver

2018-10-15 Thread Mario Six
This patch adds a driver for the bus associated with a IHS FPGA. Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No

[U-Boot] [PATCH v11 03/16] regmap: Add documentation

2018-10-15 Thread Mario Six
Document the regmap_alloc() function. Reviewed-by: Anatolij Gustschin Reviewed-by: Simon Glass Signed-off-by: Mario Six --- v10 -> v11: No changes v9 -> v10: No changes v8 -> v9: No changes v7 -> v8: No changes v6 -> v7: No changes v5 -> v6: No changes v4 -> v5: No changes v3 -> v4: No

Re: [U-Boot] [PATCH 1/2] riscv: configs: Separate ax25-ae350 for 32/64 bit.

2018-10-15 Thread Rick Chen
Bin Meng 於 2018年10月8日 週一 下午11:51寫道: > > Hi Rick, > > On Mon, Oct 8, 2018 at 1:36 PM Andes wrote: > > > > From: Rick Chen > > > > Separate ax25-ae350 from one to two for > > 32 and 64 bit individually. And also select > > different dts for 32 and 64 bit. > > > > Signed-off-by: Rick Chen > > Cc:

Re: [U-Boot] [PATCH v2 1/1] efi_loader: PSCI reset and shutdown

2018-10-15 Thread Sumit Garg
On Mon, 15 Oct 2018 at 22:00, Heinrich Schuchardt wrote: > > On 10/15/2018 09:34 AM, Sumit Garg wrote: > > On Sat, 13 Oct 2018 at 12:42, Heinrich Schuchardt > > wrote: > >> > >> When an operating system started via bootefi tries to reset or power off > >> this is done by calling the EFI runtime

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

2018-10-15 Thread Stephen Warren
On 10/15/18 3:53 PM, Stephen Warren wrote: On 10/15/18 2:17 PM, Simon Glass wrote: Hi Tom, The following changes since commit 6e7a186dc5d50f563e224e9ae7be70defff7ee0d:    Merge tag 'arc-more-updates-for-2018.11-rc2-2' of git://git.denx.de/u-boot-arc (2018-10-15 07:20:07 -0400) are

[U-Boot] [ANN] U-Boot v2018.11-rc2 released

2018-10-15 Thread Tom Rini
Hey all, So it's release day and I've put up v2018.11-rc2, I've updated git and the tarballs are also up now. Thanks again to having signed tags, between -rc1 and -rc2 we have (including but not limited to): - The SPI-NAND changes have fully been integrated now. - ARM Versatile Express updates -

Re: [U-Boot] [GIT PULL] Xilinx changes for v2018.11-rc2

2018-10-15 Thread Tom Rini
On Mon, Oct 15, 2018 at 04:25:01PM +0200, Michal Simek wrote: > Hi Tom, > > please consider to pull these patches to your tree. > Buildmain for xilinx boards looks good and travis is not done yet but > link is here (I have seen several timeouts recently but it was there > even on clear

Re: [U-Boot] [PATCH] riscv: dts: Sync to Linux Kernel ae350 dts.

2018-10-15 Thread Bin Meng
Hi Rick, On Tue, Oct 16, 2018 at 9:25 AM Rick Chen wrote: > > Bin Meng 於 2018年10月8日 週一 下午1:49寫道: > > > > Hi Rick, > > > > On Mon, Oct 8, 2018 at 1:33 PM Andes wrote: > > > > > > From: Rick Chen > > > > > > Use same dts to boot U-Boot and Kernel. > > > > > > Following are the change notes : >

Re: [U-Boot] [PATCH 1/1] sandbox: dt: sandbox.dts set skip-localhost = <1>

2018-10-15 Thread Joe Hershberger
Hi Heinrich, On Mon, Oct 15, 2018 at 7:20 PM Heinrich Schuchardt wrote: > > On 10/15/2018 11:52 PM, Joe Hershberger wrote: > > On Sun, Oct 14, 2018 at 2:27 PM Heinrich Schuchardt > > wrote: > >> > >> The local interface is not usable for many network operations. It has been > >> disabled in

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

2018-10-15 Thread Bin Meng
Hi Stephen, On Tue, Oct 16, 2018 at 6:43 AM Stephen Warren wrote: > > On 10/15/18 3:53 PM, Stephen Warren wrote: > > On 10/15/18 2:17 PM, Simon Glass wrote: > >> Hi Tom, > >> > >> The following changes since commit > >> 6e7a186dc5d50f563e224e9ae7be70defff7ee0d: > >> > >>Merge tag

Re: [U-Boot] [PATCH] riscv: dts: Sync to Linux Kernel ae350 dts.

2018-10-15 Thread Rick Chen
Bin Meng 於 2018年10月8日 週一 下午1:49寫道: > > Hi Rick, > > On Mon, Oct 8, 2018 at 1:33 PM Andes wrote: > > > > From: Rick Chen > > > > Use same dts to boot U-Boot and Kernel. > > > > Following are the change notes : > > 1 Remove early printk bootargs. > > 2 Timer frequency are changed to 60MHz. > > 3

Re: [U-Boot] [PATCH 1/1] sandbox: dt: sandbox.dts set skip-localhost = <1>

2018-10-15 Thread Heinrich Schuchardt
On 10/15/2018 11:52 PM, Joe Hershberger wrote: > On Sun, Oct 14, 2018 at 2:27 PM Heinrich Schuchardt > wrote: >> >> The local interface is not usable for many network operations. It has been >> disabled in all sandbox device trees except sandbox.dts. Let's disable it >> here too. >> >> 'bootefi

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

2018-10-15 Thread Tom Rini
On Tue, Oct 16, 2018 at 07:43:21AM +0800, Bin Meng wrote: > Hi Stephen, > > On Tue, Oct 16, 2018 at 6:43 AM Stephen Warren wrote: > > > > On 10/15/18 3:53 PM, Stephen Warren wrote: > > > On 10/15/18 2:17 PM, Simon Glass wrote: > > >> Hi Tom, > > >> > > >> The following changes since commit > >

[U-Boot] [PATCH 1/3] tools: add i.MX8/8X image support

2018-10-15 Thread Peng Fan
i.MX8/8X bootable image type is container type. The bootable image, containers a container set which supports two container. The 1st container is for SECO firmware, the 2nd container needs to include scfw, m4_0/1 image, ACore images per your requirement. Signed-off-by: Peng Fan --- Note: This

[U-Boot] [PATCH 2/3] arm: imx: include imx8image support

2018-10-15 Thread Peng Fan
When building i.MX8/8X board, use imx8image type. `-e $(CONFIG_SYS_TEXT_BASE)` is not needed, but no harm to keep it for i.MX8/8X Signed-off-by: Peng Fan --- arch/arm/mach-imx/Makefile | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git

[U-Boot] [PATCH 3/3] imx: imx8qxp_mek: update to build image in U-Boot

2018-10-15 Thread Peng Fan
Update README Add imximage.cfg Update defconfig to include imximage.cfg Signed-off-by: Peng Fan --- board/freescale/imx8qxp_mek/README | 41 ++-- board/freescale/imx8qxp_mek/imximage.cfg | 25 +++ configs/imx8qxp_mek_defconfig| 1 +

[U-Boot] [PATCH v2] armv8: lx2160a: add eSDHC nodes

2018-10-15 Thread Yinbo Zhu
This patch is to add eSDHC nodes for lx2160a. Signed-off-by: Yinbo Zhu --- Change in v2: squash patch "add some minor fixes on esdhc node" to this patch arch/arm/dts/fsl-lx2160a-rdb.dts |8 arch/arm/dts/fsl-lx2160a.dtsi| 25 + 2 files

Re: [U-Boot] [PATCH 2/2] riscv: dts: Add ae350_32.dts for 32 bit

2018-10-15 Thread Rick Chen
Bin Meng 於 2018年10月8日 週一 下午11:48寫道: > > Hi Rick, > > On Mon, Oct 8, 2018 at 1:37 PM Andes wrote: > > > > From: Rick Chen > > > > Add ae350_32.dts for 32 bit. And also rename > > ae350.dts to ae350_64.dts for 64 bit. > > > > Signed-off-by: Rick Chen > > Cc: Greentime Hu > > --- > >

Re: [U-Boot] [PATCH] riscv: dts: Sync to Linux Kernel ae350 dts.

2018-10-15 Thread Rick Chen
Bin Meng 於 2018年10月16日 週二 上午9:43寫道: > > Hi Rick, > > On Tue, Oct 16, 2018 at 9:25 AM Rick Chen wrote: > > > > Bin Meng 於 2018年10月8日 週一 下午1:49寫道: > > > > > > Hi Rick, > > > > > > On Mon, Oct 8, 2018 at 1:33 PM Andes wrote: > > > > > > > > From: Rick Chen > > > > > > > > Use same dts to boot

[U-Boot] [PATCH v3 04/31] dm: Add a new uclass driver for VirtIO transport devices

2018-10-15 Thread Bin Meng
This adds a new virtio uclass driver for “virtio” [1] family of devices that are are found in virtual environments like QEMU, yet by design they look like physical devices to the guest. The uclass driver provides child_pre_probe() and child_post_probe() methods to do some common operations for

[U-Boot] [PATCH v3 05/31] virtio: Add codes for virtual queue/ring management

2018-10-15 Thread Bin Meng
From: Tuomas Tynkkynen This adds support for managing virtual queue/ring, the channel for high performance I/O between host and guest. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/virtio/Makefile

[U-Boot] [PATCH 2/2] net: mvpp2: increase PHY reset pulse

2018-10-15 Thread Baruch Siach
The default Linux PHY reset delay is 10ms. This is also the requirement for Marvell 88E151x PHYs, which are likely to be used with this Ethernet MAC. Cc: Stefan Chulski Signed-off-by: Baruch Siach --- drivers/net/mvpp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/2] net: mvpp2: fix polarity of PHY reset signal

2018-10-15 Thread Baruch Siach
The dm_gpio_set_value() call sets the logical level of the GPIO signal. That is, it takes the GPIO_ACTIVE_{LOW,HIGH} property into account. The driver needs to assert the reset, and then deassert it. Not the other way around. Cc: Stefan Chulski Signed-off-by: Baruch Siach ---

Re: [U-Boot] [uboot-snps-arc] Please pull ARC changes

2018-10-15 Thread Alexey Brodkin
Hi Tom, Not sure why that duplicate email appeared... Either my mailer became crazy or I'm fatfingering :( Sorry for that! Though I'll re-send a pull-request as I did miss one important patch. -Alexey On Mon, 2018-10-15 at 10:22 +, Alexey Brodkin wrote: > Hi Tom, > > The following

[U-Boot] [PATCH v3 02/31] test: dm: core: Add test case for uclass driver's child_post_probe()

2018-10-15 Thread Bin Meng
Add test case to cover uclass driver's child_post_probe() method. Signed-off-by: Bin Meng --- Changes in v3: None Changes in v2: - new patch to add test case for uclass driver's child_post_probe() include/dm/test.h | 1 + test/dm/bus.c | 45

[U-Boot] [PATCH v3 22/31] arm: qemu: Add a Kconfig in the board directory

2018-10-15 Thread Bin Meng
This adds a Kconfig file in the board directory, so that some board-specific options can be specified there. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/Kconfig | 1 + board/emulation/qemu-arm/Kconfig | 9 +

[U-Boot] [PATCH v3 20/31] x86: Implement arch-specific io accessor routines

2018-10-15 Thread Bin Meng
At present the generic io{read,write}{8,16,32} routines only support MMIO access. With architecture like x86 that has a separate IO space, these routines cannot be used to access I/O ports. Implement x86-specific version to support both PIO and MMIO access, so that drivers for multiple

[U-Boot] [PATCH v3 31/31] doc: Document virtio support

2018-10-15 Thread Bin Meng
Add REAME.virtio to describe the information about U-Boot support for VirtIO devices, including supported boards, build instructions, driver details etc. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Added driver remove and flags description in the

[U-Boot] Please pull ARC changes

2018-10-15 Thread Alexey Brodkin
Hi Tom, The following changes since commit 3d5ced9e22d32112a20f9dc0f5fb1f22ef088079: Merge tag 'dm-9oct18' of git://git.denx.de/u-boot-dm (2018-10-10 13:35:17 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-more-updates-for-2018.11-rc2 for you to

[U-Boot] [PATCH v3 16/31] virtio: cmd: Add virtio command for virtio devices

2018-10-15 Thread Bin Meng
From: Tuomas Tynkkynen Add 'virtio' command in U-Boot command line. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None cmd/Kconfig | 7 +++ cmd/Makefile | 1 + cmd/virtio.c | 38

[U-Boot] [PATCH v3 15/31] virtio: Add block driver support

2018-10-15 Thread Bin Meng
From: Tuomas Tynkkynen This adds virtio block device driver support. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - Correct desc->vendor for PCI transport drivers/virtio/Kconfig | 7 +++

[U-Boot] [PATCH v3 30/31] test: dm: virtio: Add test cases for virtio uclass

2018-10-15 Thread Bin Meng
Now that we have a sandbox virtio transport driver, add some test cases to test virtio uclass driver. Signed-off-by: Bin Meng --- Changes in v3: - Exclude VIRTIO_BLK in sandbox_noblk_defconfig build Changes in v2: - new patch to add test cases for virtio uclass arch/Kconfig

[U-Boot] [PATCH v3 19/31] kconfig: Introduce HAVE_ARCH_IOMAP

2018-10-15 Thread Bin Meng
Introduce a new Kconfig option for architecture codes to control whether it provides io{read,write}{8,16,32} I/O accessor functions. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None include/linux/io.h | 4 lib/Kconfig| 6 ++ 2

[U-Boot] [PATCH v3 25/31] dm: pci: Add APIs to find next capability and extended capability

2018-10-15 Thread Bin Meng
This introduces two new APIs dm_pci_find_next_capability() and dm_pci_find_next_ext_capability() to get PCI capability address and PCI express extended capability address for a given PCI device starting from a given offset. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3:

[U-Boot] [PATCH v3 18/31] riscv: qemu: Include some useful commands

2018-10-15 Thread Bin Meng
With the virtio net and blk drivers, we can do more stuff with some useful commands. Imply those in the board Kconfig. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None board/emulation/qemu-riscv/Kconfig | 8 1 file changed, 8 insertions(+)

Re: [U-Boot] [PATCH v3 3/9] dm: uclass: Add uclass_foreach_dev_probe

2018-10-15 Thread Patrice CHOTARD
Hi Bin On 10/12/2018 12:13 PM, Bin Meng wrote: > Hi Patrice, > > On Fri, Oct 12, 2018 at 3:51 PM Patrice CHOTARD > wrote: >> >> Hi Bin >> >> On 10/11/2018 11:06 AM, Bin Meng wrote: >>> Hi Patrice, >>> >>> On Tue, Oct 9, 2018 at 9:41 PM Patrice Chotard >>> wrote: Add

[U-Boot] [PATCH v3 09/31] sandbox: blk: Switch to use platdata_auto_alloc_size for the driver data

2018-10-15 Thread Bin Meng
Currently the sandbox block driver uses priv_auto_alloc_size for the driver data, however that's only available after the device probe phase. In order to make it accessible in an earlier phase, switch to use platdata_auto_alloc_size instead. This patch is the prerequisite for the follow up patch

[U-Boot] [PATCH v3 06/31] virtio: Add virtio over mmio transport driver

2018-10-15 Thread Bin Meng
VirtIO can use various different buses and virtio devices are commonly implemented as PCI devices. But virtual environments without PCI support (a common situation in embedded devices models) might use simple memory mapped device (“virtio-mmio”) instead of the PCI device. This adds a transport

[U-Boot] [PATCH v3 24/31] x86: qemu: Imply virtio PCI transport and device drivers

2018-10-15 Thread Bin Meng
Add virtio drivers for QEMU x86 targets. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: None board/emulation/qemu-x86/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/emulation/qemu-x86/Kconfig b/board/emulation/qemu-x86/Kconfig

[U-Boot] [PATCH v3 23/31] arm: qemu: Enumerate virtio bus during early boot

2018-10-15 Thread Bin Meng
Currently devices on the virtio bus is not automatically enumerated, which means peripherals on the virtio bus are not discovered by their drivers. This uses board_init() to do the virtio enumeration. Signed-off-by: Bin Meng Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: -

[U-Boot] Please pull ARC changes (fixed re-send)

2018-10-15 Thread Alexey Brodkin
Hi Tom, This pull-request overrides the one sent last Friday: https://lists.denx.de/pipermail/u-boot/2018-October/344211.html as well as its duplicate sent for some reason today: https://lists.denx.de/pipermail/u-boot/2018-October/344435.html The following changes since commit

[U-Boot] [PATCH v3 08/31] test: dm: blk: Correct blk_base test case

2018-10-15 Thread Bin Meng
The blk_base test case creates a USB mass storage block device with the Sandbox host block device as its parent. This does not make any sense and causes potential issue, for example if the test case tries to read/write anything on the USB mass storage block device it will definitely fail as its

  1   2   >