[U-Boot] [PATCH] buildman: Avoid hanging when the config changes

2018-09-17 Thread Simon Glass
Something has changed in the last several month such that when buildman builds U-Boot incrementally and a new CONFIG option has been added to the Kconfig, the build hanges waiting for input: Test new config (NEW_CONFIG) [N/y/?] (NEW) Since binamn does not connect the build's stdin to

[U-Boot] [PATCH] armv8: lx2160a: Add LX2160A SoC Support

2018-09-17 Thread Priyanka Jain
LX2160A Soc is based on Layerscape Chassis Generation 3.2 Architecture. Features: 16 ARM v8 Cortex-A72 cores in 8 cluster, CCN508, SEC, two 64-bit DDR4 memory controller, RGMII, 8 I2C controllers, 3 serdes modules, USB 3.0, SATA, 4 PL011 SBSA UARTs, 4 TZASC instances, etc. SoC personalites:

[U-Boot] [PATCH] ls2080ardb: remove dhcp function from env as boot source

2018-09-17 Thread Priyanka Jain
Signed-off-by: Priyanka Jain --- include/configs/ls2080ardb.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h index 3d53a69..05c02df 100644 --- a/include/configs/ls2080ardb.h +++ b/include/configs/ls2080ardb.h @@

[U-Boot] [PATCH v2] armv8: fsl-layerscape: reorder rgmii dpmacs' enablement

2018-09-17 Thread Pankaj Bansal
some dpmacs in armv8a based freescale layerscape SOCs can be configured via both serdes(sgmii, xfi, xlaui etc) bits and via EC*_PMUX(rgmii) bits in RCW. e.g. dpmac 17 and 18 in LX2160A can be configured as SGMII from serdes bits and as RGMII via EC1_PMUX/EC2_PMUX bits Now if a dpmac is enabled by

[U-Boot] [PATCH] miiphy: Add function to retrieve MDIO bus list head

2018-09-17 Thread Pankaj Bansal
In upcoming freescale board LX2160AQDS, the MDIO bus is muxed. i.e. same MDIO bus can be routed to eight different slots depending on mux register settings. To support this mdio mux behavior, we add each MDIO bus mux as a separate MDIO bus. Now, various phy devices can be attached to each of

Re: [U-Boot] [PATCH] i2c: Add support for the Arm's Versatile Express I2C controller.

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:51 schrieb Liviu Dudau: The Arm Versatile Express I2C controller is a simple register-based controller that uses a register to control the state of the SCL and SDA lines. Add support for it. Signed-off-by: Liviu Dudau --- drivers/i2c/Kconfig | 7 +

Re: [U-Boot] [PATCH] clk: Add support for Arm's Versatile Express OSC clock generators

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:50 schrieb Liviu Dudau: The Arm Versatile Express and Juno development boards contain an OSC clock generator that can be accessed through the Versatile Express config bus. The generators are quite often being controlled by some MCU and the config bus offers a

Re: [U-Boot] [PATCH] misc: Add support for the Arm Versatile Express config bus

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:48 schrieb Liviu Dudau: Add support for the Arm Versatile Express config bus that is being used for exposing various subsystems via a generic configuration bus. This driver adds support for generating transactions on this configuration bus and can be used by

Re: [U-Boot] [PATCH] include/dm.h: Remove duplicated include directive.

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:46 schrieb Liviu Dudau: Remove duplicated inclusion of dm/ofnode.h Signed-off-by: Liviu Dudau --- include/dm.h | 1 - 1 file changed, 1 deletion(-) Reviewed-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, Managing Director:

Re: [U-Boot] [PATCH] include/video.h: Remove declaration of functions that don't exist.

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:45 schrieb Liviu Dudau: video_init, video_putc and video_puts functions are not implemented anywhere, remove their declaration from the header. Signed-off-by: Liviu Dudau --- include/video.h | 6 -- 1 file changed, 6 deletions(-) Reviewed-by: Heiko

Re: [U-Boot] [PATCH] uclass: Use uclass_foreach_dev() macro instead of open coding

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:44 schrieb Liviu Dudau: Use the uclass_foreach_dev() macro instead of the open coded version. Signed-off-by: Liviu Dudau --- drivers/core/uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Heiko Schocher bye, Heiko -- DENX

Re: [U-Boot] [PATCH] include/clk.h: Fix the name of the clock uclass in comment.

