Re: [U-Boot] [PATCH v3 01/60] mpc83xx: Introduce ARCH_MPC830*

2019-01-28 Thread Mario Six
Hi York, On Tue, Jan 22, 2019 at 5:17 PM York Sun wrote: > > On 1/21/19 12:19 AM, Mario Six wrote: > > Replace CONFIG_MPC830* with proper CONFIG_ARCH_MPC830* Kconfig options. > > > > Signed-off-by: Mario Six > > > > --- > > I browse through the entire patch set. The patches look good. Since NXP

[U-Boot] [PATCH] spi: zynqmp_gqspi: Enable versal compatible string

2019-01-28 Thread Michal Simek
Trivial patch. Signed-off-by: Michal Simek --- drivers/spi/zynqmp_gqspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 75459d156ec2..da9413c06615 100644 --- a/drivers/spi/zynqmp_gqspi.c +++ b/drivers/spi/zynqmp_gqspi.c @@

[U-Boot] [PATCH] mpc83xx_clk: Add enable method

2019-01-28 Thread Mario Six
Some DM drivers have hardcoded clk_enable calls when handling clocks (for example the fsl_esdhc driver). To work with these drivers, add an enable method to the MCP83xx clock driver (which does nothing, because the clocks are always enabled). Signed-off-by: Mario Six ---

[U-Boot] [PATCH 1/2] i2c: ihs: Get rid of fpgamap

2019-01-28 Thread Mario Six
Since the IHS I2C driver want upstream, the surrounding infrastructure has changed quite a bit (notably, the fpgamap driver was replaced with a regmap driver). Update the driver to work with these changes. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 57

[U-Boot] [PATCH] ihs_mdio: Use new regmap interface

2019-01-28 Thread Mario Six
For the DM case, use the proper parameter for the regmap_init_mem call (which is the ofnode, not the udevice). Signed-off-by: Mario Six --- board/gdsys/common/ihs_mdio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/gdsys/common/ihs_mdio.c

[U-Boot] [PATCH 1/2] xilinx: Move zynq_board_read_rom_ethaddr to shared location

2019-01-28 Thread Michal Simek
Zynq and ZynqMP are sharing similar code and there is no reason to do code duplication. Move zynq_board_read_rom_ethaddr() to common file for easier conversion to DM. Use ZynqMP version that's why also add CONFIG_ZYNQ_EEPROM_BUS to Syzygy which is only one Zynq board which is using this feature.

[U-Boot] [PATCH] ihs_video_out: Fix error handling

2019-01-28 Thread Mario Six
The ihs_video_out driver's error handling is incorrect in two places (one is a missing negation, and in one place a error should be ignored). Fix these two instances. Signed-off-by: Mario Six --- drivers/video/ihs_video_out.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH] mpc83xx: Define _end symbol

2019-01-28 Thread Mario Six
To support OF_EMBED, the MPC83xx architecture has to define the "_end" symbol to correctly access the appended DT. Fortunately, MPC8xx already defines the symbol, and the linker script is quite similar to that of MPC83xx, so copy this approach for MPC83xx. Signed-off-by: Mario Six ---

[U-Boot] [PATCH 2/2] arm: zynq: Update boot_targets based on bootmode

2019-01-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Update boot_targets based on bootmode to run corresponding distroboot command first. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c | 29 + 1 file changed, 29 insertions(+)

[U-Boot] [PATCH 2/2] cmd: binop: Use hex2bin

2019-01-28 Thread Mario Six
Use the new hex2bin function in the binop command instead of converting the data manually. Signed-off-by: Mario Six --- cmd/binop.c | 28 +++- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/cmd/binop.c b/cmd/binop.c index be780bffd7b..116a2c0d554 100644

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-28 Thread AKASHI Takahiro
On Fri, Jan 25, 2019 at 10:31:20AM +0100, Alexander Graf wrote: > > > On 25.01.19 10:18, AKASHI Takahiro wrote: > > On Fri, Jan 25, 2019 at 09:52:31AM +0100, Alexander Graf wrote: > >> > >> > >> On 25.01.19 09:27, AKASHI Takahiro wrote: > >>> Alex, > >>> > >>> On Wed, Jan 23, 2019 at 10:51:29AM

[U-Boot] [PATCH] arm64: versal: Add mini eMMC configuration

2019-01-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds mini eMMC configuration which has only emmc0 and emmc1 functionalities and can run from small amount of memory. This is required for memory constraint devices. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek ---

[U-Boot] [PATCH] powerpc: Simplify processor.h

2019-01-28 Thread Mario Six
Lots of stuff in processor.h was taken verbatim from the Linux kernel. It was never synced, so most of it was removed or changed in the kernel since it was imported. Remove all the stuff that is unused in the current U-Boot sources; should anybody feel the need to re-sync with the kernel, they

[U-Boot] [PATCH 1/2] arm: zynq: Define distro boot commnads for qspi, nand and nor

2019-01-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch adds distro boot commands for qspi, nand and nor. The distro boot commands now reads the script from flash offset of 15.75MB and executes it. Setup default location via script_offset_f to 15.75MB to match the most xilinx reference boards for qspi,

[U-Boot] [PATCH 1/2] cmd: binop: Use new environment api

