Re: [PATCH 2/7] mmc: zynq_sdhci: Define timing macro's

2020-05-26 Thread Faiz Abbas
Michal, On 27/05/20 12:17 pm, Jaehoon Chung wrote: > On 5/22/20 7:44 PM, Michal Simek wrote: >> From: Ashok Reddy Soma >> >> Define timing macro's for all the available speeds of mmc. This is >> done similar to linux. Replace other macro's used in zynq_sdhci.c >> with these new macro's. > > Even

Re: [PATCH 2/7] mmc: zynq_sdhci: Define timing macro's

2020-05-26 Thread Jaehoon Chung
On 5/22/20 7:44 PM, Michal Simek wrote: > From: Ashok Reddy Soma > > Define timing macro's for all the available speeds of mmc. This is > done similar to linux. Replace other macro's used in zynq_sdhci.c > with these new macro's. Even though it's similar to linux, does it need to add new macro?

[PATCH 1/5] dm: core: Fix devfdt_get_addr_ptr return value

2020-05-26 Thread Ovidiu Panait
According to the description of devfdt_get_addr_ptr, this function should return NULL on failure, but currently it returns (void *)FDT_ADDR_T_NONE. This is also a problem because there are two definitions for dev_read_addr_ptr, depending on CONFIG_DM_DEV_READ_INLINE: 1. one returning NULL on fail

[PATCH 2/5] pinctrl: bcm283x: DM_FLAG_PRE_RELOC: Remove OF_CONTROL check

2020-05-26 Thread Ovidiu Panait
Remove CONFIG_IS_ENABLED(OF_CONTROL) check from DM_FLAG_PRE_RELOC, since this driver only supports OF_CONTROL. drivers/pinctrl/broadcom/Kconfig: config PINCTRL_BCM283X depends on ARCH_BCM283X && PINCTRL_FULL && OF_CONTROL Signed-off-by: Ovidiu Panait --- drivers/pinctrl/broadcom/pinctrl-bc

[PATCH 3/5] pinctrl: bcm283x: Read address from DT in ofdata_to_platdata

2020-05-26 Thread Ovidiu Panait
Factor out reading IP base address to ofdata_to_platdata function, which is designed for this purpose. Also, drop the dev->priv NULL check, since this is already done by the dm core when allocating space using priv_auto_alloc_size feature. (in drivers/core/device.c -> device_ofdata_to_platdata). S

Please pull u-boot-x86

2020-05-26 Thread Bin Meng
Hi Tom, This PR includes the following x86 changes for v2020.07 release: - Use device tree for FSP-M and FSP-S configuration on Intel Apollo Lake - Add SMBIOS cbmem entry parsing for coreboot - Various clean-ups to CBFS implementation The following changes since commit 0ab24c37f03a3a23982edb63d8

[PATCH 4/5] pinctrl: bcm283x: Fix return value check for dev_read_addr_ptr

2020-05-26 Thread Ovidiu Panait
dev_read_addr_ptr returns NULL on failure, so add the proper check. Signed-off-by: Ovidiu Panait --- drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/broadcom/pinctrl-bcm283x.c b/drivers/pinctrl/broadcom/pinctrl-bcm2

[PATCH 5/5] pinctrl: bcm283x: Store the return value of dev_read_u32_default to int