2018-09-17 Thread Heiko Schocher
Hello Liviu, Am 17.09.2018 um 18:43 schrieb Liviu Dudau: The comment references a structure name that doesn't exist. Use the name of the actual uclass. Signed-off-by: Liviu Dudau --- include/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Heiko Schocher bye,

Re: [U-Boot] [PATCH] uclass: Use uclass_foreach_dev() macro instead of open coding

2018-09-17 Thread Simon Glass
On 17 September 2018 at 10:44, Liviu Dudau wrote: > Use the uclass_foreach_dev() macro instead of the open coded version. > > Signed-off-by: Liviu Dudau > --- > drivers/core/uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass Perhaps you could also

Re: [U-Boot] [PATCH] dm: core: Widen the dump tree to show more of the driver's name.

2018-09-17 Thread Simon Glass
On 17 September 2018 at 10:57, Liviu Dudau wrote: > With drivers that have prefix names that are quite long (like > 'versatile_') it is useful to have a wider column for the driver's > name when dumping the device driver tree. > > Signed-off-by: Liviu Dudau > --- > drivers/core/dump.c | 8

Re: [U-Boot] [RFC PATCH v1] tools: Add a tool to get an overview of the usage of CONFIG options

2018-09-17 Thread Simon Glass
HI Jean-Jacques, On 17 September 2018 at 09:31, Jean-Jacques Hiblot wrote: > scan_configs.py is tool that allow to check how some options are used for > a particular subset of platforms. > The purpose is to identify the targets that are actually using one or more > options of interest. > For

Re: [U-Boot] [PATCH] include/dm.h: Remove duplicated include directive.

2018-09-17 Thread Simon Glass
On 17 September 2018 at 10:46, Liviu Dudau wrote: > Remove duplicated inclusion of dm/ofnode.h > > Signed-off-by: Liviu Dudau > --- > include/dm.h | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list

Re: [U-Boot] [PATCH] include/clk.h: Fix the name of the clock uclass in comment.

2018-09-17 Thread Simon Glass
On 17 September 2018 at 10:43, Liviu Dudau wrote: > The comment references a structure name that doesn't exist. Use > the name of the actual uclass. > > Signed-off-by: Liviu Dudau > --- > include/clk.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH] include/video.h: Remove declaration of functions that don't exist.

2018-09-17 Thread Simon Glass
On 17 September 2018 at 10:45, Liviu Dudau wrote: > video_init, video_putc and video_puts functions are not implemented > anywhere, remove their declaration from the header. > > Signed-off-by: Liviu Dudau > --- > include/video.h | 6 -- > 1 file changed, 6 deletions(-) Reviewed-by: Simon

Re: [U-Boot] [PATCH 1/1] test/py: catch errors occuring when reading the console

2018-09-17 Thread Simon Glass
On 17 September 2018 at 16:30, Heinrich Schuchardt wrote: > Spawn.exept has a try block without 'except'. > > If no output is available an OSError may arise. Catch this exception and > continue testing. > > Signed-off-by: Heinrich Schuchardt > --- > I suggest that Alex takes the patch because we

Re: [U-Boot] [PATCH 2/2] fdt: fdtdec_setup_memory_banksize() use livetree

2018-09-17 Thread Simon Glass
Hi Jen, On 17 August 2018 at 14:48, Simon Glass wrote: > > On 10 August 2018 at 06:54, Jens Wiklander wrote: > > Converts fdtdec_setup_memory_banksize() to use ofnode functions instead. > > > > Signed-off-by: Jens Wiklander > > --- > > lib/fdtdec.c | 46

Re: [U-Boot] [PATCH 2/2] config.mk: Remove duplicated -fno-strict-aliasing

2018-09-17 Thread Simon Glass
On 16 September 2018 at 23:35, Bin Meng wrote: > > Now that we already disable the "strict-aliasing" globally, remove > the duplicates in the nds32/riscv/x86 arch-specific Makefiles. > > Signed-off-by: Bin Meng > Reviewed-by: Rick Chen > > --- > > arch/nds32/config.mk | 2 +- >

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
On 09/16/2018 07:45 AM, Simon Glass wrote: > When I run > > $ sandbox/u-boot -D -c "bootefi selftest" > > I get at the end the network timeout failure: > > Setting up 'simple network protocol' > Failed to open socket: 1 Operation not permitted > Failed to open socket: 1 Operation not permitted

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
On 09/16/2018 07:45 AM, Simon Glass wrote: > Hi Heinrich, > > On 15 September 2018 at 22:02, Heinrich Schuchardt wrote: >> Hello Simon, >> >> in the chat with Alex you indicated that you see a problem with >> efi_selftest expecting an input before resetting the board. >> >> I do not understand

