[U-Boot] [PATCH] configs: Scrub unused whitelist entries

2019-06-15 Thread Marek Vasut
Remove unused whitelist entries using the following script: sed "s@^CONFIG_@@" scripts/config_whitelist.txt | while read line ; do [ `git grep -l $line | wc -l` -le 1 ] && sed -i "/$line/ d" scripts/config_whitelist.txt ; done Signed-off-by: Marek Vasut Cc: Tom Rini --- scripts

Re: [U-Boot] [PATCH v3 5/5] ARM: dm: spi: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-15 Thread Marek Vasut
On 6/16/19 12:34 AM, Lukasz Majewski wrote: > This commit converts mxs_spi driver to support DM/DTS. > > Signed-off-by: Lukasz Majewski Is the non-DM part needed for anything ? I recall the SPL jumps back to BootROM when loading the U-Boot proper. So if not, drop it. Also, please don't do parti

Re: [U-Boot] [PATCH v3 4/5] ARM: imx: pinctrl: Add support for i.MX28 mxs pinctrl driver

2019-06-15 Thread Marek Vasut
On 6/16/19 12:34 AM, Lukasz Majewski wrote: > The code responsible for setting proper values in the MUX registers > (in the mxs_pinctrl_set_state()) has been ported from Barebox project > (branch: master, SHA1: eb3b0f7414cd8102844dd16b1c789e445e8947f8, > file: drivers/pinctrl/pinctrl-mxs.c). The f

Re: [U-Boot] [PATCH v3 3/5] ARM: dm: mxs: gpio: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-15 Thread Marek Vasut
On 6/16/19 12:34 AM, Lukasz Majewski wrote: > This commit This is not a commit, it's a change. It only becomes a commit when applied. > adds support for DM in the mxs_gpio.c driver when DM_GPIO > is enabled in Kconfig. But this also adds support for DT probing, which is orthogonal to DM support,

Re: [U-Boot] [PATCH v3 2/5] ARM: imx: net: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-15 Thread Marek Vasut
On 6/16/19 12:34 AM, Lukasz Majewski wrote: > The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. > One only needs to add proper compatible and dependency on FEC_MXC in the > Kconfig. > > Signed-off-by: Lukasz Majewski > --- > > Changes in v3: > - Set more apropriate tags > > C

Re: [U-Boot] [PATCH v3 1/5] ARM: dts: imx: Copy imx28 device tree related files from Linux kernel (v5.1.9)

2019-06-15 Thread Marek Vasut
On 6/16/19 12:34 AM, Lukasz Majewski wrote: > This commit copies from the Linux kernel (tag v5.1.9) i.MX28 related > device tree files. Please use commit hash (first 12 characters of the SHA-1 ID, see [1]), that's a unique identifier. Tag name is not. [1] https://www.kernel.org/doc/html/v4.12/pro

[U-Boot] [PATCH v3 4/5] ARM: imx: pinctrl: Add support for i.MX28 mxs pinctrl driver

2019-06-15 Thread Lukasz Majewski
The code responsible for setting proper values in the MUX registers (in the mxs_pinctrl_set_state()) has been ported from Barebox project (branch: master, SHA1: eb3b0f7414cd8102844dd16b1c789e445e8947f8, file: drivers/pinctrl/pinctrl-mxs.c). As the pinctrl node in the imx28.dtsi file has gpio pins

[U-Boot] [PATCH v3 3/5] ARM: dm: mxs: gpio: Add support for DM/DTS in the mxs_gpio.c driver (DM_GPIO)

2019-06-15 Thread Lukasz Majewski
This commit adds support for DM in the mxs_gpio.c driver when DM_GPIO is enabled in Kconfig. Signed-off-by: Lukasz Majewski --- Changes in v3: - Set more apropriate tags Changes in v2: - Use #if !CONFIG_IS_ENABLED(DM_GPIO) instead of plain #ifdef CONFIG_DM_GPIO arch/arm/include/asm/arch-mxs/

[U-Boot] [PATCH v3 5/5] ARM: dm: spi: Add support DM/DTS for i.MX28 mxs SPI driver (DM_SPI conversion)

2019-06-15 Thread Lukasz Majewski
This commit converts mxs_spi driver to support DM/DTS. Signed-off-by: Lukasz Majewski --- Changes in v3: - Set more apropriate tags Changes in v2: - New patch (conversion of mxs_spi.c to DM_SPI) drivers/spi/mxs_spi.c | 393 +++--- 1 file changed, 3

