Re: [U-Boot] [PATCH v2] ARM: mvebu: add support for Allied Telesis x530

2019-01-21 Thread Stefan Roese
On 10.01.19 09:01, Chris Packham wrote: From: Chris Packham This is a range of stackable network switches. The SoC is Armada-385 and there are a number of variants with differing network port configurations. The DP variants are intended for a harsher operating environment so they use a

Re: [U-Boot] [PATCH v3 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1

2019-01-21 Thread Jagan Teki
On Mon, Jan 21, 2019 at 4:12 PM Chen-Yu Tsai wrote: > > On Mon, Jan 21, 2019 at 6:32 PM Jagan Teki wrote: > > > > Environment and fastboot MMC devices are configured based number > > of mmc slots defined on particular board in sunxi platform. > > > > If number of slots are not more than 1, it

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-21 Thread Vignesh R
On 14/01/19 8:32 PM, Vignesh R wrote: > Hi Jagan, > > Could you please review v2? If we plan to merge this series for > v2019.04, we should probably plan to take it a bit early so as to > address any regression or fall out in time. Thanks! > Gentle ping... Jagan could you review this series?

Re: [U-Boot] [PATCH v5 1/7] cmd: add efidebug command

2019-01-21 Thread Alexander Graf
On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: Currently, there is no easy way to add or modify UEFI variables. In particular, bootmgr supports BootOrder/Boot variables, it is quite hard to define them as u-boot variables because they are represented in a complicated and encoded format. The

[U-Boot] [RFC PATCH] am335x: Changes in DDR init procedure to Support Samsung K4B2G1646EBIH9 memory chip

2019-01-21 Thread Maciej Zagrabski
K4B2G1646EBIH9 Samsung memory chip used now on chiliSOM requires refresh register REF CTRL to be initialized with large enough value, faster than it is implemented in `config_sdram` in ddr.c for am33xx, that mean before setting ZQ CTRL. Change should not interferee with already supported DDR chips

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Andreas Schwab
On Jan 18 2019, Anup Patel wrote: > This patch adds SiFive FU540 board support. For now, only > SiFive serial, SiFive PRCI, and Cadance MACB drivers are > only enabled. The SiFive FU540 defconfig by default builds > U-Boot for S-Mode because U-Boot on SiFive FU540 will run > in S-Mode as payload

Re: [U-Boot] [PATCH v3 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1

2019-01-21 Thread Vasily Khoruzhick
On Mon, Jan 21, 2019 at 2:32 AM Jagan Teki wrote: > > Environment and fastboot MMC devices are configured based number > of mmc slots defined on particular board in sunxi platform. > > If number of slots are not more than 1, it assigns 0 which usually mmc > device on SD slot. With DM_MMC it is

[U-Boot] [PATCH] MAINTAINERS: update stm32mp1 path for arch

2019-01-21 Thread Patrick Delaunay
Handle correctly directory arch/arm/mach-stm32mp/ : Add a trailing slash to include all files and subdirectory files. Signed-off-by: Patrick Delaunay --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index f86fdf9..91d9616 100644 ---

Re: [U-Boot] [PATCH v2 09/11] drivers: serial_sifive: Skip baudrate config if no input clock

2019-01-21 Thread Auer, Lukas
On Sun, 2019-01-20 at 17:07 -0800, Atish Patra wrote: > On 1/20/19 12:22 PM, Auer, Lukas wrote: > > Hi Anup, > > > > On Fri, 2019-01-18 at 11:19 +, Anup Patel wrote: > > > From: Atish Patra > > > > > > It is possible that input clock is not available because clk > > > device was not

Re: [U-Boot] [PATCH v1 06/15] dm: clk: imx: Add support for controlling imx6q clocks via Driver Model

2019-01-21 Thread Lukasz Majewski
Hi Fabio, > Hi Lukasz, > > On Sat, Jan 19, 2019 at 7:15 AM Lukasz Majewski wrote: > > > +static ulong imx6q_clk_get_rate(struct clk *clk) > > +{ > > + ulong rate = 0; > > + > > + debug("%s(#%lu)\n", __func__, clk->id); > > + > > + switch (clk->id) { > > + case

Re: [U-Boot] [PATCH 07/11] clk: Add fixed-factor clock driver

2019-01-21 Thread Alexander Graf
On 01/18/2019 07:14 AM, Anup Patel wrote: -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Thursday, January 17, 2019 11:51 PM To: Anup Patel ; Rick Chen ; Bin Meng ; Joe Hershberger ; Lukas Auer ; Masahiro Yamada ; Simon Glass Cc: Palmer Dabbelt ; Paul Walmsley ;

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-21 Thread Vignesh R
On 21-Jan-19 5:40 PM, Jagan Teki wrote: > On Mon, Jan 21, 2019 at 5:28 PM Vignesh R wrote: >> >> >> >> On 14/01/19 8:32 PM, Vignesh R wrote: >>> Hi Jagan, >>> >>> Could you please review v2? If we plan to merge this series for >>> v2019.04, we should probably plan to take it a bit early so as

Re: [U-Boot] [PATCH v5 2/7] cmd: efidebug: add devices command

2019-01-21 Thread Alexander Graf
On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: "devices" command prints all the uefi variables on the system. => efi devices Scanning disk ahci_scsi.id0lun0... Scanning disk ahci_scsi.id1lun0... Found 4 disks D e vDevice Path Why the weird formatting of "Dev"? Alex

[U-Boot] [PATCH v3 60/60] keymile: Factor out common includes again

2019-01-21 Thread Mario Six
Not that the Kconfig conversion of a lot of variables is done, we can factor out the common include files for the keymile boards again (which now contain hardly any #ifdef logic at all). Signed-off-by: Mario Six --- v2 -> v3: New in v3 --- include/configs/km/km-mpc8309.h | 137 +

Re: [U-Boot] [PATCH v2 00/21] imx: vybrid: Update BK4 and PCM052 boards to only use DM/DTS

2019-01-21 Thread Lukasz Majewski
On Mon, 21 Jan 2019 09:33:23 +0100 Lukasz Majewski wrote: > Hi Stefan, > > > This patch series converts PCM052 and BK4 to use Driver Model and > > Device Tree. > > > > Some notable changes: > > - The way how MAC address is read from fuses can now be adjusted > > - DTS improvement/sync with

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Anup Patel
On Mon, Jan 21, 2019 at 7:26 PM Andreas Schwab wrote: > > On Jan 18 2019, Anup Patel wrote: > > > This patch adds SiFive FU540 board support. For now, only > > SiFive serial, SiFive PRCI, and Cadance MACB drivers are > > only enabled. The SiFive FU540 defconfig by default builds > > U-Boot for

Re: [U-Boot] no DTB with nand SPL on sama5d3

2019-01-21 Thread Ben Whitten
Hi, On 17/01/2019 21:34, Daniel Evans wrote: Follow up question: I notice that u-boot-spl-pad.bin is empty even though CONFIG_SPL_PAD_TO = CONFIG_SPL_MAX_SIZE = 0x18000. Is that why it isn’t find the dtb because it isn’t padded properly? As an aside although it buried as a footnote in the

[U-Boot] [PATCH] atmel: add CMD_FS_GENERIC to SAMA5D3 for EFI boot

2019-01-21 Thread Greg Czerniak
I'm working on getting OpenBSD to run on the Atmel SAMA5D3 Xplained. OpenBSD uses an EFI bootloader, which requires the "load" command to work, since "fatload" doesn't initialize the EFI memory addresses properly. To get "load" on the SAMA5D3 version of U-Boot, I propose adding the

[U-Boot] [PATCH] am335x: chilisom: Initial support for different DDR3 chips

2019-01-21 Thread Maciej Zagrabski
Manufacturing process changes caused that several versions of chiliSOM with different memory chips are present on market. Patch introduces method for selecting actual memory chip on som through Kconfig. Patch creates space for adding more memory chips in future. Memory chip configuration is

Re: [U-Boot] [PATCH 2/3] efi_loader: use freestanding library for efi apps

2019-01-21 Thread Alexander Graf
On 01/20/2019 08:20 AM, Heinrich Schuchardt wrote: GCC requires that freestanding programs provide memcpy(), memmove(), memset(), and memcmp(). Add the library functions when building a *.efi files. The EFI selftests might use other compilation flags. So use a symbolic link to provide

Re: [U-Boot] [PATCH v5 7/7] cmd: env: add "-e" option for handling UEFI variables

2019-01-21 Thread Alexander Graf
On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: "env [print|set] -e" allows for handling uefi variables without knowing details about mapping to corresponding u-boot variables. Signed-off-by: AKASHI Takahiro --- cmd/nvedit.c | 59 +++- 1 file

Re: [U-Boot] [BUG ] efiloader: incorrect creation of *.efi file

2019-01-21 Thread Alexander Graf
On 01/19/2019 12:55 PM, Heinrich Schuchardt wrote: On 1/19/19 11:21 AM, Heinrich Schuchardt wrote: Hello Alex, bootefi hello fails since 5be444d14b380b210b246aa73dd5a111e4b1f80d efi_loader: consistent build flags for EFI applications The problem is caused by incorrect entry point information

Re: [U-Boot] [RFC PATCH] am335x: Changes in DDR init procedure to Support Samsung K4B2G1646EBIH9 memory chip

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 12:32:18PM +0100, Maciej Zagrabski wrote: > K4B2G1646EBIH9 Samsung memory chip used now on chiliSOM requires > refresh register REF CTRL to be initialized with large enough > value, faster than it is implemented in `config_sdram` in ddr.c > for am33xx, that mean before

[U-Boot] [PATCH] misc: i2c_eeprom: Add atmel,24c08 to the list

2019-01-21 Thread Michal Simek
Linux kernel binding is using atmel,24c08 compatible string. On the other hand there is atmel,24c08a which is not listed in the kernel. Add compatible string without "a" suffix to be compatible with Linux kernel binding. These eeproms are available on several ZynqMP development boards.

Re: [U-Boot] [PATCH v5 6/7] cmd: efidebug: add memmap command

2019-01-21 Thread Alexander Graf
On 01/21/2019 08:49 AM, AKASHI Takahiro wrote: "memmap" command prints uefi-specific memory map information. => efi memmap Type StartEnd Attributes == CONVENTIONAL

Re: [U-Boot] [PATCH 2/2] env: Fix saving environment to "bad CRC" location

2019-01-21 Thread Simon Goldschmidt
Am 21.01.2019 um 10:18 schrieb Simon Goldschmidt: Am 19.01.2019 um 14:28 schrieb Sam Protsenko: Hi Simon, On Fri, Jan 18, 2019 at 10:46 PM Simon Goldschmidt wrote: Am Fr., 18. Jan. 2019, 20:20 hat Sam Protsenko geschrieben: In case when the environment on some location is malformed

Re: [U-Boot] [PATCH v1 06/15] dm: clk: imx: Add support for controlling imx6q clocks via Driver Model

2019-01-21 Thread Fabio Estevam
Hi Lukasz, On Sat, Jan 19, 2019 at 7:15 AM Lukasz Majewski wrote: > +static ulong imx6q_clk_get_rate(struct clk *clk) > +{ > + ulong rate = 0; > + > + debug("%s(#%lu)\n", __func__, clk->id); > + > + switch (clk->id) { > + case IMX6QDL_CLK_ECSPI1: > + case

Re: [U-Boot] [PATCH v1 06/15] dm: clk: imx: Add support for controlling imx6q clocks via Driver Model

2019-01-21 Thread Fabio Estevam
Hi Lukasz, On Mon, Jan 21, 2019 at 12:19 PM Lukasz Majewski wrote: > The rationale regarding this approach: > > 1. Reuse the clock.c code for iMX6Q as much as possible. Yes, the problem is that clock.c does not scale well as we have dedicated clock functions for each peripheral:

Re: [U-Boot] env: sf: fix environment in SPI NOR

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 10:53:12AM +0100, Heiko Schocher wrote: > Hello Tom, > > Am 19.01.2019 um 03:54 schrieb Tom Rini: > >On Fri, Jan 18, 2019 at 10:45:56AM +0100, Heiko Schocher wrote: > > > >>commit 9a9d66f5eff0 ("env: add spi_flash_read_env function") > >> > >>breaks Environment

Re: [U-Boot] [PATCH v3 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1

2019-01-21 Thread Jagan Teki
On Mon, Jan 21, 2019 at 9:08 PM Vasily Khoruzhick wrote: > > On Mon, Jan 21, 2019 at 2:32 AM Jagan Teki wrote: > > > > Environment and fastboot MMC devices are configured based number > > of mmc slots defined on particular board in sunxi platform. > > > > If number of slots are not more than 1,

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Auer, Lukas
On Sun, 2019-01-20 at 17:22 -0800, Atish Patra wrote: > On 1/20/19 12:26 PM, Auer, Lukas wrote: > > Hi Anup, > > > > On Fri, 2019-01-18 at 11:19 +, Anup Patel wrote: > > > This patch adds SiFive FU540 board support. For now, only > > > SiFive serial, SiFive PRCI, and Cadance MACB drivers are

Re: [U-Boot] [PATCH 1/2] env: common: Return specific error code on bad CRC

2019-01-21 Thread Simon Goldschmidt
Am 18.01.2019 um 20:19 schrieb Sam Protsenko: Callers of env_import*() functions might want to check the case when we have incorrect environment (with bad CRC). For example, when environment location is being defined in env_load(), call chain may look like this: env_load() -> drv->load() =

[U-Boot] [PATCH 2/6] watchdog: bcm6345: allow to use this driver on arm

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 10fd303..e723c5e 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -88,7 +88,7 @@ config

Re: [U-Boot] [PATCH] am335x: chilisom: Initial support for different DDR3 chips

2019-01-21 Thread Marcin Niestrój
Hi Tom, Tom Rini writes: > On Mon, Jan 21, 2019 at 12:28:42PM +0100, Maciej Zagrabski wrote: >> Manufacturing process changes caused that several versions >> of chiliSOM with different memory chips are present on market. >> Patch introduces method for selecting actual memory chip >> on som

[U-Boot] dfu broken on rk3288 dwc2_otg

2019-01-21 Thread Jack Mitchell
Hi, Has anyone successfully used DFU on an rk3288 or dwc2_otg based board? When trying to download a binary to the board over DFU it currently seems to timeout and the transfer fails. I have tested the firefly-rk3288 and also the Tinkerboard. I have successfully used the same setup on an am335x

Re: [U-Boot] [PATCH] core: ofnode: Add ofnode_pci_get_devfn()

2019-01-21 Thread Simon Glass
Hi Stefan, On Sat, 19 Jan 2019 at 00:46, Stefan Roese wrote: > > This function will be used by the Marvell Armada XP/38x PCIe driver, > which is moved to DM right now. It's mostly copied from the Linux > version. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > --- > drivers/core/ofnode.c

Re: [U-Boot] [RFC PATCH] bitops: Fix GENMASK definition for Sandbox

2019-01-21 Thread Simon Glass
On Fri, 11 Jan 2019 at 01:56, Simon Glass wrote: > > On Mon, 17 Dec 2018 at 06:31, Vignesh R wrote: > > > > In arch/sandbox/include/asm/types.h we have > > Therefore for 32 bit Sandbox build BITS_PER_LONG turns out to be 32 as > > CONFIG_PHYS64 is not set > > > > This messes up the current logic

Re: [U-Boot] [PATCH v2 1/3] Revert "power: regulator: Return success on attempt to disable an always-on regulator"

2019-01-21 Thread Simon Glass
On Fri, 11 Jan 2019 at 22:46, Lokesh Vutla wrote: > > This reverts commit e17e0ceb83538c015a50b965547f2f4d38f81c5d. > > It is advised to return an error when trying to disable an always-on > regulator and let the consumer driver handle the error if needed. > > Reviewed-by: Simon Glass >

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Anup Patel
On Mon, Jan 21, 2019 at 10:06 PM Andreas Schwab wrote: > > On Jan 21 2019, Anup Patel wrote: > > > On real board, we generally boot OpenSBI+U-Boot. We will > > try and share log of BBL+U-Boot on real board but the log will > > look exactly like above. > > Nothing is seen on the real board.

Re: [U-Boot] [PATCH v3 10/10] fdt: tegra: Drop COMPAT_AMS_AS3722

2019-01-21 Thread sjg
This is no-longer used. Drop it. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- Changes in v3: - Drop patch 1, previously applied Changes in v2: - Add new patches as per the cover letter include/fdtdec.h | 1 - lib/fdtdec.c | 1 - 2 files changed, 2 deletions(-) Applied to

Re: [U-Boot] [PATCH v3 08/10] samsung: mmc: Drop old MMC init code

2019-01-21 Thread sjg
On 12/01/19 10:37, Simon Glass wrote: > Now that these boards use driver model we can drop the old code. At > present s5p_mmc_init() is still used by goni and smdkv310 so cannot be > removed unless we remove those boards. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > >

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Andreas Schwab
On Jan 21 2019, Anup Patel wrote: > On real board, we generally boot OpenSBI+U-Boot. We will > try and share log of BBL+U-Boot on real board but the log will > look exactly like above. Nothing is seen on the real board. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key

Re: [U-Boot] [PATCH] am335x: chilisom: Initial support for different DDR3 chips

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 12:28:42PM +0100, Maciej Zagrabski wrote: > Manufacturing process changes caused that several versions > of chiliSOM with different memory chips are present on market. > Patch introduces method for selecting actual memory chip > on som through Kconfig. Patch creates space

Re: [U-Boot] [PATCH v3 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1

2019-01-21 Thread Chen-Yu Tsai
On Mon, Jan 21, 2019 at 11:38 PM Vasily Khoruzhick wrote: > > On Mon, Jan 21, 2019 at 2:32 AM Jagan Teki wrote: > > > > Environment and fastboot MMC devices are configured based number > > of mmc slots defined on particular board in sunxi platform. > > > > If number of slots are not more than 1,

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Andreas Schwab
On Jan 21 2019, Anup Patel wrote: > There is a fix required in BBL for real board. We have not send > this fix to riscv-pk. Where can I find the patch? Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for

Re: [U-Boot] [PATCH v3 9/9] arm: dts: sunxi: Enumerate MMC2 as MMC1

2019-01-21 Thread Chen-Yu Tsai
On Mon, Jan 21, 2019 at 7:07 PM Jagan Teki wrote: > > On Mon, Jan 21, 2019 at 4:12 PM Chen-Yu Tsai wrote: > > > > On Mon, Jan 21, 2019 at 6:32 PM Jagan Teki > > wrote: > > > > > > Environment and fastboot MMC devices are configured based number > > > of mmc slots defined on particular board in

Re: [U-Boot] [PATCH v2 11/11] riscv: Add SiFive FU540 board support

2019-01-21 Thread Anup Patel
On Mon, Jan 21, 2019 at 10:40 PM Andreas Schwab wrote: > > On Jan 21 2019, Anup Patel wrote: > > > There is a fix required in BBL for real board. We have not send > > this fix to riscv-pk. > > Where can I find the patch? The fix is to set following DT prop in /chosen DT node: stdout-path =

Re: [U-Boot] [PATCH v2 0/9] Add common pinctrl driver support for rockchip

2019-01-21 Thread Simon Glass
Hi, On Thu, 3 Jan 2019 at 01:51, David Wu wrote: > > The common pinctrl driver for rockchip Socs, it depends the PINCTRL_FULL > config. > If use it, the default pinctrl setup from DTS could be configured at device > probe. > > Changes in v2: > - Remove px30, rk2928, rk3066*. > - Split it to

Re: [U-Boot] [PATCH v1 1/3] arm: dts: add am335x-shc.dts for shc board

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 06:16:26AM +0100, Heiko Schocher wrote: > add DTS from linux tree commit > "47bfa6d9dc8c060bf56554a465c9031e286d2f80" > > change for U-Boot: > switch to SPDX-license identifier. > > Signed-off-by: Heiko Schocher You should take this as-is from Linux, where you

Re: [U-Boot] [PATCH v1 2/3] ARM: dts: am335x-shc: add u-boot specific dtsi

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 06:16:27AM +0100, Heiko Schocher wrote: > add u-boot specific am335x-shc-u-boot.dtsi file, > in which we add u-boot specific adaptions. > > Signed-off-by: Heiko Schocher Reviewed-by: Tom Rini -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH 1/6] watchdog: bcm6345: switch to raw I/O functions

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- drivers/watchdog/bcm6345_wdt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/watchdog/bcm6345_wdt.c b/drivers/watchdog/bcm6345_wdt.c index e1bd73d..44f5662 100644 --- a/drivers/watchdog/bcm6345_wdt.c +++

[U-Boot] [PATCH 4/6] dt: bcm6858: add watchdog

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm6858.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/dts/bcm6858.dtsi b/arch/arm/dts/bcm6858.dtsi index d78d34d..23b80c6 100644 --- a/arch/arm/dts/bcm6858.dtsi +++ b/arch/arm/dts/bcm6858.dtsi @@ -81,5 +81,22

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 08:17:31PM +0530, Vignesh R wrote: > > > On 21-Jan-19 5:40 PM, Jagan Teki wrote: > > On Mon, Jan 21, 2019 at 5:28 PM Vignesh R wrote: > >> > >> > >> > >> On 14/01/19 8:32 PM, Vignesh R wrote: > >>> Hi Jagan, > >>> > >>> Could you please review v2? If we plan to merge

[U-Boot] [PATCH] bcm968380gerg: disable SPI_FLASH

2019-01-21 Thread Philippe Reynes
The board bcm968380gerg don't have a spi flash so we disable the spi flash support. Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm968380gerg_ram_defconfig index

Re: [U-Boot] [PATCH v2] of-platdata: improve documentation

2019-01-21 Thread sjg
On Wed, 16 Jan 2019 at 12:40, Simon Goldschmidt wrote: > > Improve some things in the documentation of OF_PLATDATA that I found > while porting socfgpa_gen5 to it. > > Signed-off-by: Simon Goldschmidt > --- > > Changes in v2: > - further fixes noted by Simon Glass > - added info about missing

Re: [U-Boot] [PATCH v3 09/10] fdt: samsung: Drop unused fdt_compat_id values

2019-01-21 Thread sjg
This enum still exists but we can shrink it a little based on recent driver-model conversions with samsung. Update it to remove unused items. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- Changes in v3: None Changes in v2: None include/fdtdec.h | 6 -- lib/fdtdec.c | 6

Re: [U-Boot] [PATCH v3 07/10] samsung: Drop board_enable_audio_codec()

2019-01-21 Thread sjg
On 12/01/19 10:37, Simon Glass wrote: > This function is not needed now since the audio codecs have been converted > to proper drivers. The codec-enable GPIO is handled there. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH v1 3/3] am335x, shc: adapt shc board to DM

2019-01-21 Thread Tom Rini
On Mon, Jan 21, 2019 at 06:16:28AM +0100, Heiko Schocher wrote: > port the am335x based shc board to DM, to get rid > of DW warnings when compiling U-Boot. > > - remove uneccessary board code > - adapt defconfigs > - remove unneeded defconfigs > configs/am335x_shc_prompt_defconfig >

[U-Boot] [PATCH 6/6] bcm968580_ram_defconfig: enable watchdog and reboot with watchdog

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- configs/bcm968580_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm968580_ram_defconfig b/configs/bcm968580_ram_defconfig index 56e0a56..b23f960 100644 --- a/configs/bcm968580_ram_defconfig +++ b/configs/bcm968580_ram_defconfig @@

[U-Boot] [PATCH 5/6] bcm968380gerg_ram_defconfig: enable watchdog and reboot with watchdog

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm968380gerg_ram_defconfig b/configs/bcm968380gerg_ram_defconfig index fdecc0f..d98fe51 100644 --- a/configs/bcm968380gerg_ram_defconfig +++

[U-Boot] [PATCH 3/6] dt: bcm6838: add watchdog

2019-01-21 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/mips/dts/brcm,bcm6838.dtsi b/arch/mips/dts/brcm,bcm6838.dtsi index 77d6a8e..b6f9559 100644 --- a/arch/mips/dts/brcm,bcm6838.dtsi +++

Re: [U-Boot] [PATCH v3 01/10] Convert CONFIG_BOARD_TYPES to Kconfig

2019-01-21 Thread sjg
On 12/01/19 10:37, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_BOARD_TYPES > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: > - Remove stranded comments in the header files > > common/Kconfig

Re: [U-Boot] [PATCH v3 05/10] spring: Update sound to use max98088 codec

2019-01-21 Thread sjg
Update the spring settings to use this codec, which is what it actually shipped with. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- Changes in v3: None Changes in v2: None arch/arm/dts/exynos5250-spring.dts | 36 +++--- configs/spring_defconfig

Re: [U-Boot] [PATCH v2 2/3] power: regulator: Introduce regulator_set_enable_if_allowed api

2019-01-21 Thread sjg
On Fri, 11 Jan 2019 at 02:46, Lokesh Vutla wrote: > > regulator_set_enable() api throws an error in the following three cases: > - when requested to disable an always-on regulator > - when set_enable() ops not provided by regulator driver > - when enabling is actually failed.(Error returned by

[U-Boot] [PATCH 1/1] efi_loader: do not use symbolic links

2019-01-21 Thread Heinrich Schuchardt
Symbolic links are not supported on all file systems, e.g. not on FAT. So it is not wise to use them in our source tree. Use a qualified path to refer to lib/efi_loader/efi_freestanding.c in scripts/Makefile.lib instead. Reported-by: Alexander Graf Signed-off-by: Heinrich Schuchardt --- Hello

Re: [U-Boot] [PATCH v2 3/3] mmc: omap_hsmmc: Use regulator_set_enable_if_allowed for enabling regulator

2019-01-21 Thread sjg
Use regulator_set_enable_if_allowed() api instead of regulator_set_enable() while enabling io regulators. This way the driver doesn't see an error when disabling an always-on regulator and when enabling is not supported. Reviewed-by: Simon Glass Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 2/2] lib: lmb: cleanup var names and patman warnings

2019-01-21 Thread Simon Goldschmidt
Change multiple usages of 'j' into 'rgn'; fix whitespace/coding style reported by patman. Signed-off-by: Simon Goldschmidt --- lib/lmb.c | 86 +++ 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/lib/lmb.c b/lib/lmb.c index

[U-Boot] [PATCH 1/2] lib: lmb: rename lmb_get_unreserved_size to lmb_get_free_size

2019-01-21 Thread Simon Goldschmidt
As a follow-up, change the name of the newly introduced function 'lmb_get_unreserved_size' to 'lmb_get_free_size', which is more appropriate. Signed-off-by: Simon Goldschmidt --- include/lmb.h | 2 +- lib/lmb.c | 2 +- net/tftp.c| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: [U-Boot] ARM: at91: Convert SPL_GENERATE_ATMEL_PMECC_HEADER to Kconfig

2019-01-21 Thread Tom Rini
On Sat, Dec 15, 2018 at 01:36:46AM -0600, Derald D. Woods wrote: > This commit converts the following items to Kconfig: > > CONFIG_ATMEL_NAND_HWECC > CONFIG_ATMEL_NAND_HW_PMECC > CONFIG_PMECC_CAP > CONFIG_PMECC_SECTOR_SIZE > CONFIG_SPL_GENERATE_ATMEL_PMECC_HEADER > > [PMECC References] >

Re: [U-Boot] [PATCH v2 00/11] SF: Migrate to Linux SPI NOR framework

2019-01-21 Thread Horatiu Vultur
Hi Vignesh, I have done few small tests on Ocelot and Luton boards which have SPI NOR: mx25l25635f and m25p128. I have not seen any issues. So if you want, you can add: Tested-by: Horatiu Vultur The 12/21/2018 12:08, Vignesh R wrote: > U-Boot SPI NOR support (sf layer) is quite outdated as it

Re: [U-Boot] [PATCH v3 03/10] exynos: Convert to use CONFIG_BLK

2019-01-21 Thread sjg
On 12/01/19 10:37, Simon Glass wrote: > Move all exynos boards over to use CONFIG_BLK. > > This converts s5p_goni also, but adding dummy functions for pinmux and > peripheral ID. This will not function correctly, but gives the maintainer > more time to convert the board if desired. > >

Re: [U-Boot] [PATCH v2 6/7] buildman: Write the environment out to an 'env' file

2019-01-21 Thread sjg
Sometimes it is useful to see the environment that was used to build U-Boot. Write this out to a file in the build directory. Signed-off-by: Simon Glass --- Changes in v2: None tools/buildman/builderthread.py | 3 +++ 1 file changed, 3 insertions(+) Applied to u-boot-dm, thanks!

Re: [U-Boot] [PATCH v3 06/10] spring: Update flashmap details

2019-01-21 Thread sjg
Update the flashmap so that this board can be started over USB A-A. It is slightly different from snow. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski --- Changes in v3: None Changes in v2: None arch/arm/dts/exynos5250-spring.dts | 41 -- 1 file changed,

Re: [U-Boot] [PATCH v3 04/10] sound: Add a driver for max98088

2019-01-21 Thread sjg
This chip is used by spring. Add a driver for it and update the samsung_sound driver to pick it up. Signed-off-by: Simon Glass --- Changes in v3: - Fix remaining 'return -1' statements to use a real error Changes in v2: None drivers/sound/Kconfig | 8 + drivers/sound/Makefile

[U-Boot] [PATCH] MAINTAINERS: imx: Change Fabio's email address

2019-01-21 Thread Fabio Estevam
I prefer to use my personal email address for U-Boot related work. Signed-off-by: Fabio Estevam --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 399a839e07..de16a7625d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -122,7 +122,7

Re: [U-Boot] [PATCH] tests: dtoc: adapt tests to changed dtoc output

2019-01-21 Thread Simon Glass
Hi Simon, On Mon, 21 Jan 2019 at 22:08, Simon Goldschmidt wrote: > > The dtoc tests need to be adapted to dtoc being changed to output platdata > structs as const, which has been introduced in commit 7d05d3a8e35f ("dtoc: > make generated platdata structs const"). > > Fixes: 7d05d3a8e35f ("dtoc:

Re: [U-Boot] [PATCH] buildman: fix typo

2019-01-21 Thread sjg
On Fri, 18 Jan 2019 at 20:40, Chris Packham wrote: > > Fix a typo in the error message from CheckOutputDir(). > > Signed-off-by: Chris Packham > --- > > tools/buildman/control.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass Applied to u-boot-dm, thanks!

Re: [U-Boot] [PATCH v3 02/10] exynos: Drop duplicate 'model' line

2019-01-21 Thread sjg
On 12/01/19 10:37, Simon Glass wrote: > At present the model is shown twice, once in the generic code and once > in the exynos code. Drop the latter. > > Signed-off-by: Simon Glass > Reviewed-by: Lukasz Majewski > --- > > Changes in v3: None > Changes in v2: None > >

Re: [U-Boot] [PATCH] buildman: fix typo

2019-01-21 Thread Simon Glass
On Fri, 18 Jan 2019 at 20:40, Chris Packham wrote: > > Fix a typo in the error message from CheckOutputDir(). > > Signed-off-by: Chris Packham > --- > > tools/buildman/control.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass

[U-Boot] [PATCH v2 07/19] rockchip: Bring in device tree files for rk3399-gru

2019-01-21 Thread Simon Glass
Bring in these files from Linux v4.20. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/dts/rk3399-gru-bob.dts | 79 +++ arch/arm/dts/rk3399-gru-chromebook.dtsi | 397 +++ arch/arm/dts/rk3399-gru-kevin.dts | 309 + arch/arm/dts/rk3399-gru.dtsi

Re: [U-Boot] [PATCH] pci: Add PCI_SLOT macro to include/pci.h

2019-01-21 Thread Simon Glass
Hi Stefan, On Sat, 19 Jan 2019 at 00:46, Stefan Roese wrote: > > This macro will be used the by the Marvell Armada XP/38x PCIe driver, > which is moved to DM right now. > > Signed-off-by: Stefan Roese > Cc: Bin Meng > Cc: Simon Glass > --- > include/pci.h | 1 + > 1 file changed, 1

Re: [U-Boot] [PATCH] Makefile: Only build dtc if needed

2019-01-21 Thread Simon Glass
Hi Tom, On Wed, 14 Nov 2018 at 12:51, Marek Vasut wrote: > > On 11/13/2018 11:43 PM, Simon Glass wrote: > > At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined. This > > is wasteful when the system already has a suitable version available. > > > > Update the Makefile logic to

[U-Boot] [PATCH 10/33] pci: Add IDs for Intel high-definition audio

2019-01-21 Thread Simon Glass
Add a few IDs for common HDA blocks and the ADSP used on samus. Signed-off-by: Simon Glass --- include/pci_ids.h | 4 1 file changed, 4 insertions(+) diff --git a/include/pci_ids.h b/include/pci_ids.h index fdda679cc0..b33b85db55 100644 --- a/include/pci_ids.h +++ b/include/pci_ids.h @@

[U-Boot] [PATCH 29/33] x86: broadwell: Add support for serial I/O devices

2019-01-21 Thread Simon Glass
Add support for initing the I2C device and ADSP on broadwell. These are needed for sound to work. Signed-off-by: Simon Glass --- arch/x86/cpu/broadwell/pch.c | 110 ++ .../x86/include/asm/arch-broadwell/serialio.h | 82 + 2 files changed, 192

[U-Boot] [PATCH 17/33] pch: Add ioctl support

2019-01-21 Thread Simon Glass
At present the PCH has 4 operations and these are reasonably widely used in the drivers. But sometimes we want to add rarely used operations, and each of these currently adds to the size of the PCH operations table. Add an ioctl() method which can be easily expanded without any more impact on the

[U-Boot] [PATCH 32/33] x86: sound: Add sound support for samus (broadwell)

2019-01-21 Thread Simon Glass
Add a sound driver for samus which ties together the audio codec and I2S controller. Signed-off-by: Simon Glass --- drivers/sound/Makefile | 2 +- drivers/sound/broadwell_sound.c | 65 + 2 files changed, 66 insertions(+), 1 deletion(-) create mode

[U-Boot] [PATCH 22/33] sandbox: sound: Silence sound for testing

2019-01-21 Thread Simon Glass
When testing the sound system we don't need the hear the beeps. The testing works by checking the data that would be emitted. Add a device-tree property to silence the sound, and enable it for testing. Signed-off-by: Simon Glass --- arch/sandbox/dts/test.dts | 1 + drivers/sound/sandbox.c |

[U-Boot] [PATCH v2 06/19] rockchip: Drop note about supporting other SoCs

2019-01-21 Thread Simon Glass
Quite a wide range of Rockchip SoCs are supported in mainline U-Boot now, so drop the comment about needing to add more. Signed-off-by: Simon Glass --- Changes in v2: None doc/README.rockchip | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/doc/README.rockchip

[U-Boot] [PATCH v2 05/19] rockchip: Add mention of other boards

2019-01-21 Thread Simon Glass
At present some Rockchip SoCs and boards are not mentioned in the README. So that people can see which SoCs are supported, expand the list to include everything. Signed-off-by: Simon Glass --- Changes in v2: - Mention EVB RV1108 - Fix the name of the firefly-rk3399 defconfig

[U-Boot] [PATCH v2 04/19] gpio: Add a simple GPIO API for SPL

2019-01-21 Thread Simon Glass
In space-constrained environments or before driver model is available, it is sometimes necessary to set GPIO values. Add an SPL API for this, to allow early board code to change GPIOs. The caller must provide the register address, so that the drivers can be fairly generic. This API can be

Re: [U-Boot] [PATCH 1/2] nyan-big: change spi delay

2019-01-21 Thread Simon Glass
On Thu, 17 Jan 2019 at 10:33, Simon Glass wrote: > > On Wed, 16 Jan 2019 at 11:50, Tristan Bastian > wrote: > > > > Internal keyboard of nyan-big is only working when cold booting by pressing > > [reload/refresh]+[power] button. > > With this patch keyboard is working by only pressing [power]

Re: [U-Boot] [PATCH 04/11] sound: Allow audio codecs to be used by other SoCs

2019-01-21 Thread sjg
At present there is still some samsung-specific code in the audio codecs. Remove it so that these can be used by other SoCs. Signed-off-by: Simon Glass --- drivers/sound/Kconfig | 8 drivers/sound/max98088.c | 7 --- drivers/sound/max98090.c | 7 ---

[U-Boot] dumpimage: failure on null-padded image dumps

2019-01-21 Thread Chris Renshaw
Hi, I maintain the Android Image Kitchen project, which has U-Boot uImage support for the handfull of Android devices that use uImage for their boot.img/recovery.img format. This support is achieved using cross-compiles of U-Boot's dumpimage and mkimage tools, to all the Android NDK

[U-Boot] [PATCH 04/33] dm: syscon: Don't require a regmap for PCI devices

2019-01-21 Thread Simon Glass
At present it is not possible to use the syscon devices for PCI devices since a regmap is required. Since PCI uses a 3-cell address the conversion of the 'reg' property to an address always fails. In any case, the regmap is not useful with PCI since devices are accessed through the PCI bus which

[U-Boot] [PATCH 28/33] x86: broadwell: Don't bother probing the PCH for pinctrl

2019-01-21 Thread Simon Glass
At present the pinctrl probes the PCH but since it only uses it to obtain a PCI address, this is no necessary. Avoiding this fixes one of the two co-dependent loops in broadwell. This driver really should be a proper pinctrl driver, but for now it remains a syscon device. Signed-off-by: Simon

[U-Boot] [PATCH 06/33] pci: Don't export pci_hose_config_device()

2019-01-21 Thread Simon Glass
This function is not used outside this file so make it static. Signed-off-by: Simon Glass --- drivers/pci/pci.c | 7 ++- include/pci.h | 6 -- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 221054593e..e2195726c8 100644

[U-Boot] [PATCH 21/33] sound: Add support for Intel HDA

2019-01-21 Thread Simon Glass
The Intel High-definition Audio is a newer-generation audio system which provides for transfer of a large number of audio stream, each containing up to 16 channels. Add support for HDA as a library which can be used by other drivers. U-Boot currently uses only two channels (stereo).

[U-Boot] [PATCH 15/33] x86: sandbox: pch: Add a CONFIG option for PCH

2019-01-21 Thread Simon Glass
At present this uclass is selected only on x86. In order to add a test for it, it must also support sandbox. Create a new CONFIG_PCH option and enable it on x86 and sandbox. Signed-off-by: Simon Glass --- arch/Kconfig| 2 ++ drivers/Kconfig | 2 ++ drivers/Makefile| 2 +-

[U-Boot] [PATCH 08/33] gpio: Show inactive GPIOs when explicitly requested

2019-01-21 Thread Simon Glass
At present the gpio command only shows GPIOs which are marked as in use. This makes sense with 'gpio status' since we already have the '-a' flag to indicate that all GPIOs should be shown. But when a particular GPIO is requested, it seems better to always display it. At present the request is

[U-Boot] [PATCH 19/33] sound: Mark sound_setup() as optional

2019-01-21 Thread Simon Glass
This method in the sound API is optional since some drivers can do this when probing or as part of SoC init. Mark it as such. Signed-off-by: Simon Glass --- drivers/sound/sound-uclass.c | 2 +- include/sound.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

<    1   2   3   >