[U-Boot] [PATCH 1/1] test/py: catch errors occuring when reading the console

2018-09-17 Thread Heinrich Schuchardt
Spawn.exept has a try block without 'except'. If no output is available an OSError may arise. Catch this exception and continue testing. Signed-off-by: Heinrich Schuchardt --- I suggest that Alex takes the patch because we need it when working on the efi-next branch. ---

Re: [U-Boot] [RESEND PATCH v2 15/15] riscv: Move do_reset() to a common place

2018-09-17 Thread Auer, Lukas
Hi Bin, On Mon, 2018-09-17 at 13:02 +0800, Bin Meng wrote: > Hi Lukas, > > On Mon, Sep 17, 2018 at 5:09 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > > > We don't have a reset method on any RISC-V board yet. Instead of > > > adding the

Re: [U-Boot] [RESEND PATCH v2 08/15] riscv: Add a helper routine to print CPU information

2018-09-17 Thread Auer, Lukas
Hi Bin, On Mon, 2018-09-17 at 12:55 +0800, Bin Meng wrote: > Hi Lukas, > > On Mon, Sep 17, 2018 at 4:54 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > > > This adds a helper routine to print CPU information. Currently > > > it prints all

Re: [U-Boot] [RESEND PATCH v2 14/15] riscv: Add QEMU virt board support

2018-09-17 Thread Auer, Lukas
Hi Bin, On Mon, 2018-09-17 at 13:18 +0800, Bin Meng wrote: > Hi Lukas, > > On Mon, Sep 17, 2018 at 5:02 AM Auer, Lukas > wrote: > > > > Hi Bin, > > > > On Mon, 2018-09-10 at 21:54 -0700, Bin Meng wrote: > > > This adds QEMU RISC-V 'virt' board target support, with the hope > > > of > > >

Re: [U-Boot] [PATCH v2 13/13] configs: sandbox*: Enable UBSAN

2018-09-17 Thread Eugeniu Rosca
Hi Simon, On Wed, Aug 29, 2018 at 08:51:24PM -0600, Simon Glass wrote: > Hi, > > On 26 August 2018 at 17:13, Eugeniu Rosca wrote: > > On Sun, Aug 19, 2018 at 09:51:32PM -0400, Tom Rini wrote: > >> [..] we should be able to say more broadly that just about everyone > >> can enable this, but only

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
In efi_next the command ./u-boot -v -d selfconfig.dtb leads to a segmentation fault for sandbox_defconfig. The command is executed by ConsoleSandbox.get_spawn(). We cannot expect 'make tests' to succeed until this is fixed. Valgrind indicates where the segmentation fault occurs: ==13906==

Re: [U-Boot] [PATCH v5] arm: socfpga: fix U-Boot running from fpga OnChip RAM

2018-09-17 Thread Simon Goldschmidt
OK, so I got more than 2 weeks off of U-Boot, but here I'm back... ;-) On 18.08.2018 14:25, Marek Vasut wrote: On 08/18/2018 10:55 AM, Simon Goldschmidt wrote: On Fri, Aug 17, 2018 at 12:20 PM Marek Vasut wrote: On 08/17/2018 08:56 AM, Simon Goldschmidt wrote: On Fri, Aug 17, 2018 at 1:57

Re: [U-Boot] [PATCH] arm: socfpga: make socfpga_socrates_defconfig boot from QSPI

2018-09-17 Thread Simon Goldschmidt
On 09.08.2018 23:57, Marek Vasut wrote: On 08/09/2018 09:17 PM, Simon Goldschmidt wrote: On Mon, Aug 6, 2018 at 3:45 PM Simon Goldschmidt wrote: Marek Vasut schrieb am Mo., 6. Aug. 2018, 15:19: On 08/06/2018 03:05 PM, Simon Goldschmidt wrote: This fixes the board's dts to supply SPL with

[U-Boot] git clone http://git.denx.de/u-boot-dm.git fails.

2018-09-17 Thread Heinrich Schuchardt
Hello Wolfgang, I have a slight problem with the U-Boot git: git clone http://git.denx.de/u-boot-dm.git fails. Why is this incorrect link shown on http://git.denx.de/?p=u-boot/u-boot-dm.git;a=summary? $ git clone http://git.denx.de/u-boot-dm.git foo Cloning into 'foo'... warning: alternate