[U-Boot] [PATCH v3 2/5] ARM: imx: net: Enable support for i.MX28 DM_ETH in the fec_mxc.c driver

2019-06-15 Thread Lukasz Majewski
The fec_mxc.c driver can be reused by i.MX28 when DM_ETH is enabled. One only needs to add proper compatible and dependency on FEC_MXC in the Kconfig. Signed-off-by: Lukasz Majewski --- Changes in v3: - Set more apropriate tags Changes in v2: None drivers/net/Kconfig | 2 +- drivers/net/fec

[U-Boot] [PATCH v3 1/5] ARM: dts: imx: Copy imx28 device tree related files from Linux kernel (v5.1.9)

2019-06-15 Thread Lukasz Majewski
This commit copies from the Linux kernel (tag v5.1.9) i.MX28 related device tree files. Signed-off-by: Lukasz Majewski --- Changes in v3: - Update tag to 5.1.9 - Set more apropriate tags Changes in v2: None arch/arm/dts/imx28-pinfunc.h | 506 arch/arm/dts/imx28.dtsi | 1

[U-Boot] [PATCH v3 0/5] DM: Convert i.MX28 gpio, pinmux, spi and eth drivers to DM/DTS

2019-06-15 Thread Lukasz Majewski
This patch series converts some i.MX28 drivers to use DM/DTS. Converted drivers: - mxs_gpio.c - gpio driver - pinctrl-mxs.c - pinmux driver - Adjust fec_eth.c to support also i.MX28 SoC. - mxs_spi.c - SPI driver After applying this series it is possible to use ETH on i.MX28 board with following D

Re: [U-Boot] [RFC 1/6] efi_loader: runtime: make SetVirtualAddressMap configurable

2019-06-15 Thread Mark Kettenis
> From: Heinrich Schuchardt > Date: Sat, 15 Jun 2019 21:46:02 +0200 > > On 6/5/19 6:21 AM, AKASHI Takahiro wrote: > > OS does not always need to call SetVirtualAddressMap. > > (Ard confirmed this on arm64 linux.) > > So let this API configurable. If disabled, it will return EFI_UNSUPPORTED > > as

Re: [U-Boot] [RFC 1/6] efi_loader: runtime: make SetVirtualAddressMap configurable

2019-06-15 Thread Heinrich Schuchardt
On 6/5/19 6:21 AM, AKASHI Takahiro wrote: OS does not always need to call SetVirtualAddressMap. (Ard confirmed this on arm64 linux.) So let this API configurable. If disabled, it will return EFI_UNSUPPORTED as UEFI specification requires. Currently we do not support this scenario. Alex's patch

Re: [U-Boot] [RFC 3/6] efi_loader: support convert_pointer at runtime

2019-06-15 Thread Heinrich Schuchardt
On 6/5/19 6:21 AM, AKASHI Takahiro wrote: With this patch, ConvertPointer runtime service is enabled. This function will be useful only after SetVirtualAddressMap is called and before it exits according to UEFI specification. ConvertPointer() is called by drivers upon calling the notification f

Re: [U-Boot] [RFC 6/6] efi_loader: variable: support runtime variable access via cache

2019-06-15 Thread Heinrich Schuchardt
On 6/5/19 6:21 AM, AKASHI Takahiro wrote: With this patch, cache buffer for UEFI variables will be created so that we will still be able to access, at least retrieve, UEFI variables when we exit from boottime services, This feature is a "should" behavior described in EBBR v1.0 section 2.5.3. Si

[U-Boot] [PATCH 1/1] efi_loader: EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL definition

2019-06-15 Thread Heinrich Schuchardt
EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset() is a function and not a void * pointer. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/efi_api.h b/include/efi_api.h index d7d95edd4d..4de5d208f5 100644 --- a/include/

[U-Boot] [PATCH 1/1] efi_loader: GOP: provide accurate mode information

2019-06-15 Thread Heinrich Schuchardt
For 5:6:5 modes provide correct frame buffer information. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index c1a814cd43..cad509bfe

[U-Boot] [PATCH 1/1] efi_loader: SetMode() must blank screen

