[U-Boot] [PATCH 1/1] efi_loader: signature of ExitBootServices()

2019-05-05 Thread Heinrich Schuchardt
Consistently use efi_uintn_t as type of memory keys. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h | 3 ++- lib/efi_loader/efi_boottime.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/efi_api.h b/include/efi_api.h index

[U-Boot] [PATCH v2 1/1] efi_loader: LoadImage() parameter checks

2019-05-05 Thread Heinrich Schuchardt
If the file path is NULL, return EFI_INVALID_PARAMETER. If the file path is invalid, return EFI_NOT_FOUND. If the size of the source buffer is 0, return EFI_LOAD_ERROR. If the parent image handle does not refer to a loaded image return EFI_INVALID_PARAMETER. The change is required to reach UEFI

Re: [U-Boot] [PATCH v12 4/9] ARM: socfpga: Moving the watchdog reset to the for-loop status polling

2019-05-05 Thread Chee, Tien Fong
On Sat, 2019-04-27 at 21:34 +0200, Simon Goldschmidt wrote: > > On 19.03.19 09:50, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Ensure the watchdog is reset timely on each status polling. > I would have expected a longer commit message here explaining why > this  > is

Re: [U-Boot] [PATCH v12 5/9] ARM: socfpga: Add FPGA drivers for Arria 10 FPGA bitstream loading

2019-05-05 Thread Chee, Tien Fong
On Fri, 2019-05-03 at 13:26 +0200, Simon Goldschmidt wrote: > On Thu, May 2, 2019 at 9:49 AM Chee, Tien Fong com> wrote: > > > > > > On Tue, 2019-04-30 at 14:24 +0200, Simon Goldschmidt wrote: > > > > > > On Tue, Apr 30, 2019 at 2:09 PM Chee, Tien Fong > > > wrote: > > > > > > > > > > > >

Re: [U-Boot] [PATCH v12 9/9] ARM: socfpga: Increase Malloc pool size to support FAT filesystem in SPL

2019-05-05 Thread Chee, Tien Fong
On Fri, 2019-05-03 at 13:54 +0200, Simon Goldschmidt wrote: > On Thu, May 2, 2019 at 9:56 AM Chee, Tien Fong com> wrote: > > > > > > On Tue, 2019-04-30 at 14:26 +0200, Simon Goldschmidt wrote: > > > > > > On Tue, Apr 30, 2019 at 2:19 PM Chee, Tien Fong > > > wrote: > > > > > > > > > > > >

Re: [U-Boot] [PATCH 6/6] ARM: imx: novena: Convert to DM VIDEO

2019-05-05 Thread Vagrant Cascadian
On 2019-05-06, Marek Vasut wrote: > Enable DM Video support on iMX6Q Novena and fix minor details > to restore previous behavior of the system. Also required: "[U-Boot] video: ipuv3: Set max display bpp to 32" https://patchwork.ozlabs.org/patch/1095618/ Otherwise it would hang after