2019-01-28 Thread Mario Six
Since the binop command was introduced, the environment API was changed. Use the new API to make the command work again. Signed-off-by: Mario Six --- cmd/binop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/binop.c b/cmd/binop.c index 787f7a26ead..be780bffd7b

[U-Boot] [PATCH 1/2] gdsys_rxaui_ctrl: Return old state

2019-01-28 Thread Mario Six
Make the gdsys_rxaui_ctrl polarity setting function return the old state to comply with the API requirements. Signed-off-by: Mario Six --- drivers/misc/gdsys_rxaui_ctrl.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/misc/gdsys_rxaui_ctrl.c

[U-Boot] [PATCH 2/2] i2c: ihs: Improve error handling

2019-01-28 Thread Mario Six
Improve the error handling and reporting of the IHS I2C driver. Signed-off-by: Mario Six --- drivers/i2c/ihs_i2c.c | 67 +++ 1 file changed, 43 insertions(+), 24 deletions(-) diff --git a/drivers/i2c/ihs_i2c.c b/drivers/i2c/ihs_i2c.c index

[U-Boot] [PATCH 2/2] gdsys_rxaui_ctrl: Use new regmap interface

2019-01-28 Thread Mario Six
For the DM case, use the proper parameter for the regmap_init_mem call (which is the ofnode, not the udevice). Signed-off-by: Mario Six --- drivers/misc/gdsys_rxaui_ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/gdsys_rxaui_ctrl.c

[U-Boot] [PATCH 2/2] xilinx: common: Add support for DM_I2C zynq_board_read_rom_ethaddr()

2019-01-28 Thread Michal Simek
It is much easier to point to eeprom which stores information like MAC address directly via DT. eeprom which contains this information is pointed by /chosen/xlnx,eeprom parameter. For example: chosen { bootargs = "earlycon"; stdout-path =

Re: [U-Boot] [PATCH] imx: Check the PL310 version for applying errata

2019-01-28 Thread Stefano Babic
Hi Ye, On 07/01/19 10:29, Ye Li wrote: > Apply errata based on PL310 version instead of compile > time. Also set Prefetch offset to 15, since it improves > memcpy performance by 35%. Don't enable Incr double > Linefill enable since it adversely affects memcpy > performance by about 32MB/s and

[U-Boot] [PATCH V3 6/6] bcm968580: enable watchdog and reboot with watchdog

2019-01-28 Thread Philippe Reynes
Enable watchdog and reboot with watchdog in the configuration. Signed-off-by: Philippe Reynes --- configs/bcm968580_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) Changelog: v2: - add a commit message (thanks Marek) v3: - no change diff --git a/configs/bcm968580_ram_defconfig

[U-Boot] [PATCH V3 4/6] dt: bcm6858: add watchdog

2019-01-28 Thread Philippe Reynes
This commit add watchdog and sysreset watchdog in the bcm6858 device tree. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm6858.dtsi | 17 + 1 file changed, 17 insertions(+) Changelog: v2: - add a commit message (thanks Marek) v3: - no change diff --git

Re: [U-Boot] [PATCH u-boot 02/11] video: dw_hdmi: support SoC specific read/write ops

2019-01-28 Thread Anatolij Gustschin
Hi Neil, On Tue, 15 Jan 2019 17:17:50 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Jorge Ramirez-Ortiz > > Some IPs like the meson VPU have a specific way to write to dw_hdmi > registers. Make it configurable. > > Signed-off-by: Jorge Ramirez-Ortiz > [added commit description]

Re: [U-Boot] [U-Boot, 1/3] PowerPC: Stop re-using CONFIG_SPL_TEXT_BASE for TPL

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:24PM -0500, Tom Rini wrote: > Rather than checking for CONFIG_TPL_BUILD and then re-defining > CONFIG_SPL_TEXT_BASE make use of CONFIG_TPL_TEXT_BASE directly. > > Cc: York Sun > Cc: Po Liu > Cc: Qiang Zhao > Cc: Timur Tabi > Signed-off-by: Tom Rini After some

Re: [U-Boot] [U-Boot, 3/3] linker: Modify linker scripts to be more generic

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:26PM -0500, Tom Rini wrote: > Make use of "IMAGE_MAX_SIZE" and "IMAGE_TEXT_BASE" rather than > CONFIG_SPL_MAX_SIZE and CONFIG_SPL_TEXT_BASE. This lets us re-use the > same script for both SPL and TPL. Add logic to scripts/Makefile.spl to > pass in the right value

Re: [U-Boot] [U-Boot,2/3] rockchip: Add TPL_MAX_SIZE for RK3288

2019-01-28 Thread Tom Rini
On Tue, Jan 22, 2019 at 05:09:25PM -0500, Tom Rini wrote: > Per Kever Yang, 32768 is a reasonable max size for TPL on RK3288. > > Cc: Kever Yang > Cc: Philipp Tomsich > Signed-off-by: Tom Rini > Reviewed-by: Kever Yang Applied to u-boot/master, thanks! -- Tom signature.asc Description:

[U-Boot] [PATCH] arm64: versal: Remove one level of indentation in board_early_init_r()