2019-06-15 Thread Heinrich Schuchardt
EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode() must blank the screen. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 50 ++-- 1 file changed, 38 insertions(+), 12 deletions(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 2

[U-Boot] [PATCH 1/1] efi_loader: system table setup

2019-06-15 Thread Heinrich Schuchardt
When setting up the system table avoid superfluous void * conversions. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c index b26291b91

Re: [U-Boot] [PATCH 2/2] net: Convert CONFIG_TFTP_BLOCKSIZE to Kconfig

2019-06-15 Thread Tom Rini
On Tue, Jun 11, 2019 at 04:51:15AM +0200, Marek Vasut wrote: > Convert CONFIG_TFTP_BLOCKSIZE to Kconfig, update defconfigs, > headers and whitelist. > > Signed-off-by: Marek Vasut > Cc: Christian Gmeiner > Cc: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [PATCH] tools: add tools/spl_size_limit to ignore list

2019-06-15 Thread Tom Rini
On Tue, Jun 11, 2019 at 10:18:51PM +0200, Simon Goldschmidt wrote: > This tool has just been added but it seems I forgot to add it to > the ignore list. So to prevent the built binary being marked as > unversioned, add it to the ignore list. > > Signed-off-by: Simon Goldschmidt Applied to u-boo

Re: [U-Boot] [PATCH] cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selected

2019-06-15 Thread Tom Rini
On Mon, May 20, 2019 at 10:22:14AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The setexpr shell command calls cmd_get_data_size() which is only built > when CMD_DATA_SIZE is defined. We need to define CMD_DATA_SIZE if > CONFIG_CMD_SETEXPR is selected or the build will fail

Re: [U-Boot] [PATCH v1] common: Fix a typo abnove -> above

2019-06-15 Thread Tom Rini
On Wed, Jun 12, 2019 at 03:35:24PM +0300, Andy Shevchenko wrote: > Signed-off-by: Andy Shevchenko Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] [PATCH] MAINTAINERS: change Ramon Fried email address

2019-06-15 Thread Tom Rini
On Thu, Jun 06, 2019 at 09:35:05PM +0300, Ramon Fried wrote: > Change my email address, too many mails > gets to my private mail, created specific email > account just for developmement. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP s

Re: [U-Boot] [PATCH 2/2] configs: Migrate CONFIG_SYS_LDSCRIPT to Kconfig

2019-06-15 Thread Tom Rini
On Sun, Jun 02, 2019 at 08:57:32AM -0400, Tom Rini wrote: > In order to migrate this symbol to Kconfig introduce a new symbol to > guard it, CONFIG_SYS_CUSTOM_LDSCRIPT. When that is set we can then > provide the exact final location o the script. > > Signed-off-by: Tom Rini Applied to u-boot/m

Re: [U-Boot] [PATCH 1/2] net: Convert CONFIG_IP_DEFRAG to Kconfig

2019-06-15 Thread Tom Rini
On Tue, Jun 11, 2019 at 04:51:14AM +0200, Marek Vasut wrote: > Convert CONFIG_IP_DEFRAG to Kconfig, update defconfigs, headers > and whitelist. This patch is a follow-up on a patch by Christian > Gmeiner with the added config/header/whitelist updates. > > Signed-off-by: Marek Vasut > Reported-by

Re: [U-Boot] [PATCH 1/2] configs: Remove unneeded CONFIG_SYS_LDSCRIPT instances

2019-06-15 Thread Tom Rini
On Sun, Jun 02, 2019 at 08:57:31AM -0400, Tom Rini wrote: > A number of boards set CONFIG_SYS_LDSCRIPT and then end up using one of > the default searched LDSCRIPT paths. Remove these customizations. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [PATCH] configs: Migrate the various SPL_BOOT_xxx choices for PowerPC

2019-06-15 Thread Tom Rini
On Sat, Jun 01, 2019 at 02:20:25PM -0400, Tom Rini wrote: > The non-CONFIG_SPL_FRAMEWORK SPL used on some PowerPC platforms have a > choice between CONFIG_SPL_NAND_BOOT, CONFIG_SPL_MMC_BOOT and > CONFIG_SPL_SPI_BOOT. Migrate this to Kconfig > > Signed-off-by: Tom Rini Applied to u-boot/master,

Re: [U-Boot] [PATCH v2 2/2] fastboot: Fix slot names reported by getvar

