Re: [U-Boot] [PATCH 2/3] rockchip: rk3399: Add option to print on UART3.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:58, Christoph Muellner wrote: > > The RK3399 SPL does not use a pinctrl driver to setup the UART pins. > Instead it works based on config macros, which set the base address > of the actual UART block. > > Currently the RK3399 SPL support UART0 and UART2. > This patch adds

Re: [U-Boot] [PATCH 3/3] rockchip: clk: rk3399: allow requests for all UART clocks

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:58, Christoph Muellner wrote: > > This patch adds the rate for UART1 and UART3 the same way > as already implemented for UART0 and UART2. > > This is required for boards, which have their console output > on these UARTs. > > Signed-off-by: Christoph Muellner > --- > >

Re: [U-Boot] U-Boot, efi-x86_app and gcc-8.1?

2019-05-18 Thread Simon Glass
Hi Tom, On Sat, 18 May 2019 at 06:13, Tom Rini wrote: > > Hey guys, > > Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the > only board that doesn't build (having switched ARM to gcc-8.3 from > Arm/Linaro) and the error is pretty odd. Do you have any idea what's > going

Re: [U-Boot] [PATCH 2/2] rk3399: gru: Fix DTS compilation issues.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:49, Christoph Muellner wrote: > > A previous commit changed the USB3 node names, which breaks compilation > of the gru DTS files. > > This patch addresses this issue by fixing the referenced node names. > > Signed-off-by: Christoph Muellner > --- > >

Re: [U-Boot] [PATCH 1/3] rockchip: pinctrl: rk3399: Add support for UART3.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:58, Christoph Muellner wrote: > > This patch adds the missing GRF bit definitions for UART3 on the RK3399. > > Signed-off-by: Christoph Muellner > --- > > arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 4 > 1 file changed, 4 insertions(+) > Reviewed-by: Simon

Re: [U-Boot] [PATCH v2 04/18] usb: dwc3: Use UCLASS_NOP instead of UCLASS_MISC for the DWC3 generic glue

2019-05-18 Thread Simon Glass
On Mon, 13 May 2019 at 08:30, Jean-Jacques Hiblot wrote: > > dwc3-generic has been broken since MISC uclass has been modified to scan DT > sub-nodes after bind. > Fixing it by a using the no-op uclass. > > Signed-off-by: Jean-Jacques Hiblot > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file

2019-05-18 Thread Simon Glass
Hi Peng, On Tue, 7 May 2019 at 06:52, Peng Fan wrote: > > i.MX8 only support AHAB secure boot with Container format image, > we could not use FIT to support secure boot, so introduce container Why not FIT? > support to let SPL could load container images. What is a container image? Can you

Re: [U-Boot] [PATCH v2 1/3] board_f: Add mach specific DMA address check function.

2019-05-18 Thread Simon Glass
Hi Christoph, On Tue, 7 May 2019 at 09:59, Christoph Muellner wrote: > > From: Christoph Müllner > > Some machines have limited DMA engines, which cannot deal > with arbitrary addresses. This patch introduces a function > to model these restrictions on a machine level. > > Signed-off-by:

Re: [U-Boot] [PATCH 1/6] timer: dw-apb: remove unused DECLARE_GLOBAL_DATA_PTR

2019-05-18 Thread Simon Glass
On Thu, 9 May 2019 at 14:12, Simon Goldschmidt wrote: > > The dw-apb timer does not use 'gd', so remove its declaration. > > Signed-off-by: Simon Goldschmidt > --- > > drivers/timer/dw-apb-timer.c | 2 -- > 1 file changed, 2 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH v3] dw_mmc: turn on the IO supply

2019-05-18 Thread Simon Glass
On Mon, 13 May 2019 at 07:25, Urja Rannikko wrote: > > Fixes the microSD slot on the ASUS C201. > > Signed-off-by: Urja Rannikko > --- > v2: use #if CONFIG_IS_ENABLED(DM_REGULATOR) > v3: Move ret variable inside the if block (only used there) > --- > drivers/mmc/dw_mmc.c | 16 >