Re: [U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB

2019-05-05 Thread Vagrant Cascadian
On 2019-05-06, Marek Vasut wrote: > Enable DM USB support on iMX6Q Novena. Hrm. Not working so well: => load usb 0:1 $kernel_addr_r misc/Binaries/linux/Image data abort pc : [] lr : [] reloc pc : [<17832f0e>]lr : [<17832991>] sp : faf7d788 ip : 0003 fp : 0005 r10:

Re: [U-Boot] [PATCH 4/6] ARM: imx: novena: Convert block devices to DM

2019-05-05 Thread Vagrant Cascadian
On 2019-05-06, Marek Vasut wrote: > Enable DM block, DM MMC and DM SATA support on iMX6Q Novena > convert board code to match the DM support. Tested booting from MMC and SATA. SATA performance was *much* faster, too! Thanks! Tested-by: Vagrant Cascadian live well, vagrant > Signed-off-by:

[U-Boot] [PATCH v3 1/2] rockchip: add common header boot0.h and gpio.h for soc

2019-05-05 Thread Kever Yang
boot0.h and gpio.h will be used by system and include by 'asm/arch/', each of them need of a copy from 'asm/arch-rockchip'. Signed-off-by: Kever Yang Reviewed-by: Tom Rini --- arch/arm/include/asm/arch-rk3036/boot0.h | 11 +++ arch/arm/include/asm/arch-rk3036/gpio.h | 11 +++

[U-Boot] [PATCH v3 2/2] arm: remove ARCH_ROCKCHIP macro in common code

2019-05-05 Thread Kever Yang
This is fix to: e2a12f590d rockchip: use 'arch-rockchip' as header file path The V2 of origin patch set has fix this, but we merge V1 by mistake, so lets correct it. Signed-off-by: Kever Yang --- arch/arm/cpu/armv8/start.S | 4 arch/arm/lib/vectors.S | 4 2 files changed, 8

[U-Boot] [PATCH v5 3/3] arm: socfpga: Move Stratix 10 SDRAM driver to DM

2019-05-05 Thread Ley Foon Tan
Convert Stratix 10 SDRAM driver to device model. Get rid of call to socfpga_per_reset() and use reset framework. SPL is changed from calling function in SDRAM driver directly to just probing UCLASS_RAM. Move sdram_s10.h from arch to driver/ddr/altera directory. Signed-off-by: Ley Foon Tan ---

[U-Boot] [PATCH v5 2/3] arm: dts: Stratix10: Add SDRAM node

2019-05-05 Thread Ley Foon Tan
Add SDRAM device tree node. Signed-off-by: Ley Foon Tan --- arch/arm/dts/socfpga_stratix10.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/socfpga_stratix10.dtsi b/arch/arm/dts/socfpga_stratix10.dtsi index d1ae2fabae..bd68a78a37 100755 ---

[U-Boot] [PATCH v5 1/3] ddr: altera: Compile ALTERA SDRAM in SPL only

2019-05-05 Thread Ley Foon Tan
Compile ALTERA_SDRAM driver in SPL only. Rename ALTERA_SDRAM to SPL_ALTERA_SDRAM. Signed-off-by: Ley Foon Tan --- Makefile | 2 +- arch/arm/mach-socfpga/Kconfig | 4 ++-- drivers/Makefile | 2 +- drivers/ddr/altera/Kconfig

[U-Boot] [PATCH v5 0/3] Move Stratix 10 SDRAM driver to DM

2019-05-05 Thread Ley Foon Tan
Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to DM. v4->v5: - Rebase patches to u-boot/master branch. v3 -> v4: - Add CONFIG_SPL_ALTERA_SDRAM to config_whitelist.txt in patch [1/3] and remove it in patch [3/3] - Remove _remove(). - Update commit message in patch

Re: [U-Boot] [PATCH v4 0/3] Move Stratix 10 SDRAM driver to DM

2019-05-05 Thread Ley Foon Tan
On Fri, May 3, 2019 at 11:13 PM Marek Vasut wrote: > > On 5/3/19 8:27 AM, Ley Foon Tan wrote: > > Compile ALTERA_SDRAM driver in SPL only and move Stratix 10 SDRAM driver to > > DM. > > > > v3 -> v4: > > - Add CONFIG_SPL_ALTERA_SDRAM to config_whitelist.txt in patch [1/3] and > > remove it in

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Marek Vasut
On 5/5/19 10:21 PM, Simon Goldschmidt wrote: > Am 05.05.2019 um 22:17 schrieb Marek Vasut: >> On 5/5/19 8:05 AM, Simon Goldschmidt wrote: >>> >>> >>> On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: > Am 04.05.2019 um 20:43 schrieb Marek Vasut: >> On

[U-Boot] [PATCH 5/6] ARM: imx: novena: Enable DM USB

2019-05-05 Thread Marek Vasut
Enable DM USB support on iMX6Q Novena. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- configs/novena_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/novena_defconfig b/configs/novena_defconfig index fa5fdea278..c5dbbb0b4d 100644

[U-Boot] [PATCH 4/6] ARM: imx: novena: Convert block devices to DM

2019-05-05 Thread Marek Vasut
Enable DM block, DM MMC and DM SATA support on iMX6Q Novena convert board code to match the DM support. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- arch/arm/dts/imx6q-novena.dts | 5 ++ board/kosagi/novena/novena.c | 107

[U-Boot] [PATCH 6/6] ARM: imx: novena: Convert to DM VIDEO

2019-05-05 Thread Marek Vasut
Enable DM Video support on iMX6Q Novena and fix minor details to restore previous behavior of the system. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- configs/novena_defconfig | 6 +++--- include/configs/novena.h | 4 ++-- 2 files changed, 5

[U-Boot] [PATCH 3/6] ARM: imx: novena: Enable DM GPIO

2019-05-05 Thread Marek Vasut
Enable DM GPIO support on iMX6Q Novena and fix up board code where applicable. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- board/kosagi/novena/novena.c | 2 ++ board/kosagi/novena/video.c | 3 +++ configs/novena_defconfig | 1 + 3 files

[U-Boot] [PATCH 1/6] ARM: dts: imx: novena: Import Novena DT from Linux

2019-05-05 Thread Marek Vasut
Import iMX6Q Novena device tree from Linux 5.1-rc7 37624b58542f . Enable DT control in full U-Boot . Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imx6q-novena.dts | 792

[U-Boot] [PATCH 2/6] ARM: imx: novena: Enable DM pin control

2019-05-05 Thread Marek Vasut
Enable DM pin control support on iMX6Q Novena. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Stefano Babic Cc: Vagrant Cascadian --- configs/novena_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/novena_defconfig b/configs/novena_defconfig index

[U-Boot] [PATCH] video: ipuv3: Set max display bpp to 32

2019-05-05 Thread Marek Vasut
The IPUv3 can handle 1920x1080x32bpp displays , set the max preallocated framebuffer BPP to 32 to cater for all eventualities. Signed-off-by: Marek Vasut Cc: Anatolij Gustschin --- drivers/video/imx/mxc_ipuv3_fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] ARM: omap3_logic: Enable UUID