2019-06-15 Thread Lukasz Majewski
Hi Sam, > Fastboot tool recently underwent changes w.r.t. A/B slot format: > 1. In commit [1] the new slot format was introduced, according to > new A/B specification [2]. New slot format is "a", and old format "_a" > is now considered legacy. > 2. In commit [3] the legacy format "_a" was

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-15 Thread Marek Vasut
On 6/11/19 5:59 PM, Faiz Abbas wrote: > Hi Marek, > > On 11/06/19 3:34 PM, Marek Vasut wrote: >> On 6/11/19 10:12 AM, Faiz Abbas wrote: >>> Peng, Marek, >>> >>> On 11/06/19 6:47 AM, Peng Fan wrote: > partitions > > On 6/10/19 7:59 AM, Peng Fan wrote: >>> Subject: Re: [U-Boot] [PATC

Re: [U-Boot] [PATCH] mmc: Avoid HS400 mode when accessing boot partitions

2019-06-15 Thread Marek Vasut
On 6/14/19 5:27 PM, Jean-Jacques Hiblot wrote: > Marek, Faiz, > > On 11/06/2019 17:59, Faiz Abbas wrote: >> Hi Marek, >> >> On 11/06/19 3:34 PM, Marek Vasut wrote: >>> On 6/11/19 10:12 AM, Faiz Abbas wrote: Peng, Marek, On 11/06/19 6:47 AM, Peng Fan wrote: >> partitions >> >

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

2019-06-15 Thread Marek Vasut
On 6/15/19 4:24 PM, Eugeniu Rosca wrote: > Hi Marek, > > On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote: >> On 6/15/19 11:46 AM, Eugeniu Rosca wrote: >>> Hello Marek, Lukasz cc: Sam >>> >>> On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut wrote: >>> [..] Sam Protsenko (3):

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

2019-06-15 Thread Eugeniu Rosca
Hi Marek, On Sat, Jun 15, 2019 at 02:35:12PM +0200, Marek Vasut wrote: > On 6/15/19 11:46 AM, Eugeniu Rosca wrote: > > Hello Marek, Lukasz cc: Sam > > > > On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut wrote: > > [..] > >> Sam Protsenko (3): > >> fastboot: Fix slot names reported by getvar >

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

2019-06-15 Thread Marek Vasut
On 6/15/19 11:46 AM, Eugeniu Rosca wrote: > Hello Marek, Lukasz cc: Sam > > On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut wrote: > [..] >> Sam Protsenko (3): >> fastboot: Fix slot names reported by getvar > > Commit [1] from this PR got replaced by series [2]. Replaced where ? [1] seems lik

[U-Boot] [PATCH 1/1] efi_loader: QueryMode() must allocate buffer

2019-06-15 Thread Heinrich Schuchardt
EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode() must allocate a buffer for the mode information structure. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c| 6 +- lib/efi_selftest/efi_selftest_gop.c | 5 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a

[U-Boot] [PATCH 0/3] efi_loader: GOP parameter checks

2019-06-15 Thread Heinrich Schuchardt
Correct parameter checks of the graphical output protocol Heinrich Schuchardt (3): efi_loader: Blt() with incorrect BltOperation efi_loader: QueryMode() check parameters efi_loader: SetMode() parameters check lib/efi_loader/efi_gop.c | 19 ++- 1 file changed, 14 insertions(

[U-Boot] [PATCH 2/3] efi_loader: QueryMode() check parameters

2019-06-15 Thread Heinrich Schuchardt
Check the parameters of EFI_GRAPHICS_OUTPUT_PROTOCOL.QueryMode(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index 9428c3b83c..c44a1cfc47 100644 --

[U-Boot] [PATCH 1/3] efi_loader: Blt() with incorrect BltOperation

2019-06-15 Thread Heinrich Schuchardt
If EFI_GRAPHICS_OUTPUT_PROTOCOL.Blt() is called with an invalid value of BltOperation return EFI_INVALID_PARAMETER. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_go

[U-Boot] [PATCH 3/3] efi_loader: SetMode() parameters check

2019-06-15 Thread Heinrich Schuchardt
If EFI_GRAPHICS_OUTPUT_PROTOCOL.SetMode() is called with an invalid mode, return EFI_UNSUPPORTED. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_gop.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_gop.c b/lib/efi_loader/efi_gop.c index

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

2019-06-15 Thread Eugeniu Rosca
Hello Marek, Lukasz cc: Sam On Sat, Jun 15, 2019 at 5:23 AM Marek Vasut wrote: [..] > Sam Protsenko (3): > fastboot: Fix slot names reported by getvar Commit [1] from this PR got replaced by series [2]. If this PR is merged as-is, the benefit of the new series will be lost and the series w

[U-Boot] Pull request for UEFI sub-system for v2019.07-rc5 (2)

2019-06-15 Thread Heinrich Schuchardt
The following changes since commit 698bc1f2e95af4d909fb6a0f9a4b9ce32287ac5f: Merge tag 'u-boot-amlogic-20190612' of git://git.denx.de/u-boot-amlogic (2019-06-12 15:28:34 -0400) are available in the Git repository at: git://git.denx.de/u-boot-efi.git tags/efi-2019-07-rc5-2 for you to fetch