2019-01-28 Thread Michal Simek
Simplify code indentation. Signed-off-by: Michal Simek --- board/xilinx/versal/board.c | 73 +++-- 1 file changed, 37 insertions(+), 36 deletions(-) diff --git a/board/xilinx/versal/board.c b/board/xilinx/versal/board.c index 2b3a40b73a5f..fe61125d92a8

Re: [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver

2019-01-28 Thread Simon Goldschmidt
On Mon, Jan 28, 2019 at 12:59 PM Marek Vasut wrote: > > On 1/28/19 12:49 PM, Simon Goldschmidt wrote: > > On Mon, Jan 28, 2019 at 12:30 PM Marek Vasut wrote: > >> > >> On 1/27/19 9:47 AM, Simon Goldschmidt wrote: > >>> Am 26.01.2019 um 09:58 schrieb Marek Vasut: > On 1/25/19 9:30 PM, Simon

[U-Boot] [PATCH V3 1/6] watchdog: bcm6345: switch to raw I/O functions

2019-01-28 Thread Philippe Reynes
This driver is used on several big endian mips board. So we could use raw I/O function instead of forcing big endian access. Signed-off-by: Philippe Reynes Reviewed-by: Daniel Schwierzeck --- drivers/watchdog/bcm6345_wdt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[U-Boot] [PATCH V3 3/6] dt: bcm6838: add watchdog

2019-01-28 Thread Philippe Reynes
This commit add watchdog and sysreset watchdog in the bcm6838 device tree. Signed-off-by: Philippe Reynes --- arch/mips/dts/brcm,bcm6838.dtsi | 17 + 1 file changed, 17 insertions(+) Changelog: v2: - add a commit message (thanks Marek) v3: - no change diff --git

Re: [U-Boot] [PATCH v1 06/15] dm: clk: imx: Add support for controlling imx6q clocks via Driver Model

2019-01-28 Thread Stefano Babic
Hi Lukasz, On 21/01/19 15:19, Lukasz Majewski wrote: > Hi Fabio, > >> Hi Lukasz, >> >> On Sat, Jan 19, 2019 at 7:15 AM Lukasz Majewski wrote: >> >>> +static ulong imx6q_clk_get_rate(struct clk *clk) >>> +{ >>> + ulong rate = 0; >>> + >>> + debug("%s(#%lu)\n", __func__, clk->id); >>>

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Tom Rini
On Mon, Jan 28, 2019 at 09:08:54AM -0600, Adam Ford wrote: > On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > > > > > Hello Adam, > > > > > > On 23.01.2019 22:13, Adam Ford wrote: > > > > By removing EXT support from SPL, it makes

[U-Boot] [PATCH v2 2/2] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-28 Thread Alexander Graf
While discussing something compeltely different, Ard pointed out that it might be legal to omit calling SetVirtualAddressMap altogether. While that sounds great, we currently rely on that call to remove all function pointers to code that we do not support outside of boot services. So let's patch

Re: [U-Boot] [PATCH] efi_loader: Patch non-runtime code out at ExitBootServices already

2019-01-28 Thread Alexander Graf
On 26.01.19 10:31, Heinrich Schuchardt wrote: > On 1/25/19 10:43 PM, Ard Biesheuvel wrote: >> On Fri, 25 Jan 2019 at 19:21, Heinrich Schuchardt wrote: >>> >>> On 1/23/19 6:33 PM, Alexander Graf wrote: While discussing something compeltely different, Ard pointed out that it might be

[U-Boot] [PATCH V3 2/6] watchdog: bcm6345: allow to use this driver on arm bcm6858

2019-01-28 Thread Philippe Reynes
This IP is also used on some arm SoC, so we allow to use it on arm bcm6858 too. Signed-off-by: Philippe Reynes --- drivers/watchdog/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Changelog: v2: - add a commit message (thanks Marek) v3: - only enable this driver on bcm6858

[U-Boot] [PATCH V3 5/6] bcm968380gerg: enable watchdog and reboot with watchdog

2019-01-28 Thread Philippe Reynes
Enable watchdog and reboot with watchdog in the configuration. Signed-off-by: Philippe Reynes --- configs/bcm968380gerg_ram_defconfig | 2 ++ 1 file changed, 2 insertions(+) Changelog: v2: - add a commit message (thanks Marek) v3: - no change diff --git a/configs/bcm968380gerg_ram_defconfig

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Adam Ford
On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > > > Hello Adam, > > > > On 23.01.2019 22:13, Adam Ford wrote: > > > By removing EXT support from SPL, it makes room for the extra > > > overhead of enabling OF_CONTROL in SPL. With

[U-Boot] [PATCH v2 0/2] efi_loader: Patch RTS at ExitBootServices

2019-01-28 Thread Alexander Graf
While discussing something compeltely different, Ard pointed out that it might be legal to omit calling SetVirtualAddressMap altogether. While that sounds great, we currently rely on that call to remove all function pointers to code that we do not support outside of boot services. So let's patch

[U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
Our selftest will soon test the actual runtime reset function rather than the boot time one. For this, we need to ensure that the runtime version actually succeeds on x86 to keep our travis tests work. So this patch implements an x86 runtime reset function. It is missing shutdown functionality

Re: [U-Boot] [PATCH v3 0/5] spi-flash: switch to "jedec, spi-nor" binding

2019-01-28 Thread Neil Armstrong
Hi Jagan, Tom, On 15/01/2019 13:59, Neil Armstrong wrote: > There is no reason not to use the Linux "jedec,spi-nor" binding in u-boot. > This patchset : > - adds this compatible into sf_probe and will avoid changing the > device tree files to add a u-boot specific compatible to probe a spi

Re: [U-Boot] [PATCH 1/4] dm: core: Add of_alias_get_highest_id()

2019-01-28 Thread Michal Simek
Hi Simon, On 18. 01. 19 16:13, Michal Simek wrote: > The same functionality was added to Linux for i2c bus registration with this > commit message: > > " > of: base: add function to get highest id of an alias stem > > I2C supports adding adapters using either a dynamic or fixed id. The > latter

Re: [U-Boot] misc: i2c_eeprom: Add atmel,24c08 to the list

2019-01-28 Thread Michal Simek
On 27. 01. 19 4:53, Tom Rini wrote: > On Mon, Jan 21, 2019 at 01:54:57PM +0100, Michal Simek wrote: > >> Linux kernel binding is using atmel,24c08 compatible string. On the >> other hand there is atmel,24c08a which is not listed in the kernel. >> Add compatible string without "a" suffix to be

[U-Boot] [PULL u-boot] Please pull u-boot-amlogic-20190128

2019-01-28 Thread Neil Armstrong
' (2019-01-26 22:47:55 -0500) are available in the Git repository at: git://git.denx.de/u-boot-amlogic.git tags/u-boot-amlogic-20190128 for you to fetch changes up to ed7bef7336a992f1edac1106de5d0f36405faa5b: pinctrl: meson: add pinconf support (2019-01-28 14:04:58 +0100

Re: [U-Boot] [PATCH 19/26] configs: mx6sabresd: Add SPL FIT and DM support

2019-01-28 Thread Abel Vesa
On 19-01-18 10:30:24, Tom Rini wrote: > On Fri, Jan 18, 2019 at 03:26:42PM +, Abel Vesa wrote: > > On 19-01-18 13:16:07, Fabio Estevam wrote: > > > Hi Abel, > > > > > > On Fri, Jan 18, 2019 at 12:59 PM Abel Vesa wrote: > > > > > > > +CONFIG_OF_CONTROL=y > > > > +CONFIG_SPL_OF_CONTROL=y > >

Re: [U-Boot] [PATCH u-boot 03/11] video: dw_hdmi: add support for color conversion

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:51 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Jorge Ramirez-Ortiz > > Some IPs like the meson VPU can only feed a particular pixel format to > dw_hdmi. As of now, the driver is hardcoded to use RGB888 as input. > > This commit enables different pixel

Re: [U-Boot] misc: i2c_eeprom: Add atmel,24c08 to the list

2019-01-28 Thread Tom Rini
On Mon, Jan 28, 2019 at 01:56:51PM +0100, Michal Simek wrote: > On 27. 01. 19 4:53, Tom Rini wrote: > > On Mon, Jan 21, 2019 at 01:54:57PM +0100, Michal Simek wrote: > > > >> Linux kernel binding is using atmel,24c08 compatible string. On the > >> other hand there is atmel,24c08a which is not

Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver

2019-01-28 Thread Stefano Babic
Hi Peng, On 24/12/18 05:04, Peng Fan wrote: > Add i.MX8QM clk driver, SDHC/FEC/UART/I2C supported. > > Signed-off-by: Peng Fan > --- > drivers/clk/imx/Makefile | 1 + > drivers/clk/imx/clk-imx8.c | 1 + > drivers/clk/imx/clk-imx8qm.c | 307 >

Re: [U-Boot] [U-Boot, PATCHv1] arm: stm32mp1: deploy spl in root folder

2019-01-28 Thread Tom Rini
On Mon, Jan 28, 2019 at 10:18:37AM +, Patrick DELAUNAY wrote: > Hi Tom, > > > -Original Message- > > From: U-Boot On Behalf Of Tom Rini > > Sent: dimanche 27 janvier 2019 04:51 > > To: Sean Nyekjær > > Cc: u-boot@lists.denx.de > > Subject: Re: [U-Boot] [U-Boot, PATCHv1] arm:

Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver

2019-01-28 Thread Fabio Estevam
Hi Stefano, On Mon, Jan 28, 2019 at 12:04 PM Stefano Babic wrote: > Ok - I see you decide to split the code on depend of the SOC type. > Nevertheless, even if defines are different, it seems to me that there > is still a lot of common code (_imx8_clk_enable is very similar). Do we > need really

Re: [U-Boot] [PATCH 2/3] net: add MSCC Luton switch support

2019-01-28 Thread Gregory CLEMENT
Hi Horatiu, On lun., janv. 28 2019, Horatiu Vultur wrote: > Add network driver for Microsemi Ethernet switch is present > on Luton SoCs. > > Signed-off-by: Horatiu Vultur > --- > MAINTAINERS| 1 + > drivers/net/Kconfig| 7 + > drivers/net/Makefile | 1 + >

Re: [U-Boot] [PATCH] Kconfig: don't pollute Kconfig w/ i.MX8M options for everyone

2019-01-28 Thread Stefano Babic
Hi Philipp, On 04/01/19 01:18, Philipp Tomsich wrote: > > >> On 03.01.2019, at 21:21, Tom Rini > > wrote: >> >> On Thu, Jan 03, 2019 at 06:47:40PM +0100, Philipp Tomsich wrote: >> >>> No point in showing the various DRAM options (right in the top-level >>> menu for

Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver

2019-01-28 Thread Stefano Babic
Hi Fabio, On 28/01/19 15:23, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Jan 28, 2019 at 12:04 PM Stefano Babic wrote: > >> Ok - I see you decide to split the code on depend of the SOC type. >> Nevertheless, even if defines are different, it seems to me that there >> is still a lot of

[U-Boot] [PATCH v4 0/5] Add USB boot to HS DRA7xx/AM57xx

2019-01-28 Thread Andrew F. Davis
Hello all, This series adds USB boot support to HS DRA7xx/AM57xx platforms. Thanks, Andrew Changes from v3: - Rebase on upstream - Sync defconfigs Changes from v2: - Only use ISW_ENTRY_ADDR for system with a set default Changes from v1: - Drop explicit UART boot support from DRA7xx as

[U-Boot] [PATCH v4 5/5] doc: ti-secure: Add ULO info for AM57xx/DRA7xx secure devices from TI

2019-01-28 Thread Andrew F. Davis
Booting from UART and USB on HS devices is now supported for this platform. Update documentation for the same. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- doc/README.ti-secure | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/README.ti-secure

Re: [U-Boot] [U-Boot, v3, 5/7] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-28 Thread Andrew F. Davis
On 1/26/19 9:51 PM, Tom Rini wrote: > On Thu, Jan 17, 2019 at 01:43:06PM -0600, Andrew F. Davis wrote: > >> Add a new defconfig file for the DRA7xx High Security EVM. This config >> is specific for the case of USB booting. >> >> Signed-off-by: Andrew F. Davis >> Reviewed-by: Tom Rini > > OK,

[U-Boot] [PATCH v4 3/5] defconfigs: Add config for DRA7xx High Security EVM with USB Boot support

2019-01-28 Thread Andrew F. Davis
Add a new defconfig file for the DRA7xx High Security EVM. This config is specific for the case of USB booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/dra7xx_hs_evm_usb_defconfig | 113 2 files

Re: [U-Boot] [PATCH v2 0/2] efi_loader: Patch RTS at ExitBootServices

2019-01-28 Thread Heinrich Schuchardt
On 1/28/19 4:42 PM, Alexander Graf wrote: > While discussing something compeltely different, Ard pointed out > that it might be legal to omit calling SetVirtualAddressMap altogether. > > While that sounds great, we currently rely on that call to remove > all function pointers to code that we do

[U-Boot] [PATCH v4] arm64: mvebu: Add basic support for uDPU board

2019-01-28 Thread Vladimir Vid
This adds initial support for micro-DPU (uDPU) board which is based on Armada-3720 SoC. micro-DPU is the single-port FTTdp "distribution point unit" made by Methode Electronics which offers complete modularity with replaceable SFP modules both for uplink and downlink (G.hn over twisted-pair,

[U-Boot] [PATCH v4 4/5] defconfigs: Add config for AM57xx High Security EVM with USB/UART Boot support

2019-01-28 Thread Andrew F. Davis
Add a new defconfig file for the AM57xx High Security EVM. This config is specific for the case of USB/UART booting. Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini --- MAINTAINERS | 1 + configs/am57xx_hs_evm_usb_defconfig | 98 + 2

[U-Boot] [PATCH v4 1/5] defconfigs: dra7xx_hs_evm: Sync HS and non-HS defconfigs

2019-01-28 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- configs/dra7xx_hs_evm_defconfig | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configs/dra7xx_hs_evm_defconfig

[U-Boot] [PATCH v4 2/5] defconfigs: am57xx_hs_evm: Sync HS and non-HS defconfigs

2019-01-28 Thread Andrew F. Davis
Additions have been made to the non-HS defconfig without the same being made to the HS defconfig, sync them. Signed-off-by: Andrew F. Davis --- configs/am57xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am57xx_hs_evm_defconfig b/configs/am57xx_hs_evm_defconfig

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Heinrich Schuchardt
On 1/28/19 4:42 PM, Alexander Graf wrote: > Our selftest will soon test the actual runtime reset function rather than > the boot time one. For this, we need to ensure that the runtime version > actually succeeds on x86 to keep our travis tests work. > > So this patch implements an x86 runtime

Re: [U-Boot] [PATCH u-boot 01/11] power: domain: meson-gx-pwrc-vpu: add missing depends

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:49 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Maxime Jourdan > > MESON_GX_VPU_POWER_DOMAIN should depend on POWER_DOMAIN. > > Signed-off-by: Maxime Jourdan > Signed-off-by: Neil Armstrong Reviewed-by: Anatolij Gustschin -- Anatolij

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
On 28.01.19 20:47, Simon Glass wrote: > Hi Alex, > > On Mon, 28 Jan 2019 at 12:39, Alexander Graf wrote: >> >> >> >> On 28.01.19 20:36, Simon Glass wrote: >>> Hi Alex, >>> >>> On Mon, 28 Jan 2019 at 12:34, Alexander Graf wrote: On 28.01.19 20:31, Simon Glass wrote: >

Re: [U-Boot] [PATCH u-boot 08/11] arm: meson: board-gx: Setup VPU in fdt

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:56 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Maxime Jourdan > > If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. > > Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for > EFI, and sets up

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Tom Rini
On Mon, Jan 28, 2019 at 02:23:00PM -0600, Adam Ford wrote: > On Mon, Jan 28, 2019 at 9:14 AM Tom Rini wrote: > > > > On Mon, Jan 28, 2019 at 09:08:54AM -0600, Adam Ford wrote: > > > On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > > > > > > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack

Re: [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver

2019-01-28 Thread Simon Goldschmidt
Am 28.01.2019 um 20:02 schrieb Marek Vasut: On 1/28/19 1:38 PM, Simon Goldschmidt wrote: On Mon, Jan 28, 2019 at 12:59 PM Marek Vasut wrote: On 1/28/19 12:49 PM, Simon Goldschmidt wrote: On Mon, Jan 28, 2019 at 12:30 PM Marek Vasut wrote: On 1/27/19 9:47 AM, Simon Goldschmidt wrote: Am

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi Alex, On Mon, 28 Jan 2019 at 12:34, Alexander Graf wrote: > > > > On 28.01.19 20:31, Simon Glass wrote: > > Hi Alex, > > > > On Mon, 28 Jan 2019 at 12:27, Alexander Graf wrote: > >> > >> > >> > >> On 28.01.19 20:24, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Mon, 28 Jan 2019 at 12:15,

Re: [U-Boot] [PATCH u-boot 11/11] arm: libretech-cc: enable video by default

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:59 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Maxime Jourdan > > libretech-cc being the main device tested with CONFIG_VIDEO_MESON, let's > enable it by default. > > Also enable: > - CONFIG_SYS_WHITE_ON_BLACK for prettiness > -

Re: [U-Boot] [PATCH u-boot 10/11] arm: meson64: enable console mux and console env by default

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:58 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > From: Maxime Jourdan > > With the recent addition of the meson VPU driver, enable the following > config entries by default for meson-64 targets: CONFIG_CONSOLE_MUX, > CONFIG_SYS_CONSOLE_IS_IN_ENV. > > This

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
On 28.01.19 20:31, Simon Glass wrote: > Hi Alex, > > On Mon, 28 Jan 2019 at 12:27, Alexander Graf wrote: >> >> >> >> On 28.01.19 20:24, Simon Glass wrote: >>> Hi Alex, >>> >>> On Mon, 28 Jan 2019 at 12:15, Alexander Graf wrote: On 28.01.19 20:13, Simon Glass wrote: >

Re: [U-Boot] [PATCH] imx: video: Fix return value issue

2019-01-28 Thread Anatolij Gustschin
On Fri, 4 Jan 2019 09:11:05 + Ye Li ye...@nxp.com wrote: > When framebuffer driver init is failed, we should return the err value not 0. > So the video init can exit immediately. > > Signed-off-by: Ye Li > --- > arch/arm/mach-imx/video.c | 4 ++-- > 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH] ihs_video_out: Fix error handling

2019-01-28 Thread Anatolij Gustschin
On Mon, 28 Jan 2019 09:50:58 +0100 Mario Six mario@gdsys.cc wrote: > The ihs_video_out driver's error handling is incorrect in two places > (one is a missing negation, and in one place a error should be ignored). > > Fix these two instances. > > Signed-off-by: Mario Six > --- >

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi, On Mon, 28 Jan 2019 at 08:42, Alexander Graf wrote: > > Our selftest will soon test the actual runtime reset function rather than > the boot time one. For this, we need to ensure that the runtime version > actually succeeds on x86 to keep our travis tests work. > > So this patch implements

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi Alex, On Mon, 28 Jan 2019 at 12:15, Alexander Graf wrote: > > > > On 28.01.19 20:13, Simon Glass wrote: > > Hi, > > > > On Mon, 28 Jan 2019 at 08:42, Alexander Graf wrote: > >> > >> Our selftest will soon test the actual runtime reset function rather than > >> the boot time one. For this, we

Re: [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver

2019-01-28 Thread Marek Vasut
On 1/28/19 8:17 PM, Simon Goldschmidt wrote: > Am 28.01.2019 um 20:02 schrieb Marek Vasut: >> On 1/28/19 1:38 PM, Simon Goldschmidt wrote: >>> On Mon, Jan 28, 2019 at 12:59 PM Marek Vasut wrote: On 1/28/19 12:49 PM, Simon Goldschmidt wrote: > On Mon, Jan 28, 2019 at 12:30 PM Marek

Re: [U-Boot] [PATCH u-boot 04/11] video: Add Meson Video Processing Unit Driver

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:52 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > This adds video output support for Amlogic GXBB/GXL/GXM chips. > The supported ports are CVBS and HDMI (based on DW_HDMI). > > When using HDMI, only DMT modes are supported. > > There is support for

Re: [U-Boot] [PATCH 1/3] videomodes: Relax EDID validation checks for hsync/vsync pulse width

2019-01-28 Thread Anatolij Gustschin
On Thu, 17 Jan 2019 11:29:55 +0200 Priit Laes pl...@plaes.org wrote: ... > Signed-off-by: Priit Laes > --- > drivers/video/videomodes.c | 2 -- > 1 file changed, 2 deletions(-) Applied to u-boot-video/master, thanks! -- Anatolij ___ U-Boot mailing

Re: [U-Boot] [RFC] ARM: omap3_logic_somlv: Enable OF_CONTROL in SPL

2019-01-28 Thread Adam Ford
On Mon, Jan 28, 2019 at 9:14 AM Tom Rini wrote: > > On Mon, Jan 28, 2019 at 09:08:54AM -0600, Adam Ford wrote: > > On Fri, Jan 25, 2019 at 3:39 PM Adam Ford wrote: > > > > > > On Thu, Jan 24, 2019 at 7:19 AM Felix Brack wrote: > > > > > > > > Hello Adam, > > > > > > > > On 23.01.2019 22:13,

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
On 28.01.19 20:24, Simon Glass wrote: > Hi Alex, > > On Mon, 28 Jan 2019 at 12:15, Alexander Graf wrote: >> >> >> >> On 28.01.19 20:13, Simon Glass wrote: >>> Hi, >>> >>> On Mon, 28 Jan 2019 at 08:42, Alexander Graf wrote: Our selftest will soon test the actual runtime reset

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
On 28.01.19 20:36, Simon Glass wrote: > Hi Alex, > > On Mon, 28 Jan 2019 at 12:34, Alexander Graf wrote: >> >> >> >> On 28.01.19 20:31, Simon Glass wrote: >>> Hi Alex, >>> >>> On Mon, 28 Jan 2019 at 12:27, Alexander Graf wrote: On 28.01.19 20:24, Simon Glass wrote: >

Re: [U-Boot] [PATCH 2/5] arm: socfpga: move SDR reset handling to driver

2019-01-28 Thread Marek Vasut
On 1/28/19 1:38 PM, Simon Goldschmidt wrote: > On Mon, Jan 28, 2019 at 12:59 PM Marek Vasut wrote: >> >> On 1/28/19 12:49 PM, Simon Goldschmidt wrote: >>> On Mon, Jan 28, 2019 at 12:30 PM Marek Vasut wrote: On 1/27/19 9:47 AM, Simon Goldschmidt wrote: > Am 26.01.2019 um 09:58

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Alexander Graf
On 28.01.19 20:13, Simon Glass wrote: > Hi, > > On Mon, 28 Jan 2019 at 08:42, Alexander Graf wrote: >> >> Our selftest will soon test the actual runtime reset function rather than >> the boot time one. For this, we need to ensure that the runtime version >> actually succeeds on x86 to keep our

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi Alex, On Mon, 28 Jan 2019 at 12:27, Alexander Graf wrote: > > > > On 28.01.19 20:24, Simon Glass wrote: > > Hi Alex, > > > > On Mon, 28 Jan 2019 at 12:15, Alexander Graf wrote: > >> > >> > >> > >> On 28.01.19 20:13, Simon Glass wrote: > >>> Hi, > >>> > >>> On Mon, 28 Jan 2019 at 08:42,

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi Alex, On Mon, 28 Jan 2019 at 12:39, Alexander Graf wrote: > > > > On 28.01.19 20:36, Simon Glass wrote: > > Hi Alex, > > > > On Mon, 28 Jan 2019 at 12:34, Alexander Graf wrote: > >> > >> > >> > >> On 28.01.19 20:31, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Mon, 28 Jan 2019 at 12:27,

Re: [U-Boot] [PATCH u-boot 09/11] configs: meson64: use vidconsole and usbkbd if enabled

2019-01-28 Thread Anatolij Gustschin
On Tue, 15 Jan 2019 17:17:57 +0100 Neil Armstrong narmstr...@baylibre.com wrote: > Allows displaying the console via video and using a USB keyboard. > > Also enables CONFIG_SPLASH_SCREEN if using video. > > Signed-off-by: Neil Armstrong > Signed-off-by: Maxime Jourdan Reviewed-by: Anatolij

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-28 Thread AKASHI Takahiro
Simon, On Mon, Jan 28, 2019 at 05:46:21PM -0700, Simon Glass wrote: > Hi, > > On Mon, 28 Jan 2019 at 01:55, AKASHI Takahiro > wrote: > > > > On Fri, Jan 25, 2019 at 10:31:20AM +0100, Alexander Graf wrote: > > > > > > > > > On 25.01.19 10:18, AKASHI Takahiro wrote: > > > > On Fri, Jan 25, 2019

Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver

2019-01-28 Thread Peng Fan
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: 2019年1月28日 22:24 > To: Stefano Babic > Cc: Peng Fan ; Fabio Estevam > ; u-boot@lists.denx.de; dl-uboot-imx > ; Lukasz Majewski > Subject: Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver > > Hi

[U-Boot] [RFC 1/3] dm: blk: add UCLASS_PARTITION

2019-01-28 Thread AKASHI Takahiro
UCLASS_PARTITION device will be created as a child node of UCLASS_BLK device. Signed-off-by: AKASHI Takahiro --- drivers/block/blk-uclass.c | 52 ++ include/dm/uclass-id.h | 1 + 2 files changed, 53 insertions(+) diff --git a/drivers/block/blk-uclass.c

[U-Boot] [RFC 2/3] efi_loader: associate BLK/PARTITION device to efi_disk

2019-01-28 Thread AKASHI Takahiro
efi_disk_create() will initialize efi_disk attributes for each device, either UCLASS_BLK or UCLASS_PARTITION. Currently (temporarily), efi_disk_obj structure is embedded into blk_desc to hold efi-specific attributes. Signed-off-by: AKASHI Takahiro --- drivers/block/blk-uclass.c | 9 ++

[U-Boot] [RFC 0/3] dm, efi: integrate efi_disk into DM

2019-01-28 Thread AKASHI Takahiro
This patch set came from the past discussion[1] on my "removable device support" patch and is intended to be an attempt to integrate efi_disk (more precisely, EFI_BLOCK_IO_PROTOCOL-capable efi object) into u-boot's Driver Model as much seamlessly as possible [1]

[U-Boot] [RFC 3/3] drivers: align block device drivers with DM-efi integration

2019-01-28 Thread AKASHI Takahiro
Efi_disk_create() should be hook up at every creation of block device at each driver. Associated blk_desc must be properly set up before calling this function. Signed-off-by: AKASHI Takahiro --- common/usb_storage.c | 27 +-- drivers/scsi/scsi.c

Re: [U-Boot] [PATCH v6 1/7] cmd: env: add "-e" option for handling UEFI variables

2019-01-28 Thread AKASHI Takahiro
On Fri, Jan 25, 2019 at 01:42:17PM +0100, Alexander Graf wrote: > > > On 24.01.19 12:04, AKASHI Takahiro wrote: > > "env [print|set] -e" allows for handling uefi variables without > > knowing details about mapping to corresponding u-boot variables. > > > > Signed-off-by: AKASHI Takahiro > >

Re: [U-Boot] [PATCH v2 1/2] x86: Add efi runtime reset

2019-01-28 Thread Simon Glass
Hi Alex, On Mon, 28 Jan 2019 at 13:08, Alexander Graf wrote: > > > > On 28.01.19 20:47, Simon Glass wrote: > > Hi Alex, > > > > On Mon, 28 Jan 2019 at 12:39, Alexander Graf wrote: > >> > >> > >> > >> On 28.01.19 20:36, Simon Glass wrote: > >>> Hi Alex, > >>> > >>> On Mon, 28 Jan 2019 at 12:34,

Re: [U-Boot] [PATCH 07/10] clk: imx8: add i.MX8QM clk driver

2019-01-28 Thread Peng Fan
Hi Stefano > > + > > > > Ok - I see you decide to split the code on depend of the SOC type. > Nevertheless, even if defines are different, it seems to me that there is > still a > lot of common code (_imx8_clk_enable is very similar). Do we need really a > separate file for each MX8 variant ?

Re: [U-Boot] [RFC 1/3] dm: blk: add UCLASS_PARTITION

2019-01-28 Thread Sergey Kubushyn
On Tue, 29 Jan 2019, AKASHI Takahiro wrote: My $.25 -- IMHO, block device partitions in Device Tree is _NOT_ a very good idea. What if one decided to re-partition his drive? Or just use bigger or smaller drive? Would he has to re-write DTS file and re-compile everything? And such change is not

Re: [U-Boot] [PATCH v6 0/7] cmd: add efidebug for efi environment

2019-01-28 Thread AKASHI Takahiro
Alex, On Fri, Jan 25, 2019 at 12:56:52PM +0100, Alexander Graf wrote: > > > On 24.01.19 12:04, AKASHI Takahiro wrote: > > This patch set is a collection of patches to enhance efi user interfaces > > /commands. It will help improve user experience on efi boot and make it > > more usable

Re: [U-Boot] [PATCH v2 2/3] efi_loader: enumerate disk devices every time

2019-01-28 Thread Simon Glass
Hi, On Mon, 28 Jan 2019 at 01:55, AKASHI Takahiro wrote: > > On Fri, Jan 25, 2019 at 10:31:20AM +0100, Alexander Graf wrote: > > > > > > On 25.01.19 10:18, AKASHI Takahiro wrote: > > > On Fri, Jan 25, 2019 at 09:52:31AM +0100, Alexander Graf wrote: > > >> > > >> > > >> On 25.01.19 09:27, AKASHI

Re: [U-Boot] U-Boot and USB 3.0

2019-01-28 Thread Bin Meng
Hi, On Tue, Jan 29, 2019 at 1:32 AM DJM-Avalesta wrote: > > Dear Bin Meng, > > I have a version of U-Boot, on my Jetson TX2 hardware, which does not support > USB 3.0. > > > U-Boot 2016.07-g9c3b9a4 > > (May 17 2018 - 00:08:48 -0700) > > Can you please use latest U-Boot instead? That will be

[U-Boot] [PATCH] mmc: tmio: Make DMA transfer end bit configurable

2019-01-28 Thread Marek Vasut
Different versions of the SDHI core use either bit 17 or bit 20 for the DTRAEND indication, which can differ even between SoC revisions. Make the DTRAEND bit position part of the driver private data, so that the probe function can set this accordingly. Set this to 20 on Socionext SoCs and either

  1   2   >