Re: [U-Boot] [PATCH 2/2] rockchip: rk3399-puma: Enable SPL_BOUNCE_BUFFER_STATIC.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 03:09, Christoph Muellner wrote: > > Since the DMA-engine of the RK3399 cannot directly copy the > ATF SRAM/PMUSRAM memory sections to their destination, we need > to use bounce-buffers. This results in allocation of a huge amount > of heap memory, which can't be reused

Re: [U-Boot] [PATCH v2 2/2] cmd: Add 'bcb' command to read/modify/write BCB fields

2019-05-18 Thread Simon Glass
Hi Eugeniu, On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > 'Bootloader Control Block' (BCB) is a well established term/acronym in > the Android namespace which refers to a location in a dedicated raw > (i.e. FS-unaware) flash (e.g. eMMC) partition, usually called "misc", > which is used

Re: [U-Boot] [PATCH v4 11/13] clk: test: Provide unit test for clk_get_parent_rate() method

2019-05-18 Thread Simon Glass
Hi Lukasz, On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > This commit provides sandbox unit test for clk_get_parent_rate() method. > > For testing the default test clocks setup had to be adjusted to emulate > structure similar to clocks in the Common Clock Framework [CCF] > (for iMX

[U-Boot] [PATCH 16/17] blk: Allow control of the block cache in TPL

2019-05-18 Thread Simon Glass
Generally block devices are not enabled in TPL, but in case they are, add a Kconfig option for the block cache. This allows the setting (default off) to be found with CONFIG_IS_ENABLED(). Signed-off-by: Simon Glass --- drivers/block/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff

[U-Boot] [PATCH 17/17] spi: Avoid using malloc() in a critical function

2019-05-18 Thread Simon Glass
In general we should avoid calling malloc() and free() repeatedly in U-Boot lest we turn it into tianocore. In SPL this can make SPI flash unusable since free() is often a nop and allocation space is limited. In any case, these seems no need for malloc() since the number of bytes is very small,

[U-Boot] [PATCH 14/17] x86: Add a forward struct declaration in coreboot_tables.h

2019-05-18 Thread Simon Glass
This struct is not defined in this header file. Add a forward declaration so that it can be included in any context. Signed-off-by: Simon Glass --- arch/x86/include/asm/coreboot_tables.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/include/asm/coreboot_tables.h

[U-Boot] [PATCH 15/17] bootstage: Add support for TPL record count

2019-05-18 Thread Simon Glass
If bootstage is enabled in TPL it lacks a record count and so does not build. Fix this by adding a new Kconfig option. Signed-off-by: Simon Glass --- common/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/common/Kconfig b/common/Kconfig index 1a1951f874e..cd0934fff9a 100644

Re: [U-Boot] [PATCH v4 07/13] dm: clk: Define clk_get_parent() for clk operations

2019-05-18 Thread Simon Glass
Hi Lukasz, On Sat, 18 May 2019 at 14:52, Lukasz Majewski wrote: > > On Sat, 18 May 2019 10:08:36 -0600 > Simon Glass wrote: > > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > > > This commit adds the clk_get_parent() function, which is responsible > > > for getting the parent's

Re: [U-Boot] [PATCH v3 00/11] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Simon Glass
Hi Lukasz, On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote: > > This patch series brings the files from Linux kernel to provide clocks support > as it is used on the Linux kernel with common clock framework [CCF] setup. > > This series also fixes several problems with current clocks and

Re: [U-Boot] [PATCH] rockchip: Cleanup of make_fit_atf.py.

2019-05-18 Thread Simon Glass
Hi Christoph, On Tue, 7 May 2019 at 03:11, Christoph Muellner wrote: > > This patch cleans up make_fit_atf.py in the following way: > > * Fix all issues reported by pylint > * Move copyright notice from file-to-generate to script > * Fix of-by-one bugs in loadables property > * Remove

Re: [U-Boot] [PATCH 2/5] rockchip: rk3328: add config option for SPL

2019-05-18 Thread Simon Glass
Hi Matwey, On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov wrote: > > From: Kever Yang > > Enable SPL_FRAMEWORK and SPL related base addr and size. Where are you enabling SPL_FRAMEWORK? > > Signed-off-by: Kever Yang > [cherry picked from >

Re: [U-Boot] [PATCH] ata: ahci: drop read-only ahci_ioports members

2019-05-18 Thread Simon Glass
On Tue, 14 May 2019 at 02:33, Christian Gmeiner wrote: > > Also get rid of ahci_setup_port(..). > > Signed-off-by: Christian Gmeiner > --- > drivers/ata/ahci.c | 12 > include/ahci.h | 2 -- > 2 files changed, 14 deletions(-) > Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 10/13] configs: am65x_hs_evm_r5: All sysfw to be loaded via MMC

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 11:26, Andreas Dannenberg wrote: > > Enable all the relevant configs that enables support for loading > sysfw via MMC. > > Signed-off-by: Andreas Dannenberg > --- > configs/am65x_hs_evm_r5_defconfig | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by:

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Move ENV_OFFSET to end of SPI NOR.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:37, Christoph Muellner wrote: > > Puma SoMs have a 4 MB SPI NOR flash. > Therefore we can move the environment to the end of the flash > (4 MiB - 16 kiB) in order to not overlap with SPL. > > Reported-by: Jakob Unterwurzacher > Signed-off-by: Christoph Muellner > --- >

Re: [U-Boot] [PATCH 4/6] serial: altera_uart: convert to livetree

2019-05-18 Thread Simon Glass
On Thu, 9 May 2019 at 14:12, Simon Goldschmidt wrote: > > Convert 'altera_uart_ofdata_to_platdata' to use 'dev_read_u32_default' > instead of 'fdtdec_get_int' and get rid of DECLARE_GLOBAL_DATA_PTR. > > Signed-off-by: Simon Goldschmidt > --- > > drivers/serial/altera_uart.c | 5 + > 1 file

[U-Boot] [PATCH 04/17] sandbox: Create a common sandbox DT

2019-05-18 Thread Simon Glass
At present sandbox and sandbox64 have duplicated nodes. This is hard to maintain since changes in one need to be manually added to the other. Create a common file to solve this problem. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 333 +--

[U-Boot] [PATCH 10/17] sandbox: Allo sdl-config to be overridden

2019-05-18 Thread Simon Glass
When cross-compiling, sometimes sdl-config must come from a different path from the default. Add a way to override it, by adding SDL_CONFIG to the environment before building U-Boot. Signed-off-by: Simon Glass --- arch/sandbox/config.mk | 5 +++-- board/sandbox/README.sandbox | 7 +++

[U-Boot] [PATCH 03/17] sandbox: Sync up sandbox64.dts with main DT

2019-05-18 Thread Simon Glass
Various nodes have been added and adjusted with sandbox. Move these changes over to sandbox64.dts to keep these in sync. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox64.dts | 67 ++ 1 file changed, 67 insertions(+) diff --git

[U-Boot] [PATCH 02/17] Add an empty stdint.h file

2019-05-18 Thread Simon Glass
Some libraries build by U-Boot may include stdint.h. This is not used by U-Boot itself and causes conflicts with the types defined in linux/types.h. To work around this, add an empty file with this name so that it will be used in preference to the compiler version. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 13/17] sandbox: Add documentation on how to run valgrind