Re: [U-Boot] [PATCH] sf: remove spi-flash chip names from SPL binary

2018-09-17 Thread Simon Goldschmidt
On 17.08.2018 08:52, Simon Goldschmidt wrote: The table of spi flash chips 'spi_flash_ids' currently includes chip names. The only usage of these is to print the name when the chip is probed. Since this message is not shown in SPL, we can remove the names from the SPL binary. Removing the chip

[U-Boot] [PATCH] arm: lpc32xx: remove phantom CONFIG_LPC32XX_SDRAM_ config option

2018-09-17 Thread Vladimir Zapolskiy
The option has never existed and config whitelist script accumulates it from a comment block, wipe it out from the source code. Signed-off-by: Vladimir Zapolskiy --- The change has a trivial merge conflict with another config symbol removal from https://patchwork.ozlabs.org/patch/970788/ , this

[U-Boot] [PATCH 2/2] work_92105: remove unused CONFIG_SPL_NAND_BOOT configuration option

2018-09-17 Thread Vladimir Zapolskiy
The option is unused, SPL image gets a wanted boot device by standard spl_boot_device() call. Signed-off-by: Vladimir Zapolskiy --- include/configs/work_92105.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h index

[U-Boot] [PATCH 1/2] work_92105: remove unused CONFIG_LPC32XX_SPL configuration option

2018-09-17 Thread Vladimir Zapolskiy
The CONFIG_LPC32XX_SPL option from board include file has never been used, it is safe to remove it. Signed-off-by: Vladimir Zapolskiy --- include/configs/work_92105.h | 3 --- scripts/config_whitelist.txt | 1 - 2 files changed, 4 deletions(-) diff --git a/include/configs/work_92105.h

[U-Boot] [PATCH 0/2] work_92105: remove a couple of unused config options

2018-09-17 Thread Vladimir Zapolskiy
The series contains a couple of trivial changes, which remove unused legacy defines found in work_92105 board file. Vladimir Zapolskiy (2): work_92105: remove unused CONFIG_LPC32XX_SPL configuration option work_92105: remove unused CONFIG_SPL_NAND_BOOT configuration option

[U-Boot] [PATCH 2/2] Makefile: add LPC32xx precondition for building platform images

2018-09-17 Thread Vladimir Zapolskiy
To prevent accidental build failures the change converts a number of NXP LPC32xx specific image targets to be conditionally dependent on target build configuration. The wrapped image targets always contain a U-Boot SPL binary and the images are supposed to be directly flashed on a NAND flash

[U-Boot] [PATCH 1/2] arm: lpc32xx: add CONFIG_ARCH_LPC32XX build option

2018-09-17 Thread Vladimir Zapolskiy
The explicit arch specific build symbol allows to group supported boards, generalize common config options and it will serve as a dependency for platform only drivers. Two related board defconfigs are resynced after the change. Signed-off-by: Vladimir Zapolskiy --- arch/arm/Kconfig

[U-Boot] [PATCH 0/2] arm: lpc32xx: create platform specific Kconfig file

2018-09-17 Thread Vladimir Zapolskiy
There is a need to introduce ARCH_LPC32XX build config symbol to improve selection of build options for drivers, which are specific to NXP LPC32xx platform only. At the same time the new Kconfig file and sections can be used to describe common SoC properties and collect entries of all LPC32xx

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
On 09/17/2018 07:42 PM, Heinrich Schuchardt wrote: > On 09/16/2018 07:45 AM, Simon Glass wrote: >> Hi Heinrich, >> >> On 15 September 2018 at 22:02, Heinrich Schuchardt >> wrote: >>> Hello Simon, >>> >>> in the chat with Alex you indicated that you see a problem with >>> efi_selftest expecting

[U-Boot] [PATCH v2 1/1] efi_loader: refactor efi_setup_loaded_image()

2018-09-17 Thread Heinrich Schuchardt
Create the handle of loaded images and the EFI_LOADED_IMAGE_PROTOCOL inside efi_setup_loaded_image(). Do not use local variables. Signed-off-by: Heinrich Schuchardt --- v2 avoid unused variables if configured without CONFIG_EFI_SELFTEST --- cmd/bootefi.c | 61

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
On 09/16/2018 07:45 AM, Simon Glass wrote: > Hi Heinrich, > > On 15 September 2018 at 22:02, Heinrich Schuchardt wrote: >> Hello Simon, >> >> in the chat with Alex you indicated that you see a problem with >> efi_selftest expecting an input before resetting the board. >> >> I do not understand