2020-05-26 Thread Ovidiu Panait
Currently, the return value of dev_read_u32_default is stored in an u32, causing the subsequent "if (function < 0)" to always be false: u32 function ... function = dev_read_u32_default(config, "brcm,function", -1); if (function < 0) { debug("Failed reading function for pinconfig %s (%d)\n"

Re: [PATCH 1/7] Revert "mmc: zynq: parse dt when probing"

2020-05-26 Thread Jaehoon Chung
Hi On 5/22/20 7:44 PM, Michal Simek wrote: > From: Ashok Reddy Soma > > This reverts commit 942b5fc03218d1c94468fc658e7dec65dabcc830. > > This is partial revert of the above commit. > > mmc_of_parse() is reading no-1-8-v from device tree and if set, > it is clearing the UHS speed capabilities

Re: [PATCH] mmc: sdhci: Fix HISPD bit handling

2020-05-26 Thread Jaehoon Chung
On 5/25/20 2:25 AM, Jagan Teki wrote: > SDHCI HISPD bits need to be configured based on desired mmc > timings mode and some HISPD quirks. > > So, handle the HISPD bit based on the mmc computed selected > mode(timing parameter) rather than fixed mmc card clock > frequency. > > Linux handle the HIS

Re: [PATCH] mmc: fsl_esdhc: Gracefully fail on unsupported voltage switch

2020-05-26 Thread Jaehoon Chung
On 5/23/20 1:28 AM, Marek Vasut wrote: > Unsupported voltage on voltage switch is not an error, do not > print error message in such a case. This happens e.g. if the > eMMC is already in 1V8 mode or when testing 1V2 mode operation > on systems which only do 3V3/1V8 switching. > > Signed-off-by: Ma

Re: [PATCH] mmc: fsl_esdhc: Fix SDR104 and HS200 support

2020-05-26 Thread Jaehoon Chung
On 5/23/20 1:19 AM, Marek Vasut wrote: > The 3V3/1V8 switching could never have worked on any of the iMXes > ever since 51313b49f2 ("mmc: fsl_esdhc: support SDR104 and HS200"), > because that commit uses priv->vqmmc_dev when switching voltages on > mode switch, while local vqmmc_dev in probe to sto

Re: [PATCH 1/2] mv_ddr: ddr3: Use correct bitmask for read sample delay

2020-05-26 Thread Stefan Roese
On 27.05.20 03:31, Chris Packham wrote: From: Chris Packham In the Armada 385 functional spec (MV-S109094-00 Rev. C) the read sample delay fields are 5 bits wide. Use the correct bitmask of 0x1f when extracting the value. Signed-off-by: Chris Packham [upstream https://github.com/MarvellEmbed

Re: [PATCH 2/2] mv_ddr: ddr3: Update {min,max}_read_sample calculation

2020-05-26 Thread Stefan Roese
On 27.05.20 03:31, Chris Packham wrote: From: Chris Packham Measurements on actual hardware shown that the read ODT is early by 3 clocks. Adjust the calculation to avoid this. Signed-off-by: Chris Packham [upstream https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/22] Signed-o

Re: [PATCH] SPI_DM: Drop non DM support

2020-05-26 Thread Stefan Roese
On 26.05.20 18:17, Bhargav Shah wrote: + Dropped non DM support from Krikwood SPI s/Krikwood/Kirkwood + Modify config files Another comment: Please use a different patch subject next time. Something like this would be better: spi: kirkwood: Drop non-DM support and enable DM_SPI on all boa

Re: [PATCH v3] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-26 Thread Stefan Roese
On 26.05.20 20:17, Luka Kovacic wrote: Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier implementation of new CRS3xx series boards, based on Marvell Prestera 98DX3236. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina Reviewed-by: Stefan Roese Thanks, Stefan

Re: [PATCH 2/2] mv_ddr: ddr3: Update {min, max}_read_sample calculation

2020-05-26 Thread Baruch Siach
Hi Chris, On Wed, May 27 2020, Chris Packham wrote: > From: Chris Packham > > Measurements on actual hardware shown that the read ODT is early by 3 > clocks. Adjust the calculation to avoid this. > > Signed-off-by: Chris Packham > > [upstream https://github.com/MarvellEmbeddedProcessors/mv-ddr-

Re: [PATCH 1/1] efi_loader: allow compiling with clang

2020-05-26 Thread Tom Rini
On Wed, May 27, 2020 at 02:54:06AM +0200, Heinrich Schuchardt wrote: > On ARM systems gd is stored in register r9 or x18. When compiling with > clang gd is defined as a macro calling function gd_ptr(). So we can not > make assignments to gd. > > In the UEFI sub-system we need to save gd when lea

[PATCH 2/2] mv_ddr: ddr3: Update {min,max}_read_sample calculation

2020-05-26 Thread Chris Packham
From: Chris Packham Measurements on actual hardware shown that the read ODT is early by 3 clocks. Adjust the calculation to avoid this. Signed-off-by: Chris Packham [upstream https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/22] Signed-off-by: Chris Packham --- drivers/ddr/ma

[PATCH 1/2] mv_ddr: ddr3: Use correct bitmask for read sample delay

2020-05-26 Thread Chris Packham
From: Chris Packham In the Armada 385 functional spec (MV-S109094-00 Rev. C) the read sample delay fields are 5 bits wide. Use the correct bitmask of 0x1f when extracting the value. Signed-off-by: Chris Packham [upstream https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/pull/22] Sign

[PATCH 0/2] mvebu: ddr3: Armada-385 read ODT configuration

2020-05-26 Thread Chris Packham
We've been doing some finer grained testing on our Armada-385 based platforms and found that on a read the ODT was kicking in 3 clock cycles too early. It is likely this has gone unnoticed because prior to commit 247c80d6b8ad ("mv_ddr: ddr3: only use active chip-selects when tuning ODT") most syst

[PATCH 1/1] efi_loader: allow compiling with clang

2020-05-26 Thread Heinrich Schuchardt
On ARM systems gd is stored in register r9 or x18. When compiling with clang gd is defined as a macro calling function gd_ptr(). So we can not make assignments to gd. In the UEFI sub-system we need to save gd when leaving to UEFI binaries and have to restore gd when reentering U-Boot. Define a ne

Re: [PATCH][v4 5/6] board: tbs2910: Enable distro_boot support.

2020-05-26 Thread Denis 'GNUtoo' Carikli
On Sun, 1 Mar 2020 14:59:04 +0100 Soeren Moch wrote: > On 27.02.20 01:37, Denis 'GNUtoo' Carikli wrote: > > This keeps the compatibility with the old bootcmd. [...] > > --- a/include/configs/tbs2910.h > > +++ b/include/configs/tbs2910.h > > @@ -8,6 +8,15 @@ > > #ifndef __TBS2910_CONFIG_H > > #d

[v2] Azure: Add 'tools-only' build for macOS X hosts

2020-05-26 Thread Tom Rini
Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully this will catch changes to host tools that are incompatible on BSD style environments. Signed-off-by: Tom Rini Changes in v2: - Add step to brew install gmake - Add display name to the build step --- .azure-pipelines.yml

[PATCH v3 3/5] imx8mp_evk: spl: use spl_early_init

2020-05-26 Thread Fabio Estevam
From: Peng Fan Use spl_early_init to replace spl_init, spl_init will be invoked in board_init_r, we only need use spl_early_init to setup malloc and scan early dt. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale

[PATCH v3 1/5] imx8mp_evk: spl: drop useless code

2020-05-26 Thread Fabio Estevam
From: Peng Fan Drop useless getting ccm device, there is no need to explicted do this in board code, and we not enable SPL CLK currently. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 14 ---

[PATCH v3 4/5] imx8mp_evk: spl: no need the code since spl framework could do that

2020-05-26 Thread Fabio Estevam
From: Peng Fan We no need invoke the code, since spl framework could help us do that. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-)

[PATCH v3 5/5] imx: imx8mp_evk: fix boot issue

2020-05-26 Thread Fabio Estevam
From: Peng Fan The u-boot-spl.bin pad with ddr firmware conflicts with the CONFIG_MALLOC_F_ADDR area, the ddr firmware will be overwritten by malloc in SPL stage and cause ddr initialization not able to finish. So update the related addresses to fix the issue. Reported-by: Fabio Estevam Signed-

[PATCH v3 2/5] imx8mp_evk: spl: drop timer_init

2020-05-26 Thread Fabio Estevam
From: Peng Fan timer_init has been invoked in arch_cpu_init, no need to invoke it again in board code. Signed-off-by: Peng Fan Signed-off-by: Fabio Estevam --- Changes since v2: - None. Rebased against U-Boot master board/freescale/imx8mp_evk/spl.c | 2 -- 1 file changed, 2 deletions(-) dif

Re: [PATCH] Azure: Add 'tools-only' build for macOS X hosts

2020-05-26 Thread Heinrich Schuchardt
On 5/18/20 2:52 PM, Tom Rini wrote: > On Sun, May 17, 2020 at 12:48:42PM +1000, Jonathan Gray wrote: >> On Sat, May 16, 2020 at 02:54:39PM -0400, Tom Rini wrote: >>> Add building the 'tools-only' target on macOS X 'Catalina'. Hopefully >>> this will catch changes to host tools that are incompatibl

Re: [PATCH] video: ipuv3: remove some useless code to reduce binary size

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 11:03:15PM +0200, Anatolij Gustschin wrote: > On Mon, 25 May 2020 12:05:14 -0400 > Tom Rini tr...@konsulko.com wrote: > > > On Mon, May 25, 2020 at 02:34:17PM +0200, Anatolij Gustschin wrote: > > > > > To enable DM_VIDEO we must decrease binary size to fix build > > > brea

[PATCH 3/3] kconfig: fix typo for OHCI host and add to DM list

2020-05-26 Thread Marcin Juszkiewicz
Description said that OHCI is not supported for driver model while it was converted too. Signed-off-by: Marcin Juszkiewicz --- drivers/usb/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git drivers/usb/Kconfig drivers/usb/Kconfig index 928a89133c..756a4ec402 100644 ---

[PATCH 1/3] kconfig: mark SPL/TPL options for DM_KEYBOARD

2020-05-26 Thread Marcin Juszkiewicz
All three options had the same description. Signed-off-by: Marcin Juszkiewicz --- drivers/input/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git drivers/input/Kconfig drivers/input/Kconfig index a3bdd9fa34..a17e55e997 100644 --- drivers/input/Kconfig +++ drivers/inpu

[PATCH 2/3] kconfig: fix some typos

2020-05-26 Thread Marcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz --- lib/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git lib/Kconfig lib/Kconfig index f18bf3778b..af5c38afd9 100644 --- lib/Kconfig +++ lib/Kconfig @@ -162,7 +162,7 @@ config LIB_RAND bool "Pseudo-random library support"

Re: [PATCH] video: ipuv3: remove some useless code to reduce binary size

2020-05-26 Thread Anatolij Gustschin
On Mon, 25 May 2020 12:05:14 -0400 Tom Rini tr...@konsulko.com wrote: > On Mon, May 25, 2020 at 02:34:17PM +0200, Anatolij Gustschin wrote: > > > To enable DM_VIDEO we must decrease binary size to fix build > > breakage for some boards, so drop not needed code. Also add > > !DM_VIDEO guards which

[PATCH v2] colibri_imx6: fix video stdout in default environment

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, change it to 'vidconsole' in the default environment. Signed-off-by: Anatolij Gustschin Cc: Igor Opaniuk --- Changes in v2: - fix build error include/configs/colibri_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v2] apalis_imx6: fix video stdout in default environment

2020-05-26 Thread Anatolij Gustschin
After migration to DM 'vga' name is not longer supported, change it to 'vidconsole' in the default environment. Signed-off-by: Anatolij Gustschin Cc: Igor Opaniuk --- Changes in v2: - fix build error include/configs/apalis_imx6.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 10:36:44PM +0200, Heinrich Schuchardt wrote: > On 26.05.20 22:10, Tom Rini wrote: > > On Tue, May 26, 2020 at 10:02:36PM +0200, Heinrich Schuchardt > > wrote: > >> On 26.05.20 20:40, Tom Rini wrote: > >>> Ah, I thought you might not have been part of Coverity. > >>> https://

Re: [PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Marek Vasut
On 5/26/20 9:26 PM, Tom Rini wrote: > On Tue, May 26, 2020 at 09:21:59PM +0200, Marek Vasut wrote: >> On 5/26/20 9:06 PM, Tom Rini wrote: >>> The config header for this platform disables both CMD_SF and CMD_SPI and >>> the defconfig leaves them enabled. Disable them from the defconfig and >>> enab

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2020-05-26 Thread Heinrich Schuchardt
On 26.05.20 22:10, Tom Rini wrote: > On Tue, May 26, 2020 at 10:02:36PM +0200, Heinrich Schuchardt > wrote: >> On 26.05.20 20:40, Tom Rini wrote: >>> Ah, I thought you might not have been part of Coverity. >>> https://scan.coverity.com/projects/das-u-boot is where to >>> start, it will take GitHub

[PATCH] rockchip: rockpro64: enable DM_KEYBOARD

2020-05-26 Thread Marcin Juszkiewicz
USB stack uses DM so DM_KEYBOARD is needed to get USB keyboard working. Signed-off-by: Marcin Juszkiewicz --- configs/rockpro64-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git configs/rockpro64-rk3399_defconfig configs/rockpro64-rk3399_defconfig index 9d4343a5a7..a511c60d13 10

Re: [PATCH] tbs2910: migrate to DM_VIDEO

2020-05-26 Thread Anatolij Gustschin
On Sun, 24 May 2020 17:46:22 +0200 Soeren Moch sm...@web.de wrote: > On 23.05.20 01:24, Anatolij Gustschin wrote: > > Migration to DM_VIDEO driver is long overdue, configure it in > > board config files. To enable the display set stdout like: > > > > setenv stdout serial,vidconsole > > > > Signe

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 10:02:36PM +0200, Heinrich Schuchardt wrote: > On 26.05.20 20:40, Tom Rini wrote: > > Ah, I thought you might not have been part of Coverity. > > https://scan.coverity.com/projects/das-u-boot is where to start, it will > > take GitHub credentials and then I can approve you.

[PATCH v2] tbs2910: migrate to DM_VIDEO

2020-05-26 Thread Anatolij Gustschin
Migration to DM_VIDEO driver is long overdue, configure it in board config files. To enable the display set stdout like: setenv stdout serial,vidconsole Signed-off-by: Anatolij Gustschin Tested-by: Soeren Moch --- Changes in v2: - add Tested-by tag - drop CONFIG_SYS_MALLOC_F_LEN change - u

Re: Fwd: New Defects reported by Coverity Scan for Das U-Boot

2020-05-26 Thread Heinrich Schuchardt
On 26.05.20 20:40, Tom Rini wrote: > Ah, I thought you might not have been part of Coverity. > https://scan.coverity.com/projects/das-u-boot is where to start, it will > take GitHub credentials and then I can approve you. Thanks for granting access. In the GUI one can really drill down into the ex

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 04:31:43PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - sifive: fix palmer's email address. > - Move all SMP related SBI calls to SBI_v01. > > Thanks > Rick > > > The following changes since commit 8c48bb21bd6a1778d1f299de30ff62

Re: [PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 09:21:59PM +0200, Marek Vasut wrote: > On 5/26/20 9:06 PM, Tom Rini wrote: > > The config header for this platform disables both CMD_SF and CMD_SPI and > > the defconfig leaves them enabled. Disable them from the defconfig and > > enable them in the header. > > > > Cc: Mar

Re: [PATCH v3 0/3] cmd: add driver, fs and part type listing commands

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 09:57:19AM +0200, Wolfgang Denk wrote: > Dear Tom, > > for patch series all review comments have been resolved, and the > latest version has seen no further comments, but it has not been > pulled either. > > Is any further action required to get this into mainline? Ah, s

Re: [PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Marek Vasut
On 5/26/20 9:06 PM, Tom Rini wrote: > The config header for this platform disables both CMD_SF and CMD_SPI and > the defconfig leaves them enabled. Disable them from the defconfig and > enable them in the header. > > Cc: Marek Vasut > Cc: Masakazu Mochizuki > Signed-off-by: Tom Rini > --- > Th

[PATCH 7/8] Convert CONFIG_CMD_ASKENV et al to Kconfig

2020-05-26 Thread Tom Rini
This converts the following to Kconfig: CONFIG_CMD_ASKENV CONFIG_CMD_BMP CONFIG_CMD_BOOTD CONFIG_CMD_CACHE CONFIG_CMD_CRC32 CONFIG_CMD_DHCP CONFIG_CMD_ENV CONFIG_CMD_EXPORTENV CONFIG_CMD_EXT2 CONFIG_CMD_EXT4 CONFIG_CMD_FLASH CONFIG_CMD_FS_GENERIC CONFIG_CMD_FU

[PATCH 6/8] Convert CONFIG_BZIP2 et al to Kconfig

2020-05-26 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BZIP2 CONFIG_GZIP CONFIG_LZO CONFIG_ZLIB CONFIG_LZMA CONFIG_LZO Signed-off-by: Tom Rini --- README| 15 --- configs/bayleybay_defconfig | 1 + configs/c

[PATCH 1/1] fs: fat_write: fix short name creation.

2020-05-26 Thread Heinrich Schuchardt
Truncate file names if the buffer size is exceeded to avoid a buffer overflow. Use Sphinx style function description. Add a TODO comment. Reported-by: CID 303779 Signed-off-by: Heinrich Schuchardt --- fs/fat/fat_write.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) di

[PATCH 5/8] topic_miami: Disable GPIO

2020-05-26 Thread Tom Rini
Per the boards config header file, there is no useful GPIO on these boards. Remove CONFIG_CMD_GPIO from the defconfigs. Cc: Mike Looijmans Signed-off-by: Tom Rini --- configs/topic_miami_defconfig | 1 - configs/topic_miamilite_defconfig | 1 - configs/topic_miamiplus_defconfig | 1 - incl

[PATCH 4/8] blance: Disable CONFIG_CMD_SF / CONFIG_CMD_SPI

2020-05-26 Thread Tom Rini
The config header for this platform disables both CMD_SF and CMD_SPI and the defconfig leaves them enabled. Disable them from the defconfig and enable them in the header. Cc: Marek Vasut Cc: Masakazu Mochizuki Signed-off-by: Tom Rini --- This is a case where it's hard to tell if this is the co

[PATCH 8/8] Convert CONFIG_BOARD_LATE_INIT to Kconfig

2020-05-26 Thread Tom Rini
This converts the following to Kconfig: CONFIG_BOARD_LATE_INIT Signed-off-by: Tom Rini --- configs/am335x_pdu001_defconfig | 1 + configs/bcm7260_defconfig | 1 + configs/bcm7445_defconfig | 1 + configs/cl-som-imx7_defconfig | 1 + configs/controlcenterdc_defconfig | 1

[PATCH 1/8] pfla02: Rework excluding NAND from SPL

2020-05-26 Thread Tom Rini
Rather than only enable CONFIG_CMD_NAND for non-SPL builds, move the CMD options to defconfig and rework the guards to not try and call the function in SPL builds. Cc: Stefano Babic Signed-off-by: Tom Rini --- A grep around for setup_gpmi_nand() shows that other platforms will just make an empty

[PATCH 2/8] mx6memcal: Finish migration to defconfig options

2020-05-26 Thread Tom Rini
The config header for this platform uses '#undef' in a number of cases. All of the MMC related ones were already handled correctly in the defconfig file. In the case of CONFIG_CMD_FUSE, the command was being built and enabled via defconfig. Disable it in the defconfig, cleanup the header. Cc: Er

[PATCH 3/8] bcmstb: Migrate CONFIG_CMD_EXT[24]

2020-05-26 Thread Tom Rini
The common config header for bcm7260 and bcm7445 enable CONFIG_CMD_EXT2/EXT4 but the defconfigs do not. This results in the commands being disabled. Enable them via the defconfig. Cc: Thomas Fitzsimmons Signed-off-by: Tom Rini --- configs/bcm7260_defconfig | 2 ++ configs/bcm7445_defconfig |

Re: [PATCH v1 1/3] drivers: pinctrl-single: handle different register width

2020-05-26 Thread Rayagonda Kokatanur
Hi Simon, On Mon, May 25, 2020 at 7:45 AM Simon Glass wrote: > > Hi Rayagonda, > > On Sun, 24 May 2020 at 04:46, Rayagonda Kokatanur > wrote: > > > > Hi Simon, > > > > On Fri, May 8, 2020 at 7:07 AM Simon Glass wrote: > > > > > > Hi Rayagonda, > > > > > > On Thu, 30 Apr 2020 at 04:06, Rayagonda

Re: [PATCHv2 8/8] cubieboard7: Remove ARCH= references from documentation

2020-05-26 Thread Amit Tomer
Hi, On Wed, May 27, 2020 at 12:07 AM Tom Rini wrote: > > When building U-Boot we select the architecture via Kconfig and not ARCH > being passed in via the environment or make cmdline. > > While in here, add the doc file to the MAINTAINERS entry. > > Cc: Amit Singh Tomar > Cc: Manivannan Sadhasi

Re: [PATCH] RFC: tiny-dm: Proposal for using driver model in SPL

2020-05-26 Thread Walter Lozano
Hi Simon, On 25/5/20 18:40, Simon Glass wrote: Hi Tom, On Mon, 25 May 2020 at 14:57, Tom Rini wrote: On Mon, May 25, 2020 at 02:34:20PM -0600, Simon Glass wrote: Hi Tom, On Mon, 25 May 2020 at 13:47, Tom Rini wrote: On Mon, May 25, 2020 at 09:35:44AM -0600, Simon Glass wrote: This patch

Re: [PATCH] mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL

2020-05-26 Thread Simon Glass
Hi Faiz, On Tue, 26 May 2020 at 11:37, Faiz Abbas wrote: > > Simon, > > On 26/05/20 10:24 pm, Simon Glass wrote: > > Hi Faiz, > > > > I have ended up with an omap L138 lcdk board. Do you have instructions > > on how to get it booting from uSD and how to create the card image? I > > have tried va

[PATCHv2 8/8] cubieboard7: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. While in here, add the doc file to the MAINTAINERS entry. Cc: Amit Singh Tomar Cc: Manivannan Sadhasivam Signed-off-by: Tom Rini --- Changes in v2: - New patch --- MAI

[PATCHv2 6/8] m68k: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. While in here, add the doc file to the MAINTAINERS entry for coldfire. Cc: Huan Wang Cc: Angelo Dureghello Signed-off-by: Tom Rini --- Changes in v2: - None --- MAINTA

[PATCHv2 3/8] powerpc: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Cc: Po Liu Cc: Qiang Zhao Signed-off-by: Tom Rini --- Changes in v2: - None As an aside, these files should be converted rST and moved to doc/board/ and the MAINTAINERS

[PATCHv2 4/8] rockchip: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Acked-by: Kever Yang Cc: Simon Glass Cc: Philipp Tomsich Acked-by: Klaus Goger Cc: Jagan Teki Signed-off-by: Tom Rini --- Changes in v2: - None As an aside, these fi

[PATCHv2 5/8] arm: ti: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Cc: Lokesh Vutla Cc: Vitaly Andrianov Signed-off-by: Tom Rini --- Changes in v2: - None As an aside, these README files should be converted rST and moved to doc/board/

[PATCHv2 7/8] fu540: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. While in here, add the doc file to the MAINTAINERS entry. Cc: Paul Walmsley Cc: Palmer Dabbelt Cc: Anup Patel Cc: Atish Patra Signed-off-by: Tom Rini --- Changes in v

[PATCHv2 2/8] imx: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Cc: Adam Ford Cc: Vanessa Maegima Cc: Otavio Salvador Cc: Igor Opaniuk Cc: Manivannan Sadhasivam Signed-off-by: Tom Rini --- Changes in v2: - Move actions cubieboard

[PATCHv2 1/8] amlogic: Remove ARCH= references from documentation

2020-05-26 Thread Tom Rini
When building U-Boot we select the architecture via Kconfig and not ARCH being passed in via the environment or make cmdline. Cc: Beniamino Galvani Acked-by: Neil Armstrong Cc: u-boot-amlo...@groups.io Signed-off-by: Tom Rini --- Changes in v2: - None --- board/amlogic/p200/README.nanopi-k2

[PATCHv2] checkpatch.pl: Add check for defining CONFIG_CMD_xxx via config files

2020-05-26 Thread Tom Rini
All of our cmds have a Kconfig entry. Making enabling a CMD via the config file an error to checkpatch.pl. Signed-off-by: Tom Rini --- Changes in v2: - Rebase on Simon's update that adds a u-boot section - Catch undef as well - Have a more generic message --- scripts/checkpatch.pl | 6 ++ 1

[PATCH v1] x86: acpi: Drop _HID() where enumerated by _ADR()

2020-05-26 Thread Andy Shevchenko
ACPICA complains that either _HID() or _ADR() should be used. For General Purpose DMA we may not drop the _ADR() because the device is enumerated by PCI. Thus, simple drop _HID(). Reported-by: Bin Meng Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/arch-tangier/acpi/southcluster.asl |

[PATCH v3] arm: mvebu: Convert CRS305-1G-4S board to CRS3xx-98DX3236

2020-05-26 Thread Luka Kovacic
Convert the CRS305-1G-4S board to CRS3xx-98DX3236 to enable easier implementation of new CRS3xx series boards, based on Marvell Prestera 98DX3236. Signed-off-by: Luka Kovacic Cc: Luka Perkov Cc: Jakov Petrina --- Changes for v2: - Fix the patch failing to merge into the current U-Boot tree C

Re: [PATCH] video: extend stdout video console work-around for 'vga'

2020-05-26 Thread Tom Rini
On Sat, May 23, 2020 at 05:11:20PM +0200, Anatolij Gustschin wrote: > cfb_console driver use 'vga' console name and we still have board > environments defining this name. Re-use existing DM_VIDEO work- > around for console name to support 'vga' name in stdout environment. > > Signed-off-by: Anato

Re: [PATCH 11/14] ti: Drop sdp4430 board

2020-05-26 Thread Jagan Teki
On Tue, May 26, 2020 at 11:17 PM Jagan Teki wrote: > > DM, DM_SPI and other driver model migration deadlines > are expired for this board. > > Drop it. > > Signed-off-by: Jagan Teki > --- > arch/arm/mach-omap2/omap4/Kconfig | 4 -- > board/ti/sdp4430/Kconfig| 15 - > board/t

Re: [PATCH 09/14] gumstix: Drop duovero

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 11:14:44PM +0530, Jagan Teki wrote: > DM, DM_SPI and other driver model migration deadlines > are expired for this board. > > Drop it. > > Signed-off-by: Jagan Teki > --- > arch/arm/mach-omap2/omap4/Kconfig| 4 - > board/gumstix/duovero/Kconfig| 1

Re: [PATCH 06/14] Pandora: Drop omap3 pandora

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 11:14:41PM +0530, Jagan Teki wrote: > OF_CONTROL, DM_SPI and other driver model migration deadlines > are expired for this board. > > Drop it. > > Signed-off-by: Jagan Teki > --- > arch/arm/mach-omap2/omap3/Kconfig | 6 - > board/pandora/Kconfig | 9 - >

Re: [PATCHv2] mx23evk: Remove board

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 02:43:03PM -0300, Fabio Estevam wrote: > On Tue, May 26, 2020 at 2:32 PM Tom Rini wrote: > > > > This board has not yet been converted to DM. After checking with the > > listed maintainer, remove. > > > > Cc: Otavio Salvador > > Signed-off-by: Tom Rini > > Let's try to

Re: Bisected: omap_hsmmc 3.3V IO voltage incompatible with N900 (Was: Re: Bisected: mmc cause reboot loops on N900)

2020-05-26 Thread Pali Rohár
On Thursday 07 May 2020 17:19:38 Pali Rohár wrote: > On Thursday 07 May 2020 19:10:14 Faiz Abbas wrote: > > On 26/04/20 3:59 am, Pali Rohár wrote: > > > On Sunday 26 April 2020 00:20:07 Pali Rohár wrote: > > >> On Saturday 25 April 2020 23:26:15 Pali Rohár wrote: > > >>> Now I tried git bisect and

[PATCH 14/14] doc: driver-model: Update SPI migration status

2020-05-26 Thread Jagan Teki
ompa3 and fsl_dspi are fully converted into DM_SPI. Update it. Signed-off-by: Jagan Teki --- doc/driver-model/migration.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/doc/driver-model/migration.rst b/doc/driver-model/migration.rst index 2c0e2c7f06..408643974c 100644 --- a/doc/driver-m

[PATCH 13/14] spi: omap3: Drop nondm code

2020-05-26 Thread Jagan Teki
Now all boards are using this omap3 spi driver in dm model, so drop the nondm code. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 14 ++--- drivers/spi/omap3_spi.c | 136 2 files changed, 7 insertions(+), 143 deletions(-) diff --git a/drivers/

[PATCH 11/14] ti: Drop sdp4430 board

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap4/Kconfig | 4 -- board/ti/sdp4430/Kconfig| 15 - board/ti/sdp4430/MAINTAINERS| 6 -- board/ti/sdp4430/Makefile

[PATCH 12/14] ti: Drop omap5 uevm

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Lokesh Vutla Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap5/Kconfig | 4 - board/ti/omap5_uevm/Kconfig | 12 -- board/ti/omap5_uevm/MAINTAINERS | 6 - board/ti/omap5_uevm/Makefi

[PATCH 10/14] ti: Drop panda board

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Lokesh Vutla Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap4/Kconfig | 4 - board/ti/panda/Kconfig| 12 -- board/ti/panda/MAINTAINERS| 6 - board/ti/panda/Makefile

[PATCH 09/14] gumstix: Drop duovero

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap4/Kconfig| 4 - board/gumstix/duovero/Kconfig| 12 - board/gumstix/duovero/MAINTAINERS| 6 - board/gumstix/duovero/Ma

[PATCH 07/14] logicpd: Drop omap3 zoom1

2020-05-26 Thread Jagan Teki
OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Nishanth Menon Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap3/Kconfig | 8 -- board/logicpd/zoom1/Kconfig | 12 --- board/logicpd/zoom1/MAINTAINERS | 6 -- board/logicpd

[PATCH 05/14] Overo: Drop omap3 overo

2020-05-26 Thread Jagan Teki
OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Steve Sakoman Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap3/Kconfig | 13 - board/overo/Kconfig | 9 - board/overo/MAINTAINERS | 6 - board/overo/Makefi

[PATCH 08/14] quipos: Drop omap3 cairo

2020-05-26 Thread Jagan Teki
OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Albert ARIBAUD (3ADEV) Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap3/Kconfig | 8 - board/quipos/cairo/Kconfig| 12 -- board/quipos/cairo/MAINTAINERS| 6 - board/qu

[PATCH 06/14] Pandora: Drop omap3 pandora

2020-05-26 Thread Jagan Teki
OF_CONTROL, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap3/Kconfig | 6 - board/pandora/Kconfig | 9 - board/pandora/MAINTAINERS | 6 - board/pandora/Makefile|

[PATCH 04/14] compulab: Drop cm_t54

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Igor Grinberg Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap3/Kconfig | 7 - board/compulab/cm_t35/Kconfig | 12 - board/compulab/cm_t35/MAINTAINERS | 6 - board/compulab/cm_t35/Make

[PATCH 03/14] compulab: Drop cm_t54

2020-05-26 Thread Jagan Teki
DM, DM_SPI and other driver model migration deadlines are expired for this board. Drop it. Cc: Dmitry Lifshitz Signed-off-by: Jagan Teki --- arch/arm/mach-omap2/omap5/Kconfig | 4 - board/compulab/cm_t54/Kconfig | 12 -- board/compulab/cm_t54/MAINTAINERS | 6 - board/compulab/cm_t54/M

[PATCH 01/14] spi: fsl_dspi: Drop nondm code

2020-05-26 Thread Jagan Teki
Drop the nondm code from fsl_dspi.c since there is no board or any other code using it. Signed-off-by: Jagan Teki --- drivers/spi/fsl_dspi.c | 132 - 1 file changed, 132 deletions(-) diff --git a/drivers/spi/fsl_dspi.c b/drivers/spi/fsl_dspi.c index 1cdb2

[PATCH 02/14] configs: igep00x0: Enable DM_SPI

2020-05-26 Thread Jagan Teki
Enable DM_SPI for igep00x0 board. Cc: Enric Balletbo i Serra Signed-off-by: Jagan Teki --- configs/igep00x0_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/igep00x0_defconfig b/configs/igep00x0_defconfig index a5c301dbdb..d32c017907 100644 --- a/configs/igep00x0_defconfig

[PATCH 00/14] spi: dm-conversion (part1)

2020-05-26 Thread Jagan Teki
This series dropped nondm code from omap3 and fsl_dspi drivers. Few omap boards are removed since they still in nondm with no OF_CONTROL. So removed the same since the dm conversion deadline expired few months ago. Travis-CI: https://travis-ci.org/github/openedev/u-boot-amarula/builds/691404323

Re: [PATCHv2] mx23evk: Remove board

2020-05-26 Thread Fabio Estevam
On Tue, May 26, 2020 at 2:32 PM Tom Rini wrote: > > This board has not yet been converted to DM. After checking with the > listed maintainer, remove. > > Cc: Otavio Salvador > Signed-off-by: Tom Rini Let's try to convert this to DM first, please.

Re: [PATCH] mmc: davinci_mmc: Cleanup to use dt in U-boot and static platdata in SPL

2020-05-26 Thread Faiz Abbas
Simon, On 26/05/20 10:24 pm, Simon Glass wrote: > Hi Faiz, > > I have ended up with an omap L138 lcdk board. Do you have instructions > on how to get it booting from uSD and how to create the card image? I > have tried various sources but nothing works so far. Also, are you > able to send me a t

[PATCH] SPI_DM: Drop non DM support

2020-05-26 Thread Bhargav Shah
+ Dropped non DM support from Krikwood SPI + Modify config files Signed-off-by: Bhargav Shah diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig index 449c3a435e..2022779c47 100644 --- a/configs/clearfog_defconfig +++ b/configs/clearfog_defconfig @@ -67,6 +67,8 @@ CONFIG_PCI_MVE

[PATCHv2] mx23evk: Remove board

2020-05-26 Thread Tom Rini
This board has not yet been converted to DM. After checking with the listed maintainer, remove. Cc: Otavio Salvador Signed-off-by: Tom Rini --- Changes in v2: - Grab the hunk for arch/arm/mach-imx/mxs/Kconfig as well. --- arch/arm/mach-imx/mxs/Kconfig | 4 - board/freescale/mx23evk/Kco

[PATCH] mx23evk: Remove board

2020-05-26 Thread Tom Rini
This board has not yet been converted to DM. After checking with the listed maintainer, remove. Cc: Otavio Salvador Signed-off-by: Tom Rini --- board/freescale/mx23evk/Kconfig | 15 board/freescale/mx23evk/MAINTAINERS | 6 -- board/freescale/mx23evk/Makefile| 10 --- board/fre

[PATCH v1 2/3] x86: acpi: Replace _ADR() by _UID() in description of PCI host bridge

2020-05-26 Thread Andy Shevchenko
PCI Firmware specification requires _UID() and doesn't require _ADR() to be set. Replace latter by former. Reported-by: Bin Meng Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x8

  1   2   >