2019-05-18 Thread Simon Glass
U-Boot sandbox can run with valgrind to check memory allocations. Add documentation on how to do this. Signed-off-by: Simon Glass --- board/sandbox/README.sandbox | 14 ++ 1 file changed, 14 insertions(+) diff --git a/board/sandbox/README.sandbox b/board/sandbox/README.sandbox

[U-Boot] [PATCH 07/17] sandbox: Quit when hang() is called

2019-05-18 Thread Simon Glass
It doesn't make a lot of sense to hang on sandbox when hang() is called, since the only way out is Ctrl-C. In fact, Ctrl-C does not work if the terminal is in raw mode, which it will be if the command-line has not been reached yet. In that case, Ctrl-Z / kill -9 must be used, which is not very

[U-Boot] [PATCH 11/17] sandbox: Add a memory {} node

2019-05-18 Thread Simon Glass
Add a memory node which indicates the size of sandbox memory. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 6 ++ arch/sandbox/dts/sandbox64.dts | 6 ++ include/configs/sandbox.h | 4 3 files changed, 16 insertions(+) diff --git

[U-Boot] [PATCH 09/17] sandbox: Add a comment to board_init_f()

2019-05-18 Thread Simon Glass
This function is used for both SPL and TPL. Add a comment to that effect. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/sandbox/cpu/spl.c b/arch/sandbox/cpu/spl.c index 106a78ac1c1..4f415c71d63 100644 --- a/arch/sandbox/cpu/spl.c