Re: [U-Boot] sandbox does not complete efi_selftest

2018-09-17 Thread Heinrich Schuchardt
On 09/16/2018 07:45 AM, Simon Glass wrote: > Hi Heinrich, > > On 15 September 2018 at 22:02, Heinrich Schuchardt wrote: >> Hello Simon, >> >> in the chat with Alex you indicated that you see a problem with >> efi_selftest expecting an input before resetting the board. >> >> I do not understand

[U-Boot] [PATCH 1/1] efi_loader: refactor efi_setup_loaded_image()

2018-09-17 Thread Heinrich Schuchardt
Create the handle of loaded images and the EFI_LOADED_IMAGE_PROTOCOL inside efi_setup_loaded_image(). Do not use local variables. Signed-off-by: Heinrich Schuchardt --- cmd/bootefi.c | 61 +++ include/efi_loader.h | 8 ++---

[U-Boot] [PATCH] configs: mx7: Remove CONFIG_DBG_MONITOR

2018-09-17 Thread Fabio Estevam
Remove all CONFIG_DBG_MONITOR references as it is not used anywhere. Signed-off-by: Fabio Estevam --- include/configs/cl-som-imx7.h | 2 -- include/configs/colibri-imx6ull.h | 1 - include/configs/colibri_imx7.h| 2 -- include/configs/mx7dsabresd.h | 1 -

[U-Boot] [RFC] colibri_imx7: Do not hardcode the memory size

2018-09-17 Thread Fabio Estevam
Instead of hardcoding the memory size, use the generic imx_ddr_size() function, which extracts the memory size in runtime by reading the DDR controller registers. This helps in supporting 512MB and 1GB modules. Signed-off-by: Fabio Estevam --- Hi Stefan, I don't have the hardware to test, but

[U-Boot] [PATCH] dm: core: Widen the dump tree to show more of the driver's name.

2018-09-17 Thread Liviu Dudau
With drivers that have prefix names that are quite long (like 'versatile_') it is useful to have a wider column for the driver's name when dumping the device driver tree. Signed-off-by: Liviu Dudau --- drivers/core/dump.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH] video: Add support for Arm's Mali Display Processors

2018-09-17 Thread Liviu Dudau
Add support for Arm Mali Display Processors DP500, DP550 and DP650. Only one layer is being used to display the console or boot logo, even if more layers are supported in the hardware. Signed-off-by: Liviu Dudau --- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 +

[U-Boot] [PATCH] video: Add support for NXP's TDA19988 HDMI encoder

2018-09-17 Thread Liviu Dudau
Add support for the NXP TDA19988 HDMI encoder as used on the Juno development board from Arm. Signed-off-by: Liviu Dudau --- drivers/video/Kconfig| 7 + drivers/video/Makefile | 1 + drivers/video/tda19988.c | 637 +++ 3 files changed, 645

[U-Boot] [PATCH] i2c: Add support for the Arm's Versatile Express I2C controller.

2018-09-17 Thread Liviu Dudau
The Arm Versatile Express I2C controller is a simple register-based controller that uses a register to control the state of the SCL and SDA lines. Add support for it. Signed-off-by: Liviu Dudau --- drivers/i2c/Kconfig | 7 + drivers/i2c/Makefile| 1 +

[U-Boot] [PATCH] clk: Add support for Arm's Versatile Express OSC clock generators

2018-09-17 Thread Liviu Dudau
The Arm Versatile Express and Juno development boards contain an OSC clock generator that can be accessed through the Versatile Express config bus. The generators are quite often being controlled by some MCU and the config bus offers a uniform way of exposing them. Signed-off-by: Liviu Dudau ---

[U-Boot] [PATCH] misc: Add support for the Arm Versatile Express config bus

2018-09-17 Thread Liviu Dudau
Add support for the Arm Versatile Express config bus that is being used for exposing various subsystems via a generic configuration bus. This driver adds support for generating transactions on this configuration bus and can be used by other drivers to abstract the communication with the actual

[U-Boot] [PATCH] include/dm.h: Remove duplicated include directive.

2018-09-17 Thread Liviu Dudau
Remove duplicated inclusion of dm/ofnode.h Signed-off-by: Liviu Dudau --- include/dm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/dm.h b/include/dm.h index bf4b07d28f..2e1afda440 100644 --- a/include/dm.h +++ b/include/dm.h @@ -6,7 +6,6 @@ #ifndef _DM_H_ #define _DM_H_