2019-05-05 Thread Tom Rini
On Sun, May 05, 2019 at 11:28:01AM +0200, Stefano Babic wrote: > > > On 03/05/19 20:32, Fabio Estevam wrote: > > Hi Stefano, > > > > On Fri, Apr 26, 2019 at 7:11 AM wrote: > >> > >>> Instead of hardcoding the mmcroot to /dev/mmcblkX, use the UUID > >>> method. > >>> Signed-off-by: Adam Ford >

[U-Boot] [PATCH 15/18] Convert CONFIG_AUTOBOOT_MENU_SHOW to Kconfig

2019-05-05 Thread Simon Glass
This converts the following to Kconfig: CONFIG_AUTOBOOT_MENU_SHOW Signed-off-by: Simon Glass --- cmd/Kconfig | 8 configs/nokia_rx51_defconfig | 1 + include/configs/nokia_rx51.h | 2 -- include/configs/vexpress_aemv8a.h | 2 -- 4 files changed, 9

[U-Boot] [PATCH 14/18] autoboot: Rename CONFIG_MENU_SHOW to include AUTOBOOT

2019-05-05 Thread Simon Glass
Rename this option to CONFIG_AUTOBOOT_MENU_SHOW this it relates to the autoboot functionality. Signed-off-by: Simon Glass --- cmd/bootmenu.c| 2 +- common/autoboot.c | 2 +- doc/README.bootmenu | 2 +- doc/README.menu | 2 +-

[U-Boot] [PATCH 09/18] autoboot: Drop #ifdef CONFIG_AUTOBOOT_KEYED