[U-Boot] [PATCH] imx8mq_evk: Staticize when appropriate

2019-05-18 Thread Fabio Estevam
Staticize 'spl_dram_init' and 'i2c_pad_info1' to fix the following sparse warnings: board/freescale/imx8mq_evk/spl.c:30:6: warning: symbol 'spl_dram_init' was not declared. Should it be static? board/freescale/imx8mq_evk/spl.c:41:22: warning: symbol 'i2c_pad_info1' was not declared. Should it

Re: [U-Boot] [PATCH 1/2] fdt: Allow indicating a node is for U-Boot proper only

2019-05-18 Thread Simon Glass
Hi Patrick, On Mon, 11 Feb 2019 at 07:34, Patrick DELAUNAY wrote: > > Hi Marek, > > > From: Marek Vasut > > Sent: lundi 11 février 2019 12:58 > > > > On 2/11/19 12:56 PM, Patrick DELAUNAY wrote: > > > Hi Marek and Simon > > > > > >> From: Patrick DELAUNAY > > >> Sent: vendredi 8 février 2019

[U-Boot] [PATCH 1/1] efi_loader: EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.SetState() correct parameter

2019-05-18 Thread Heinrich Schuchardt
KeyToggleState is a pointer according to UEFI spec 2.8. Adjust the function definition. Signed-off-by: Heinrich Schuchardt --- include/efi_api.h| 2 +- lib/efi_loader/efi_console.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/efi_api.h

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support

2019-05-18 Thread Simon Glass
Hi Andy, Instead of this could you: - move ATF? - change the SPL load address so it is not in the way (since TPL can load to any address) - (in extremis) create a function which does a memmove() and a jump, copy it somewhere and run it (I think x86 does this) Regards, Simon On Thu, 16 May 2019

[U-Boot] [PATCH] efi_loader: parameter check OutputString

2019-05-18 Thread Heinrich Schuchardt
Check the parameters against NULL. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_console.c | 5 + 1 file changed, 5 insertions(+) diff --git a/lib/efi_loader/efi_console.c b/lib/efi_loader/efi_console.c index 909fd5c29e..b2cb18e6d6 100644 --- a/lib/efi_loader/efi_console.c +++

[U-Boot] [PATCH 08/17] sandbox: spl: Lower priority of standard loader

2019-05-18 Thread Simon Glass
We normally want to load U-Boot from SPL, but if a board wants to do something else, it is currently not possible since the standard loader has the top priority. Lower it to allow other SPL_LOAD_IMAGE_METHOD() declarations to override it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c |

[U-Boot] [PATCH 12/17] sandbox: Correct spi flash operation

2019-05-18 Thread Simon Glass
Since the SPI nor conversion, 'sf probe' does not work on sandbox. Fix this by using the expected compatible string in the flash node. Signed-off-by: Simon Glass Fixes: cd35365762 (mtd: sf_probe: remove spi-flash compatible) --- arch/sandbox/dts/sandbox.dtsi | 2 +- drivers/spi/Kconfig

Re: [U-Boot] [PATCH v4 00/13] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Simon Glass
kHi Lukasz, On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > This patch series brings the files from Linux kernel to provide clocks support > as it is used on the Linux kernel with common clock framework [CCF] setup. > > This series also fixes several problems with current clocks and

Re: [U-Boot] [PATCH v3 1/6] spl: add Kconfig option to clear bss early

2019-05-18 Thread Simon Glass
Hi Andreas, On Mon, 6 May 2019 at 22:49, Andreas Dannenberg wrote: > > Hi Simon, > > On Mon, May 06, 2019 at 09:51:56PM -0600, Simon Glass wrote: > > Hi Andreas, > > > > On Fri, 3 May 2019 at 14:25, Andreas Dannenberg wrote: > > > > > > Simon, > > > > > > On Sat, Mar 30, 2019 at 09:18:08PM

