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

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]

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

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

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

[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 ---

[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]

[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

[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

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 > >

[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 ---

[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 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

[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

[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(-)

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

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 > > >

[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 +++

[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

[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. > >>>

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 >>>

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

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 > > > >

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 -

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

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

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:

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,

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 > --- >

[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

[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 +

[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/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(-)

[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 -

[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

[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

[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:

[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,

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

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

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

[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 ---

[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 ---

[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

[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

[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

[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 ++

[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

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:

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 - >

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|

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 ---

[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

[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 -

[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 -

[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 --

[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 -

[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 -

[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 -

[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 -

[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

[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

[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 @@

[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 -

[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 ---

[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

[PATCH v1 3/3] x86: acpi: Drop _ADR() where _HID() is present

2020-05-26 Thread Andy Shevchenko
ACPICA complains that either _HID() or _ADR() should be used. Drop _ADR() where _HID() is present. Reported-by: Bin Meng Signed-off-by: Andy Shevchenko --- arch/x86/include/asm/arch-tangier/acpi/southcluster.asl | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH v1 1/3] x86: acpi: Create buffers outside of the methods

2020-05-26 Thread Andy Shevchenko
Create buffers outside of the methods as ACPICA 20200214 complains about this: Remark 2173 - Creation of named objects within a method is highly inefficient, use globals or method local variables instead Reported-by: Bin Meng Signed-off-by: Andy Shevchenko ---

Re: [PATCH] cmd: fitupd: move config check to Kconfig

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 06:34:15PM +0200, Heinrich Schuchardt wrote: > Configuration checks should not be in the C files but in the Kconfig files. > > Signed-off-by: Heinrich Schuchardt For the patch itself: Reviewed-by: Tom Rini > --- > @Lukasz, @Tom > No board seems to be using the

[PATCH v2 4/4] riscv: cpu: check and append L1 cache to cpu features

2020-05-26 Thread Sagar Shrikant Kadam
All cpu cores within FU540-C000 having split I/D caches. Set the L1 feature bit using the i-cache-size as one of the property from device tree indicating that L1 cache is present on the cpu core. => cpu detail 0: cpu@0 rv64imac ID = 0, freq = 999.100 MHz: L1 cache 1: cpu@1

[PATCH v2 3/4] riscv: cpu: fixes to display proper CPU features

2020-05-26 Thread Sagar Shrikant Kadam
The cmd "cpu detail" fetches uninitialized cpu feature information and thus displays wrong / inconsitent details as below. FU540-C000 doesn't have any microcode, yet the cmd display's it. => cpu detail 0: cpu@0 rv64imac ID = 0, freq = 999.100 MHz: L1 cache, MMU, Microcode, Device ID

[PATCH v2 1/4] fu540: prci: add request and free clock handlers

2020-05-26 Thread Sagar Shrikant Kadam
Add clk_request handler to check if a valid clock is requested, Here clk_free handler is added for debug purpose which will display details of clock passed to clk_free. Signed-off-by: Sagar Shrikant Kadam --- drivers/clk/sifive/fu540-prci.c | 21 + 1 file changed, 21

[PATCH v2 2/4] riscv: dts: hifive-unleashed-a00: add cpu aliases

2020-05-26 Thread Sagar Shrikant Kadam
Add cpu aliases to U-Boot specific dtsi for hifive-unleashed. Without aliases we see that the CPU device sequence numbers are set randomly and the cpu list/detail command will show it as follows: => cpu list 1: cpu@0 rv64imac 0: cpu@1 rv64imafdc 2: cpu@2 rv64imafdc 3: cpu@3

[PATCH v2 0/4] update clock handler and proper cpu features

2020-05-26 Thread Sagar Shrikant Kadam
U-Boot cmd "cpu detail" shows inconsistent CPU features and is missing clk_request and free handlers. The current "cpu detail" sometimes shows "Microcode" as a feature, which is not the case with FU540-C000 on HiFive Unleashed board. Patch 1: add clk request handler to check if valid clock id is

[PATCH] Fix MMC access on Sabrelite

2020-05-26 Thread Martyn Welch
It appears that MMC access on the Sabrelite has been broken since cdcaee9518: Loading Environment from MMC... Card did not respond to voltage select! *** Warning - No block device, using default environment Remove the board_mmc_init() and related entries now that we should be using DM_MMC, add

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, 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 test image I can 'dd' onto the board? Regards, Simon On

[PATCH] cmd: fitupd: move config check to Kconfig

2020-05-26 Thread Heinrich Schuchardt
Configuration checks should not be in the C files but in the Kconfig files. Signed-off-by: Heinrich Schuchardt --- @Lukasz, @Tom No board seems to be using the 'fitupd' command anymore. Shouldn't we simply remove it? 'dfu tftp' offers a similar functionality. Best regards Heinrich ---

RE: [PATCH] doc: log: correct option name CONFIG_LOG_MAX_LEVEL

2020-05-26 Thread Patrick DELAUNAY
Hi, > From: Heinrich Schuchardt > Sent: mardi 26 mai 2020 15:51 > > On 26.05.20 11:48, Patrick Delaunay wrote: > > Replace CONFIG_(SPL_)MAX_LOG_LEVEL by the correct name as defined in > > common/Kconfig: > > line 668:config LOG_MAX_LEVEL > > line 688:config SPL_LOG_MAX_LEVEL > > line 708:config

  1   2   >