2019-05-05 Thread Simon Glass
At present we have two functions named __autoboot() which do different things. This is confusing. Fix it by using if() instead of #ifdef for selecting the functions, and renaming them to meaningful names. Signed-off-by: Simon Glass --- common/autoboot.c | 17 - 1 file changed,

[U-Boot] [PATCH 17/18] autoboot: Move a few more options from #ifdef to if()

2019-05-05 Thread Simon Glass
Adjust some of the code which can be trivially moved to use IS_ENABLED() instead of #ifdef. Signed-off-by: Simon Glass --- common/autoboot.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c index

[U-Boot] [PATCH 18/18] autoboot: Adjust the implementation in autoboot_command()

2019-05-05 Thread Simon Glass
Avoid use of #ifdef and keep the common condion in a variable. This makes the code easier to read. Signed-off-by: Simon Glass --- common/autoboot.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c index

[U-Boot] [PATCH 13/18] autoboot: Tidy up use of menukey

2019-05-05 Thread Simon Glass
Move the variable to the top of the file and adjust the code which uses it to use if() rather than #ifdef, to make it easier to read. Signed-off-by: Simon Glass --- common/autoboot.c | 26 ++ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git

[U-Boot] [PATCH 10/18] autoboot: Drop unused CONFIG_MENUPROMPT

2019-05-05 Thread Simon Glass
This is not defined by any board. We could use CONFIG_AUTOBOOT_PROMPT instead perhaps, but this depends on CONFIG_AUTOBOOT_KEYED which is not used for the single-key case. So let's just remove CONFIG_MENUPROMPT. Signed-off-by: Simon Glass --- common/autoboot.c| 4

[U-Boot] [PATCH 16/18] autoboot: Add comments for menu_show()

2019-05-05 Thread Simon Glass
Add comments for this function. Also remove the #ifdef around it so that it can be called from 'if (IS_ENABLED(...))'. Signed-off-by: Simon Glass --- include/menu.h | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/include/menu.h b/include/menu.h index

[U-Boot] [PATCH 12/18] snow: Define CONFIG_AUTOBOOT_MENUKEY

2019-05-05 Thread Simon Glass
This option is not used by any boards. To avoid needing to remove it as dead code, add it to 'snow'. Signed-off-by: Simon Glass --- configs/snow_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/snow_defconfig b/configs/snow_defconfig index f4744095164..e5c7bdd6cc2 100644

[U-Boot] [PATCH 11/18] autoboot: Rename CONFIG_MENUKEY to CONFIG_AUTOBOOT_MENUKEY

2019-05-05 Thread Simon Glass
Since this is part of the autoboot functionality, it makes sense to name it with an AUTOBOOT prefix. No mainline boards use it so this should be safe, and downstream boards will need to adjust. Since this option is just an integer value, it really needs another option to control whether the

[U-Boot] [PATCH 06/18] autoboot: Drop #ifdef for CONFIG_AUTOBOOT_ENCRYPTION

2019-05-05 Thread Simon Glass
Use if() instead for this option, renaming the two different passwd_abort() functions to indicate their purpose. Signed-off-by: Simon Glass --- common/autoboot.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c index

[U-Boot] [PATCH 07/18] autoboot: Improve docs for CONFIG_AUTOBOOT_ENCRYPTION

2019-05-05 Thread Simon Glass
This option is not documented properly at present. Fix it. Signed-off-by: Simon Glass --- README | 2 ++ cmd/Kconfig | 9 - common/autoboot.c | 16 doc/README.autoboot | 15 +++ 4 files changed, 41 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 08/18] autoboot: Use if() for CONFIG_SILENT_CONSOLE

2019-05-05 Thread Simon Glass
Avoid an #ifdef in this function, to improve readability. Signed-off-by: Simon Glass --- common/autoboot.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/autoboot.c b/common/autoboot.c index f832808b71e..45df6656760 100644 --- a/common/autoboot.c +++