[U-Boot] [PATCH] include/video.h: Remove declaration of functions that don't exist.

2018-09-17 Thread Liviu Dudau
video_init, video_putc and video_puts functions are not implemented anywhere, remove their declaration from the header. Signed-off-by: Liviu Dudau --- include/video.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/video.h b/include/video.h index ddc2eeb5a9..e7fc5c94e2 100644

[U-Boot] [PATCH] uclass: Use uclass_foreach_dev() macro instead of open coding

2018-09-17 Thread Liviu Dudau
Use the uclass_foreach_dev() macro instead of the open coded version. Signed-off-by: Liviu Dudau --- drivers/core/uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/core/uclass.c b/drivers/core/uclass.c index 3113d6a56b..081571951d 100644 ---

[U-Boot] [PATCH] include/clk.h: Fix the name of the clock uclass in comment.

2018-09-17 Thread Liviu Dudau
The comment references a structure name that doesn't exist. Use the name of the actual uclass. Signed-off-by: Liviu Dudau --- include/clk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clk.h b/include/clk.h index c0a20cd47a..8e366163f9 100644 --- a/include/clk.h

[U-Boot] [PATCH v2 2/2] arm: at91: wdt: Convert watchdog config to Kconfig

2018-09-17 Thread Prasanthi Chellakumar
Convert "CONFIG_AT91SAM9_WATCHDOG" to new "CONFIG_WDT_AT91" Kconfig option to support driver model and device tree. Signed-off-by: Prasanthi Chellakumar --- README| 3 --- arch/arm/dts/at91sam9260-smartweb.dts | 1 + arch/arm/dts/at91sam9g20-taurus.dts | 1 +

[U-Boot] [RFC PATCH v1] tools: Add a tool to get an overview of the usage of CONFIG options

2018-09-17 Thread Jean-Jacques Hiblot
scan_configs.py is tool that allow to check how some options are used for a particular subset of platforms. The purpose is to identify the targets that are actually using one or more options of interest. For example, it can tell what targets are still using CONFIG_DM_I2_COMPAT. This is much slower

Re: [U-Boot] [PATCH 6/6] nyan-big: drop CONFIG_KEYBOARD

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:23 +0100, Peter Robinson wrote: > The CONFIG_KEYBOARD does nothing as it's legacy and unused > so just drop it from the config. > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren > Cc: Allen Martin Reviewed-by: Marcel Ziswiler > --- >

Re: [U-Boot] [PATCH 5/6] Kconfig: tegra: Migrate TEGRA_KEYBOARD

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:23 +0100, Peter Robinson wrote: > Migrate TEGRA_KEYBOARD from headers to Kconfig, only the seaboard > uses it but we > drop CONFIG_KEYBOARD as the driver doesn't use the legacy > drv_keyboard_init. > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren

Re: [U-Boot] [PATCH 4/6] Kconfig: tegra: Migrate USB_EHCI_TEGRA

2018-09-17 Thread Marcel Ziswiler
On Mon, 2018-09-17 at 15:51 +0200, Marcel Ziswiler wrote: > On Sun, 2018-09-16 at 18:23 +0100, Peter Robinson wrote: > > Migrate USB_EHCI_TEGRA from headers to Kconfig > > > > Signed-off-by: Peter Robinson > > Cc: Tom Warren > > Cc: Stephen Warren > > Cc: Marek Vasut > > Cc: Marcel Ziswiler

Re: [U-Boot] [PATCH 3/6] Kconfig: tegra: Migrate SYS_I2C_TEGRA

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:22 +0100, Peter Robinson wrote: > Migrate SYS_I2C_TEGRA from headers to Kconfig > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren > Cc: Heiko Schocher > Cc: Marcel Ziswiler > Cc: peter.ch...@data61.csiro.au > Cc: Lucas Stach > Cc: Stefan Agner

Re: [U-Boot] [PATCH 4/6] Kconfig: tegra: Migrate USB_EHCI_TEGRA

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:23 +0100, Peter Robinson wrote: > Migrate USB_EHCI_TEGRA from headers to Kconfig > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren > Cc: Marek Vasut > Cc: Marcel Ziswiler > Cc: peter.ch...@data61.csiro.au > Cc: Lucas Stach > Cc: Stefan Agner >

Re: [U-Boot] [PULL] u-boot-usb/master