Re: [U-Boot] [PATCH] rockchip: rk3399-puma: Reduce SPL size.

2019-05-18 Thread Simon Glass
On Tue, 7 May 2019 at 02:42, Christoph Muellner wrote: > > This commit reduces the SPL size by fixing typos in the removed property > string list, switching to the tiny versions of printf/memset and > disabling SPL_DOS/EFI_PARTITION support. > > Signed-off-by: Christoph Muellner > --- > >

Re: [U-Boot] [PATCH v4 09/13] dm: clk: Define clk_get_by_id() for clk operations

2019-05-18 Thread Simon Glass
Hi Lukasz, On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > This commit adds the clk_get_by_id() function, which is responsible > for getting the udevice with matching clk->id. Such approach allows > re-usage of inherit DM list relationship for the same class (UCLASS_CLK). > As a result

Re: [U-Boot] [PATCH 1/5] rockchip: rk3328: add spl board file support

2019-05-18 Thread Simon Glass
On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov wrote: > > From: Kever Yang > > rk3328 spl is locate at dram, so do not have strict size limit, > suppose to enable storage media controller driver, load ATF and > U-Boot, then boot into ATF. > > Signed-off-by: Kever Yang > [cherry picked from >

Re: [U-Boot] [PATCH 3/3] rk8xx: add a sysreset driver for poweroff

2019-05-18 Thread Simon Glass
On Mon, 13 May 2019 at 06:17, Urja Rannikko wrote: > > Based on snooping around the linux kernel rk8xx driver. > Tested on an ASUS C201. > > Signed-off-by: Urja Rannikko > --- > drivers/power/pmic/Kconfig | 1 + > drivers/power/pmic/rk8xx.c | 62 +++--- >

Re: [U-Boot] [PATCH v4 07/13] dm: clk: Define clk_get_parent() for clk operations

2019-05-18 Thread Lukasz Majewski
On Sat, 18 May 2019 10:08:36 -0600 Simon Glass wrote: > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > This commit adds the clk_get_parent() function, which is responsible > > for getting the parent's struct clock pointer. > > > > U-boot's DM support for getting parent is

Re: [U-Boot] [PATCH v4 00/13] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Lukasz Majewski
Hi Simon, > kHi Lukasz, > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > This patch series brings the files from Linux kernel to provide > > clocks support as it is used on the Linux kernel with common clock > > framework [CCF] setup. > > > > This series also fixes several

Re: [U-Boot] [PATCH v3 00/11] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Lukasz Majewski
Hi Simon, This is not the newest patch set version of CCF (v3 vs. v4), but the comments/issues apply. > Hi Lukasz, > > On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote: > > > > This patch series brings the files from Linux kernel to provide > > clocks support as it is used on the Linux

Re: [U-Boot] [PATCH v4 00/13] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Simon Glass
Hi Lukasz, On Sat, 18 May 2019 at 14:49, Lukasz Majewski wrote: > > Hi Simon, > > > kHi Lukasz, > > > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > > > This patch series brings the files from Linux kernel to provide > > > clocks support as it is used on the Linux kernel with

Re: [U-Boot] [PATCH v4 08/13] dm: clk: Define clk_get_parent_rate() for clk operations

2019-05-18 Thread Simon Glass
Hi Lukasz, On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > This commit adds the clk_get_parent_rate() function, which is responsible > for getting the rate of parent clock. > Unfortunately, u-boot's DM support for getting parent is different > (the parent relationship is in udevice)

Re: [U-Boot] [PATCH v2 03/18] dm: Add a No-op uclass

2019-05-18 Thread Simon Glass
On Mon, 13 May 2019 at 08:30, Jean-Jacques Hiblot wrote: > > This uclass is intended for devices that do not need any features from the > uclass, including binding children. > This will typically be used by devices that are used to bind child devices > but do not use dm_scan_fdt_dev() to do it.

Re: [U-Boot] [PATCH 2/3] bouncebuf: Add DMA validation check to addr_aligned().

2019-05-18 Thread Simon Glass
Hi Christoph, On Tue, 7 May 2019 at 03:05, Christoph Muellner wrote: > > Currently addr_aligned() performs an alignment and a length check > to validate the DMA address. However, some machines have stricter > restrictions of DMA-able addresses. > > This patch adds a call to

Re: [U-Boot] [PATCH v4 07/13] dm: clk: Define clk_get_parent() for clk operations

2019-05-18 Thread Simon Glass
On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > This commit adds the clk_get_parent() function, which is responsible > for getting the parent's struct clock pointer. > > U-boot's DM support for getting parent is different (the parent > relationship is in udevice) than the one in common

Re: [U-Boot] [PATCH v2 1/3] sysreset: switch to using SYSRESET_POWER_OFF for poweroff

2019-05-18 Thread Simon Glass
On Thu, 16 May 2019 at 15:48, Urja Rannikko wrote: > > It seems that SYSRESET_POWER_OFF was added recently, and all previous code > used SYSRESET_POWER for poweroff. SYSRESET_POWER is supposed to be a > PMIC-level power cycle, not a poweroff. SYSRESET_POWER means to do a power reset (removing

Re: [U-Boot] [PATCH 3/5] rockchip: Kconfig: enable SPL support for rk3328

2019-05-18 Thread Simon Glass
On Wed, 8 May 2019 at 00:35, Matwey V. Kornilov wrote: > > From: Kever Yang > > Enable SPL support and some related option in Kconfig. > > Signed-off-by: Kever Yang > [cherry picked from > https://github.com/rockchip-linux/u-boot/commit/430b01462bf3f24aaf7920ae2587a6943c39ab5d > with minor

Re: [U-Boot] [PATCH] x86: qemu-x86_64: Enable NVMe

2019-05-18 Thread Simon Glass
On Wed, 15 May 2019 at 09:52, Bin Meng wrote: > > NVMe was turned on in qemu-x86 but somehow we missed it for 64-bit. > > Signed-off-by: Bin Meng > --- > > configs/qemu-x86_64_defconfig | 1 + > 1 file changed, 1 insertion(+) Reviewed-by: Simon Glass

[U-Boot] [PATCH 00/17] sandbox: Various bug fixes

2019-05-18 Thread Simon Glass
This series collects together a lot of fixes for sandbox (mostly) that were discovered in the last release. Most of them are minor. Simon Glass (17): spl: misc: Allow misc drivers in SPL and TPL Add an empty stdint.h file sandbox: Sync up sandbox64.dts with main DT sandbox: Create a

[U-Boot] [PATCH 01/17] spl: misc: Allow misc drivers in SPL and TPL

2019-05-18 Thread Simon Glass
In some cases it is necessary to read the keyboard in early phases of U-Boot. The cros_ec keyboard is kept in the misc directory. Update the config to allow this. Signed-off-by: Simon Glass --- drivers/misc/Kconfig | 72 +++ drivers/misc/Makefile | 8

[U-Boot] [PATCH 05/17] sandbox: Add an alias for SPI

2019-05-18 Thread Simon Glass
At present 'sf probe' does not work since it cannot find SPI bus 0. Add an alias to correct this, now that we no-longer have the --spi_sf option. Signed-off-by: Simon Glass --- arch/sandbox/dts/sandbox.dts | 3 ++- arch/sandbox/dts/sandbox64.dts | 3 ++- 2 files changed, 4 insertions(+), 2

[U-Boot] [PATCH 06/17] sandbox: Exit when SYSRESET_POWER_OFF is requested

2019-05-18 Thread Simon Glass
At present this returns but it seems better to just exit sandbox immediately. Signed-off-by: Simon Glass reset --- arch/sandbox/cpu/state.c| 1 + drivers/sysreset/sysreset_sandbox.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/sandbox/cpu/state.c

Re: [U-Boot] [PATCH v4 08/13] dm: clk: Define clk_get_parent_rate() for clk operations

2019-05-18 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > This commit adds the clk_get_parent_rate() function, which is > > responsible for getting the rate of parent clock. > > Unfortunately, u-boot's DM support for getting parent is different > > (the parent

Re: [U-Boot] [PATCH v4 09/13] dm: clk: Define clk_get_by_id() for clk operations

2019-05-18 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Thu, 16 May 2019 at 16:11, Lukasz Majewski wrote: > > > > This commit adds the clk_get_by_id() function, which is responsible > > for getting the udevice with matching clk->id. Such approach allows > > re-usage of inherit DM list relationship for the same class > >

Re: [U-Boot] [PATCH v3 00/11] clk: Port Linux common clock framework [CCF] to U-boot (tag: 5.0-rc3)

2019-05-18 Thread Simon Glass
Hi Lukasz, On Sat, 18 May 2019 at 15:28, Lukasz Majewski wrote: > > Hi Simon, > > This is not the newest patch set version of CCF (v3 vs. v4), but the > comments/issues apply. > > > Hi Lukasz, > > > > On Thu, 25 Apr 2019 at 04:30, Lukasz Majewski wrote: > > > > > > This patch series brings the

Re: [U-Boot] [PATCH 14/21] Add a simple script to remove boards

2019-05-18 Thread Simon Glass
Hi Chris, On Wed, 15 May 2019 at 01:54, Chris Packham wrote: > > On Wed, May 15, 2019 at 9:54 AM Simon Glass wrote: > > > > This script attempts to create a git commit which removes a single board. > > It is quite fallible and everything it does needs checking. But it can > > help speed up the

[U-Boot] [PATCH v3] Add a simple script to remove boards

2019-05-18 Thread Simon Glass
This script attempts to create a git commit which removes a single board. It is quite fallible and everything it does needs checking. But it can help speed up the process. Signed-off-by: Simon Glass --- Changes in v3: - Move this into its own separate patch - Fix typos tools/rmboard.py | 150

[U-Boot] [PATCH V2] ARM: rmobile: Add recovery SPL for R-Car Gen3

2019-05-18 Thread Marek Vasut
Build an SPL which can be started via SCIF download mode on R-Car Gen3 and allows loading and executing U-Boot uImage with the next stage code. This is also useful for starting e.g. ATF BL2, which inits the hardware and returns to the U-Boot SPL, which can then load e.g. U-Boot proper. The H3,

[U-Boot] [PATCH 1/2] pci: renesas: Add RCar Gen3 PCIe controller driver

2019-05-18 Thread Marek Vasut
Add driver for the Renesas RCar PCIe controller present on Gen3 SoCs. The PCIe on Gen3 is used both to connect external PCIe peripherals. Signed-off-by: Marek Vasut Cc: Bin Meng Cc: Nobuhiro Iwamatsu --- drivers/pci/Kconfig | 8 + drivers/pci/Makefile | 1 +

[U-Boot] [PATCH] ARM: rmobile: Sync Gen3 defconfigs

2019-05-18 Thread Marek Vasut
Synchronize R-Car Gen3 defconfigs to remove duplicate pinctrl entries. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 3 --- configs/r8a7795_ulcb_defconfig| 3 --- configs/r8a77965_salvator-x_defconfig | 3 ---

[U-Boot] [PATCH 2/2] ARM: rmobile: Enable PCIe driver on R-Car Gen3 Salvator-X

2019-05-18 Thread Marek Vasut
Enable PCIe driver on R-Car Gen3 Salvator-X boards. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 4 configs/r8a77965_salvator-x_defconfig | 4 configs/r8a7796_salvator-x_defconfig | 4 3 files changed, 12 insertions(+) diff --git

Re: [U-Boot] U-Boot, efi-x86_app and gcc-8.1?

2019-05-18 Thread Bin Meng
Hi Tom, On Sun, May 19, 2019 at 12:07 AM Simon Glass wrote: > > Hi Tom, > > On Sat, 18 May 2019 at 06:13, Tom Rini wrote: > > > > Hey guys, > > > > Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the > > only board that doesn't build (having switched ARM to gcc-8.3 from > >

[U-Boot] U-Boot, efi-x86_app and gcc-8.1?

2019-05-18 Thread Tom Rini
Hey guys, Looking at https://travis-ci.org/trini/u-boot/jobs/534037240 this is the only board that doesn't build (having switched ARM to gcc-8.3 from Arm/Linaro) and the error is pretty odd. Do you have any idea what's going on? Thanks! -- Tom signature.asc Description: PGP signature