[U-Boot] [PATCH 05/18] autoboot: Use CONFIG_AUTOBOOT_STOP_STR_SHA256 indirectly

2019-05-05 Thread Simon Glass
This CONFIG option is only present if CONFIG_AUTOBOOT_ENCRYPTION is enabled so it cannot be used in code without that #ifdef. But we want to reduce the use of #ifdef in this file and in particular to avoid having two different functions both named passwd_abort() but which do different things. In

[U-Boot] [PATCH 03/18] Add CONFIG_USE_PREBOOT to boards that use CONFIG_PREBOOT

2019-05-05 Thread Simon Glass
In order to use CONFIG_PREBOOT with Kconfig, CONFIG_USE_PREBOOT must be defined for each board. To prepare for conversion to Kconfig, add this. Signed-off-by: Simon Glass --- include/configs/MPC8349EMDS.h | 1 + include/configs/TQM834x.h | 1 +

[U-Boot] [PATCH 02/18] Convert CONFIG_SHOW_BOOT_PROGRESS to Kconfig

2019-05-05 Thread Simon Glass
This converts the following to Kconfig: CONFIG_SHOW_BOOT_PROGRESS Signed-off-by: Simon Glass --- README| 165 -- common/Kconfig| 162 + configs/am335x_shc_defconfig | 1

[U-Boot] [PATCH 01/18] main: Use conditional run_preboot_environment_command()

2019-05-05 Thread Simon Glass
The function name indicates that it does something, but its entire operation is actually condition on a CONFIG. Move the condition outside the function so this is clearer, and use if() instead of #ifdef, like the reset of the file. Signed-off-by: Simon Glass --- common/main.c | 5 ++--- 1 file

[U-Boot] [PATCH 00/18] autoboot: Tidy up autoboot code

2019-05-05 Thread Simon Glass
This series cleans up autoboot.c a bit to: - Convert options to Kconfig - Use C code instead of C preprocessor where possible - Add a few comments Simon Glass (18): main: Use conditional run_preboot_environment_command() Convert CONFIG_SHOW_BOOT_PROGRESS to Kconfig Add CONFIG_USE_PREBOOT

[U-Boot] [RFC PATCH 1/1] riscv: increase the environment size for the qemu-riscv platform to 128kB

2019-05-05 Thread Karsten Merker
The existing default size of 4kB is too small as the default environment has already nearly that size and defining a single additional environment variable can exceed the available space. Signed-off-by: Karsten Merker --- include/configs/qemu-riscv.h | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [RFC PATCH 0/1] riscv: qemu-riscv environment size

2019-05-05 Thread Karsten Merker
Hello, currently the environment size for the qemu-riscv platform is set to only 4kB. The default environment (with distro_bootcmd support) has already nearly 4kB, so defining additional environment variables very quickly exceeds the allocated space. Is there a specific reason to use only 4kB

[U-Boot] [PATCH v2 1/1] efi_loader: allowable event types in CreateEventEx()

2019-05-05 Thread Heinrich Schuchardt
CreateEventEx() does not allow the following event types: * EVT_SIGNAL_EXIT_BOOT_SERVICES * EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE This check is needed to pass the UEFI SCT conformance test. Signed-off-by: Heinrich Schuchardt Reviewed-by: Alexander Graf --- v2 correct commit message ---

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Simon Goldschmidt
Am 05.05.2019 um 22:17 schrieb Marek Vasut: On 5/5/19 8:05 AM, Simon Goldschmidt wrote: On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: Marek Vasut

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Marek Vasut
On 5/5/19 8:05 AM, Simon Goldschmidt wrote: > > > On 05.05.19 03:42, Marek Vasut wrote: >> On 5/4/19 9:10 PM, Simon Goldschmidt wrote: >>> Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: > > > Marek Vasut mailto:ma...@denx.de>> schrieb am

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