2018-09-17 Thread Tom Rini
On Sat, Sep 15, 2018 at 9:13 PM, Marek Vasut wrote: > The following changes since commit ecb10a41c9adf2c499c3d19fff96a0 > 8bb9ad2aef: > > Revert "ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL" > (2018-09-14 13:52:15 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-sh/master

2018-09-17 Thread Tom Rini
On Sat, Sep 15, 2018 at 9:12 PM, Marek Vasut wrote: > The following changes since commit ecb10a41c9adf2c499c3d19fff96a0 > 8bb9ad2aef: > > Revert "ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL" > (2018-09-14 13:52:15 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2018-09-17 Thread Tom Rini
On Sat, Sep 15, 2018 at 9:12 PM, Marek Vasut wrote: > The following changes since commit ecb10a41c9adf2c499c3d19fff96a0 > 8bb9ad2aef: > > Revert "ARM: da850evm_direct_nor_defconfig: Enable DM_SERIAL" > (2018-09-14 13:52:15 -0400) > > are available in the Git repository at: > >

Re: [U-Boot] [PULL] Please pull u-boot-coldfire/master

2018-09-17 Thread Tom Rini
On Sat, Sep 15, 2018 at 6:22 PM, Angelo Dureghello wrote: > The following changes since commit 2976d3c1504960d3934a7404b0648e > dc28b52eb9: > > Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14 > 13:54:37 -0400) > > are available in the Git repository at: > >

[U-Boot] [PATCH v2] efi_loader: Align runtime section to 64kb

2018-09-17 Thread Alexander Graf
The UEFI spec mandates that runtime sections are 64kb aligned to enable support for 64kb page size OSs. This patch ensures that we extend the runtime section to 64kb to be spec compliant. Signed-off-by: Alexander Graf --- v1 -> v2: - rename kb to KiB in accordance to the spec - add

Re: [U-Boot] [PATCH] efi_loader: Align runtime section to 64kb

2018-09-17 Thread Alexander Graf
On 16.09.18 22:42, Heinrich Schuchardt wrote: > On 09/17/2018 04:45 AM, Alexander Graf wrote: >> The UEFI spec mandates that runtime sections are 64kb aligned to enable > %s/kb/ kiB/g > The spec requires a multiple of 64,000 not of 65,536. The other way around you mean I guess? We do usually

Re: [U-Boot] [OE-core] [PATCH 4/4] u-boot: Upgrade 2018.07 -> 2018.09

2018-09-17 Thread akuster808
On 09/16/2018 06:14 PM, Otavio Salvador wrote: > On Sun, Sep 16, 2018 at 6:16 PM Otavio Salvador > wrote: >> This upgrades U-Boot to 2018.09 release and drop the backported >> security fixes which are now included upstream. >> >> Signed-off-by: Otavio Salvador > When I mentioned, on IRC,

Re: [U-Boot] [OE-core] [PATCH 4/4] u-boot: Upgrade 2018.07 -> 2018.09

2018-09-17 Thread Marek Vasut
On 09/17/2018 03:57 AM, akuster808 wrote: > > > On 09/16/2018 06:14 PM, Otavio Salvador wrote: >> On Sun, Sep 16, 2018 at 6:16 PM Otavio Salvador >> wrote: >>> This upgrades U-Boot to 2018.09 release and drop the backported >>> security fixes which are now included upstream. >>> >>>

Re: [U-Boot] [PATCH 2/6] tegra20: common: fix USB_EHCI_TXFIFO_THRESH value

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:22 +0100, Peter Robinson wrote: > All other Tegra devices that define USB_EHCI_TXFIFO_THRESH use hex > representation, fix tegra20 to be the same format. > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren > --- > include/configs/tegra20-common.h |

Re: [U-Boot] [PATCH 1/6] tegra: cleanup dangling comments in include/configs

2018-09-17 Thread Marcel Ziswiler
On Sun, 2018-09-16 at 18:22 +0100, Peter Robinson wrote: > There's a number of dangling comments in various tegra configs post > migrations > of various configs so lets clean them up. > > Signed-off-by: Peter Robinson > Cc: Tom Warren > Cc: Stephen Warren > Cc: Marcel Ziswiler > Cc: Tom

[U-Boot] Please pull u-boot-x86 (take 2)

2018-09-17 Thread Bin Meng
Hi Tom, The following changes since commit 2976d3c1504960d3934a7404b0648edc28b52eb9: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14 13:54:37 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to

Re: [U-Boot] [PATCH] x86: tangier: Fix pinmux warning

2018-09-17 Thread Bin Meng
On Mon, Sep 17, 2018 at 5:35 PM Georgii Staroselskii wrote: > > On Mon, Sep 17, 2018 at 05:30:01PM +0800, Bin Meng wrote: > > Hi Georgii, > > > > On Mon, Sep 17, 2018 at 5:28 PM Bin Meng wrote: > > > > > > Currently the code builds with a warning: > > > > > > w+../arch/x86/cpu/tangier/pinmux.c:

Re: [U-Boot] [PATCH] x86: tangier: Fix pinmux warning

2018-09-17 Thread Georgii Staroselskii
On Mon, Sep 17, 2018 at 05:30:01PM +0800, Bin Meng wrote: > Hi Georgii, > > On Mon, Sep 17, 2018 at 5:28 PM Bin Meng wrote: > > > > Currently the code builds with a warning: > > > > w+../arch/x86/cpu/tangier/pinmux.c: In function 'tangier_pinctrl_probe': > >

Re: [U-Boot] [PATCH] x86: tangier: Fix pinmux warning

2018-09-17 Thread Bin Meng
Hi Georgii, On Mon, Sep 17, 2018 at 5:28 PM Bin Meng wrote: > > Currently the code builds with a warning: > > w+../arch/x86/cpu/tangier/pinmux.c: In function 'tangier_pinctrl_probe': > w+../arch/x86/cpu/tangier/pinmux.c:175:11: warning: format '%d' expects > argument of type 'int', but argument

[U-Boot] [PATCH] x86: tangier: Fix pinmux warning

2018-09-17 Thread Bin Meng
Currently the code builds with a warning: w+../arch/x86/cpu/tangier/pinmux.c: In function 'tangier_pinctrl_probe': w+../arch/x86/cpu/tangier/pinmux.c:175:11: warning: format '%d' expects argument of type 'int', but argument 3 has type 'ofnode {aka union ofnode_union}' [-Wformat=] This fixes it.

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

2018-09-17 Thread Bin Meng
Hi Tom, On Mon, Sep 17, 2018 at 4:54 PM Bin Meng wrote: > > Hi Tom, > > The following changes since commit 2976d3c1504960d3934a7404b0648edc28b52eb9: > > Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14 13:54:37 > -0400) > > are available in the git repository at: > >

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