2019-05-05 Thread Marek Vasut
The following changes since commit 4862830b696a6d0750e19d32a82553cdb41a85f8: Merge git://git.denx.de/u-boot-socfpga (2019-05-03 14:23:01 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v5 2/2] dlmalloc: fix malloc range at end of ram

2019-05-05 Thread Tom Rini
On Sun, May 05, 2019 at 07:55:10PM +0200, Simon Goldschmidt wrote: > Am 05.05.2019 um 13:38 schrieb Tom Rini: > >On Sat, May 04, 2019 at 08:16:38PM +0200, Simon Goldschmidt wrote: > >>Tom, > >> > >>Am 26.04.2019 um 13:00 schrieb Marek Vasut: > >>>On 4/26/19 12:19 PM, Simon Goldschmidt wrote: >

Re: [U-Boot] [PATCH v5 2/2] dlmalloc: fix malloc range at end of ram

2019-05-05 Thread Simon Goldschmidt
Am 05.05.2019 um 13:38 schrieb Tom Rini: On Sat, May 04, 2019 at 08:16:38PM +0200, Simon Goldschmidt wrote: Tom, Am 26.04.2019 um 13:00 schrieb Marek Vasut: On 4/26/19 12:19 PM, Simon Goldschmidt wrote: On Fri, Apr 26, 2019 at 11:56 AM Marek Vasut wrote: On 4/26/19 11:36 AM, Simon

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

2019-05-05 Thread Jagan Teki
Hi Tom, Please pull this spi-mem fix. thanks, Jagan. The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f: Merge tag 'u-boot-imx-20190426' of git://git.denx.de/u-boot-imx (2019-05-01 07:25:51 -0400) are available in the Git repository at:

Re: [U-Boot] [PULL] u-boot-mips

2019-05-05 Thread Tom Rini
On Sat, May 04, 2019 at 03:26:18PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull MIPS updates for 2019.07 > > https://travis-ci.org/danielschwierzeck/u-boot/builds/527853668 > > > The following changes since commit b4ee6daad7a2604ca9466b2ba48de86cc27d381f: > > Merge tag

Re: [U-Boot] Pull request for mmc sub-system for v2019.07

2019-05-05 Thread Tom Rini
On Sat, May 04, 2019 at 03:00:31AM +, Peng Fan wrote: > Hi Tom, > > I am not able to setup ssh to denx mmc tree, so use my github for this > request-pull, > please see whether this is ok for you. > Please pull mmc-2019-5-3 for v2019.07-rc1 > Travis build:

[U-Boot] [PATCH 1/1] efi_loader: LoadImage() parameter checks

2019-05-05 Thread Heinrich Schuchardt
If the file path is NULL, return EFI_INVALID_PARAMETER. If the file path is invalid, return EFI_NOT_FOUND. If the size of the source buffer is 0, return EFI_LOAD_ERROR. If the parent image handle does not refer to a loaded image return EFI_INVALID_PARAMETER. Signed-off-by: Heinrich Schuchardt

[U-Boot] [PATCH V2 4/4] imx: imx8dx/qxp: enable thermal

2019-05-05 Thread Peng Fan
Add thermal dts node Enable thermal in defconfig Signed-off-by: Peng Fan --- V2: None arch/arm/dts/fsl-imx8dx.dtsi | 56 +++ configs/imx8qxp_mek_defconfig | 2 ++ 2 files changed, 58 insertions(+) diff --git a/arch/arm/dts/fsl-imx8dx.dtsi

[U-Boot] [PATCH V2 2/4] thermal: add i.MX8 thermal driver

2019-05-05 Thread Peng Fan
Add i.MX8 thermal driver to support get temperature from SCU. Signed-off-by: Peng Fan --- V2: None drivers/thermal/Kconfig | 9 ++ drivers/thermal/Makefile | 1 + drivers/thermal/imx_scu_thermal.c | 203 ++ 3 files changed, 213

[U-Boot] [PATCH V2 1/4] misc: imx8: add sc_misc_get_temp

2019-05-05 Thread Peng Fan
Add sc_misc_get_temp to support get temperature Signed-off-by: Peng Fan --- V2: None arch/arm/include/asm/arch-imx8/sci/sci.h | 2 ++ arch/arm/include/asm/arch-imx8/sci/svc/misc/api.h | 1 + drivers/misc/imx8/scu_api.c | 28 +++ 3 files

[U-Boot] [PATCH V2 3/4] imx8: cpu: get temperature when print cpu desc

2019-05-05 Thread Peng Fan
Read the temperature when print cpu inforation. Signed-off-by: Peng Fan --- V2: Fix build when IMX_SCU_THERMAL not defined. arch/arm/mach-imx/imx8/cpu.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/imx8/cpu.c

Re: [U-Boot] [PATCH 1/1] env: Exit tools when invalid CRC found

2019-05-05 Thread Tom Rini
On Wed, Apr 03, 2019 at 01:30:47PM +, Molloy, Philip wrote: > fw_setenv and fw_printenv currently print a warning and use a default > environment compiled into the binary when an invalid CRC is found. This > modifies the default behavior to print an error and exit. This is > especially

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

2019-05-05 Thread Tom Rini
On Sun, May 05, 2019 at 12:34:56AM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > Summary: > - H6 Beelink GS1 board (Clément) > - Olimex A64-Teres-I board (Jonas) > - sunxi build fix for CONFIG_CMD_PXE|DHCP (Ondrej) > - EPHY clock changes (Jagan) > - EMAC enablement on

Re: [U-Boot] [PATCH v5 2/2] dlmalloc: fix malloc range at end of ram

2019-05-05 Thread Tom Rini
On Sat, May 04, 2019 at 08:16:38PM +0200, Simon Goldschmidt wrote: > Tom, > > Am 26.04.2019 um 13:00 schrieb Marek Vasut: > >On 4/26/19 12:19 PM, Simon Goldschmidt wrote: > >>On Fri, Apr 26, 2019 at 11:56 AM Marek Vasut wrote: > >>> > >>>On 4/26/19 11:36 AM, Simon Goldschmidt wrote: > On

[U-Boot] [PATCH 1/1] efi_loader: HandleProtocol parameter checks

2019-05-05 Thread Heinrich Schuchardt
HandleProtocol() and OpenProtocol() have to return EFI_UNSUPPORTED if the protocol is not installed on the handle. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/efi_loader/efi_boottime.c

[U-Boot] [PATCH 1/1] efi_loader: use EFI_PRINT instead of debug