2018-09-17 Thread Bin Meng
Hi Tom, The following changes since commit 2976d3c1504960d3934a7404b0648edc28b52eb9: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2018-09-14 13:54:37 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git for you to fetch changes up to

Re: [U-Boot] QSPI driver for Zynq and ZynqMP

2018-09-17 Thread Jagan Teki
Hi Siva, + Boris, Miquel, Sorry for top posting, we have spi-mem which hopefully pushed in master for this release. So, since dual qspi is based with zynq qspi it's better write this as part of spi-mem driver. Better to start Linux driver first so that we can get more detail how to proceed

Re: [U-Boot] [PATCH v3 1/5] x86: cpu: introduce scu_ipc_raw_command()

2018-09-17 Thread Bin Meng
On Mon, Sep 17, 2018 at 2:29 PM Bin Meng wrote: > > On Tue, Sep 11, 2018 at 6:33 PM Georgii Staroselskii > wrote: > > > > This interface will be used to configure properly some pins on > > Merrifield that are shared with SCU. > > > > scu_ipc_raw_command() writes SPTR and DPTR registers before

Re: [U-Boot] [PATCH v3 1/5] x86: cpu: introduce scu_ipc_raw_command()

2018-09-17 Thread Bin Meng
On Tue, Sep 11, 2018 at 6:33 PM Georgii Staroselskii wrote: > > This interface will be used to configure properly some pins on > Merrifield that are shared with SCU. > > scu_ipc_raw_command() writes SPTR and DPTR registers before sending > a command to SCU. > > This code has been ported from

Re: [U-Boot] [PATCH v2] x86: drop custom CONFIG_SYS_BAUDRATE_TABLE define

2018-09-17 Thread Bin Meng
On Fri, Sep 7, 2018 at 3:35 PM Bin Meng wrote: > > On Fri, Sep 7, 2018 at 3:30 PM Christian Gmeiner > wrote: > > > > This will add support for a baud rate of 57600. > > > > Signed-off-by: Christian Gmeiner > > --- > > include/configs/x86-common.h | 2 -- > > 1 file changed, 2 deletions(-) > >