2019-05-05 Thread Heinrich Schuchardt
For correct indentation of messages in the UEFI API implementation use EFI_PRINT() instead of debug(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 17 +++-- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c

[U-Boot] [PATCH 1/1] efi_loader: CloseProtocol() requires valid agent handle

2019-05-05 Thread Heinrich Schuchardt
Return EFI_INVALID_PARAMETER from CloseProtcol() if the agent handle is not valid. Return EFI_INVALID_PARAMETER if the optional controller handle is not valid. Return immediately from efi_search_obj if the handle is NULL. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c |

Re: [U-Boot] ARM: omap3_logic: Enable UUID

2019-05-05 Thread Stefano Babic
On 03/05/19 20:32, Fabio Estevam wrote: > Hi Stefano, > > On Fri, Apr 26, 2019 at 7:11 AM wrote: >> >>> Instead of hardcoding the mmcroot to /dev/mmcblkX, use the UUID >>> method. >>> Signed-off-by: Adam Ford >>> diff --git a/configs/omap35_logic_defconfig b/configs/omap35_logic_defconfig >>>

[U-Boot] [PATCH v2 3/5] arm: dts: change MT7629 to use spi-mem rather than qspi

2019-05-05 Thread Weijie Gao
The original mtk_qspi driver has been removed. We change MT7629 to use newly added mtk-spimem driver. Signed-off-by: Weijie Gao --- Changes since v1: rename node spimem to snfi. change pinctrl name and order. --- arch/arm/dts/mt7629-rfb.dts | 18 +- arch/arm/dts/mt7629.dtsi|

[U-Boot] [PATCH v2 5/5] MAINTAINERS: change spi driver entry

2019-05-05 Thread Weijie Gao
Change mtk_qspi.c to mtk_snfi_spi.c Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem.c to spi_snfi_spi.c --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index aa4b3bc6501..e2b7d7a36fb 100644 --- a/MAINTAINERS +++

[U-Boot] [PATCH v2 4/5] configs: mt7629_rfb: change MTK_QSPI to MTK_SNFI_SPI

2019-05-05 Thread Weijie Gao
This patch replaces MTK_QSPI with MTK_SNFI_SPI to ensure mtk_snfi_spi driver is built by default. Signed-off-by: Weijie Gao --- configs/mt7629_rfb_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/mt7629_rfb_defconfig b/configs/mt7629_rfb_defconfig index

[U-Boot] [PATCH v2 2/5] spi: add spi-mem driver for MediaTek MT7629 SoC

2019-05-05 Thread Weijie Gao
This patch adds spi-mem driver for MediaTek MT7629 SoC to access SPI-NOR and SPI-NAND flashes. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v1: rename mtk_spimem to spi_snfi_spi. change pinctrl name. --- drivers/spi/Kconfig| 9 + drivers/spi/Makefile | 1 +

[U-Boot] [PATCH v2 0/5] Add spi-mem driver for MediaTek MT7629 SoC

2019-05-05 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. This patch series add a new spi-mem driver to replace the mtk_qspi driver. Weijie Gao (5): spi: remove obsolete mtk_qspi driver spi: add spi-mem

[U-Boot] [PATCH v2 1/5] spi: remove obsolete mtk_qspi driver

2019-05-05 Thread Weijie Gao
Since u-boot has added the spi-mem framework and replaced the spi-nor framework, the mtk_qspi is no longer compatible with the new spi-nor driver. Remove this driver, and a new driver will be added later. Cc: Jagan Teki Signed-off-by: Weijie Gao --- Changes since v1: none ---

Re: [U-Boot] [PATCH 3/3] arm: mvebu: db-88f6820-gp: Enabel BLK and DM support

2019-05-05 Thread Chris Packham
On Fri, 3 May 2019, 6:43 PM Stefan Roese, wrote: > This patch enables CONFIG_BLK and some DM enabled drivers on > db-88f6820-gp to remove these compile warnings: > > = WARNING == > This board does not use CONFIG_DM_MMC. Please update > the board to use

Re: [U-Boot] [PATCH 1/1] efi_loader: allowable event types in CreateEventEx()

2019-05-05 Thread Alexander Graf
On 04.05.19 10:17, Heinrich Schuchardt wrote: CreateEventEx() does allow the following event types: ... not ... * EVT_SIGNAL_EXIT_BOOT_SERVICES * EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE Signed-off-by: Heinrich Schuchardt Did you find this proactively or is it fixing some SCT test case?

Re: [U-Boot] [PATCH] arm: socfpga: control reboot from SRAM via env callback

2019-05-05 Thread Simon Goldschmidt
On 05.05.19 03:42, Marek Vasut wrote: On 5/4/19 9:10 PM, Simon Goldschmidt wrote: Am 04.05.2019 um 20:43 schrieb Marek Vasut: On 5/3/19 10:53 PM, Simon Goldschmidt wrote: Marek Vasut mailto:ma...@denx.de>> schrieb am Fr., 3. Mai 2019, 22:42: On 5/3/19 10:39 PM, Simon Goldschmidt