[U-Boot] Pull request: u-boot-rockchip/tags/rockchip-for-v2019.07-rc3

2019-05-30 Thread Kever Yang
Hi Tom, Please pull some rockchip updates: - some fix for rk3399-puma; - rockchip script make_fit_atf.py cleanup - Enable TPL for rk3399 orangepi and nanopi4; - add support for rk3399 boards: Nanopi NEO4, Rockpro64, Rock PI 4; https://travis-ci.org/keveryang/u-boot/builds/539480346 Thanks, - Ke

Re: [U-Boot] [PATCH] arm: davinci: remove leftover assembly

2019-05-30 Thread Bartosz Golaszewski
śr., 29 maj 2019 o 19:18 Tom Rini napisał(a): > > On Mon, May 20, 2019 at 06:29:38PM +0200, Bartosz Golaszewski wrote: > > > From: Bartosz Golaszewski > > > > There are no more users of lowlevel_init.S. Remove the file. > > > > Suggested-by: Adam Ford > > Signed-off-by: Bartosz Golaszewski > >

[U-Boot] [PATCH v1] armv8: fsl-lsch2: add clock support for the second eSDHC

2019-05-30 Thread Yinbo Zhu
Layerscape began to use two eSDHC controllers, for example, LS1012A. They are same IP block with same reference clock. This patch is to add clock support for the second eSDHC. Signed-off-by: Yinbo Zhu --- arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c | 3 ++- 1 file changed, 2 insertions(+

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-30 Thread Peng Fan
Hi Jagan > Subject: Re: Cannot boot mx6qsabred with 2019.07-rc2 > > On Thu, May 23, 2019 at 10:18 PM Fabio Estevam > wrote: > > > > On Thu, May 23, 2019 at 1:11 PM Jagan Teki > wrote: > > > > > Don't know whether this is SPL size issue or not? can you try > > > SPL_OF_PLATDATA and TINY* I can se

[U-Boot] [PATCH v4] board/BuR/zynq/brsmarc2: initial commit

2019-05-30 Thread Hannes Schmelzer
This commit adds the first of a few more Xilinx ZYNQ based SoM boards. The SoM is based on Xilinx Zynq 7000 SoC. Mainly vxWorks 6.9.4.x is running on the board, doing some PLC stuff on various carrier boards. Signed-off-by: Hannes Schmelzer --- Changes in v4: - use CONFIG_SYS_AUTOLOAD instead

Re: [U-Boot] [PATCH v3] board/BuR/zynq/brsmarc2: initial commit

2019-05-30 Thread Hannes Schmelzer
On 5/29/19 3:34 PM, Michal Simek wrote: On 29. 05. 19 14:31, Hannes Schmelzer wrote: On 5/27/19 8:35 AM, Michal Simek wrote: On 10. 05. 19 7:52, Hannes Schmelzer wrote: This commit adds the first of a few more Xilinx ZYNQ based SoM boards. The SoM is based on Xilinx Zynq 7000 SoC. Mainly vx

Re: [U-Boot] [PATCH v4 8/8] pico-imx7d: enable boot without PMIC

2019-05-30 Thread Jun Nie
Fabio Estevam 于2019年5月31日周五 上午7:58写道: > > On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > > > > If PMIC is not probed successfully, it is still OK to boot > > Are you getting PMIC probe failure? > > What is the exact issue you are facing? There is no response from the PMIC I2C address in softwar

Re: [U-Boot] [PATCH v4 3/8] pico-imx7d: Correct uart clock root

2019-05-30 Thread Jun Nie
Fabio Estevam 于2019年5月31日周五 上午7:56写道: > > On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > > > +#if (CONFIG_CONS_INDEX == 0) > > +#define UART_CLK_ROOT UART1_CLK_ROOT > > +#elif (CONFIG_CONS_INDEX == 1) > > +#define UART_CLK_ROOT UART2_CLK_ROOT > > +#elif (CONFIG_CONS_INDEX == 2) > > +#define UART

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-30 Thread Peng Fan
Hi Tom, > Subject: Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2 > > On Thu, May 23, 2019 at 04:04:17PM +0200, Marek Vasut wrote: > > On 5/23/19 3:59 PM, Tom Rini wrote: > > > On Thu, May 23, 2019 at 10:49:11AM -0300, Fabio Estevam wrote: > > >> Hi Peng, > > >> > > >> On Tue, May 21, 2019

[U-Boot] [PATCH] lib: Makefile: build fdtdec_common.c when OF_LIBFDT selected

2019-05-30 Thread Peng Fan
When build SPL_OF_PLATDATA on i.MX6, meet issue the fdtdec_get_int not defined, however fdtdec.c will use fdtdec_get_int, so let's compile fdtdec_common.c when OF_LIBFDT selected. Signed-off-by: Peng Fan --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Mak

Re: [U-Boot] [PATCH v2 1/2] power: pmic: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-30 Thread keerthy
On 5/30/2019 10:44 PM, Tom Rini wrote: On Thu, May 30, 2019 at 09:58:27AM +0530, Keerthy wrote: Remove $SPL from Makefile as the corresponding SPL config options are not present. This enables them at SPL. Signed-off-by: Keerthy --- drivers/power/pmic/Makefile | 6 +++--- 1 file changed, 3

Re: [U-Boot] omap2 lowlevel_init.S quirk / question

2019-05-30 Thread Tom Rini
On Thu, May 30, 2019 at 06:27:33PM -0500, Adam Ford wrote: > Just before ENTRY(cpy_clk_code), there is an #if statement, but it > appears to be repeated: > #if !defined(CONFIG_SYS_NAND_BOOT) && !defined(CONFIG_SYS_NAND_BOOT) > > Can we remove one of these or should this be something different, li

Re: [U-Boot] [PATCH v2 0/5] Add initial support for Pine64 Rock64 board

2019-05-30 Thread Kever Yang
Hi Matwey,     This patch set broken the spl build for evb-rk3328, see: https://travis-ci.org/keveryang/u-boot/jobs/539154859     Please try buildman/buildman rockchip or pass the Travis build for U-Boot for your patches. Thanks, - Kever On 05/19/2019 08:10 PM, Matwey V. Kornilov wrote: > This

Re: [U-Boot] [PATCH v4 8/8] pico-imx7d: enable boot without PMIC

2019-05-30 Thread Fabio Estevam
On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > > If PMIC is not probed successfully, it is still OK to boot Are you getting PMIC probe failure? What is the exact issue you are facing? ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/

Re: [U-Boot] [PATCH v4 6/8] pico-imx7d: Add bl33 config

2019-05-30 Thread Fabio Estevam
On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > > Add default configuration to run u-boot as BL33 in the boot flow case > of ATF(ARM Trusted Firmware) -> OPTEE -> U-boot. > > Signed-off-by: Jun Nie Reviewed-by: Fabio Estevam ___ U-Boot mailing list U-

Re: [U-Boot] [PATCH v4 3/8] pico-imx7d: Correct uart clock root

2019-05-30 Thread Fabio Estevam
On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > +#if (CONFIG_CONS_INDEX == 0) > +#define UART_CLK_ROOT UART1_CLK_ROOT > +#elif (CONFIG_CONS_INDEX == 1) > +#define UART_CLK_ROOT UART2_CLK_ROOT > +#elif (CONFIG_CONS_INDEX == 2) > +#define UART_CLK_ROOT UART3_CLK_ROOT > +#elif (CONFIG_CONS_INDEX ==

Re: [U-Boot] [PATCH v4 2/8] imx: mx7: Skip secure init in arch_cpu_init

2019-05-30 Thread Fabio Estevam
On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > +#ifndef CONFIG_SKIP_LOWLEVEL_INIT > +/* enable all periherial can be accessed in nosec mode */ Typo "peripheral" > +static void init_csu(void) > +{ > + int i = 0; No need to initialize i here. _

Re: [U-Boot] [PATCH v4 1/8] mx7_common: Share configs to skip low level init

2019-05-30 Thread Fabio Estevam
Hi Jun, Please add Stefano Babic on your imx patches. On Wed, May 8, 2019 at 3:39 AM Jun Nie wrote: > > Share configs in mx7 to skip low level init if we are in the case where > OPTEE is loaded already (maybe by ARM Trusted Firmware) and that most of > the low level initialization is already don

[U-Boot] omap2 lowlevel_init.S quirk / question

2019-05-30 Thread Adam Ford
Just before ENTRY(cpy_clk_code), there is an #if statement, but it appears to be repeated: #if !defined(CONFIG_SYS_NAND_BOOT) && !defined(CONFIG_SYS_NAND_BOOT) Can we remove one of these or should this be something different, like NOR boot or something? I can see the argument for not relocating c

[U-Boot] [PATCH] ARM: davinci: Remove ipam390 linker script from Kconfig

2019-05-30 Thread Adam Ford
With ipam390 support removed in we can remove the reference to the linker script since that case will never be true. Signed-off-by: Adam Ford diff --git a/arch/arm/mach-davinci/Kconfig b/arch/arm/mach-davinci/Kconfig index 61e84e5129..adc50922c8 100644 --- a/arch/arm/mach-davinci/Kconfig +++ b/a

Re: [U-Boot] [EXT] Re: [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-05-30 Thread Tom Rini
On Thu, May 30, 2019 at 10:45:10AM +, Chuanhua Han wrote: > > > > -Original Message- > > From: Tom Rini > > Sent: 2019年5月24日 22:24 > > To: Chuanhua Han > > Cc: ja...@openedev.com; w...@denx.de; Shengzhou Liu > > ; Ruchika Gupta ; Pan > > Jiafei ; u-boot@lists.denx.de; Jiafei Pan > >

Re: [U-Boot] [RFC] Codepages for console, video, FAT file system

2019-05-30 Thread Tom Rini
On Thu, May 30, 2019 at 12:12:42PM -0600, Simon Glass wrote: > Hi Heinrich, > > On Thu, 30 May 2019 at 04:44, Marek Vasut wrote: > > > > On 5/30/19 12:38 PM, Heinrich Schuchardt wrote: > > > The Linux console typically is running with Unicode. So with a serial > > > connection we are transferring

Re: [U-Boot] [PATCH] clk: sifive: fu540-prci: align primary DT match string to the DT bindings

2019-05-30 Thread Atish Patra
On 5/29/19 10:48 PM, Bin Meng wrote: On Thu, May 30, 2019 at 1:06 PM Atish Patra wrote: On 5/29/19 6:19 PM, Bin Meng wrote: On Sun, May 26, 2019 at 5:13 PM Paul Walmsley wrote: The U-Boot PRCI driver for the SiFive FU540 uses an out-of-date DT binding string, since the U-boot PRCI driver w

[U-Boot] [PATCH 1/1] efi_loader: correct UninstallProtocolInterface()

2019-05-30 Thread Heinrich Schuchardt
When uninstalling a protocol the following steps are needed: * request all drivers to disconnect * close protocol for all non-drivers * check if any open instance of the protocol exists on the handle and return EFI_ACCESS_DENIED in this case * remove the protocol interface By tort we tested for

Re: [U-Boot] [RFC] Codepages for console, video, FAT file system

2019-05-30 Thread Simon Glass
Hi Heinrich, On Thu, 30 May 2019 at 04:44, Marek Vasut wrote: > > On 5/30/19 12:38 PM, Heinrich Schuchardt wrote: > > The Linux console typically is running with Unicode. So with a serial > > connection we are transferring UTF-8. In the UEFI sub-subsystem we also > > assume that UTF-8 is used for

[U-Boot] drivers/ddr/imx/imx8m/ddr4_init.c:11:10: fatal error:

2019-05-30 Thread Kyle Evans
I have a build error using mainline/master. drivers/ddr/imx/imx8m/ddr4_init.c:11:10: fatal error: asm/arch/imx8m_ddr.h: No such file or directory I don't find the file in u-boot or u-boot-imx tree's. -Kyle ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH v2 1/2] power: pmic: palmas/lp87565/lp873x: Remove $SPL from Makefile

2019-05-30 Thread Tom Rini
On Thu, May 30, 2019 at 09:58:27AM +0530, Keerthy wrote: > Remove $SPL from Makefile as the corresponding SPL config options > are not present. This enables them at SPL. > > Signed-off-by: Keerthy > --- > drivers/power/pmic/Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >

[U-Boot] [PATCH v2] armv8: fsl-layerscape: fix config dependency for layerscape pci code

2019-05-30 Thread Alex Marginean
Fixes a link error on layerscape platform, linking fails with CONFIG_PCI set and CONFIG_PCI_LAYERSCAPE unset. Signed-off-by: Alex Marginean --- Changes in v2: - resent with proper email addresses for freescale/NXP folks arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 2 +- 1 file changed, 1 i

[U-Boot] [PATCH] arm: ls1028a: define the integrated PCI bus (ECAM)

2019-05-30 Thread Alex Marginean
LS1028A includes an integrated PCI bus with 8M of ECAM space plus register space for the integrated devices. This integrated PCI bus is driven using the generic ECAM driver. Signed-off-by: Alex Marginean --- arch/arm/dts/fsl-ls1028a.dtsi | 10 ++ arch/arm/includ

[U-Boot] [PATCH 1/2] efi_loader: correct OpenProtocol()

2019-05-30 Thread Heinrich Schuchardt
If a protocol is opened BY_DRIVER it cannot be opened by another agent BY_DRIVER. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c

[U-Boot] [PATCH 0/2] efi_loader: correct OpenProtocol()

2019-05-30 Thread Heinrich Schuchardt
Fix an error leading to a crash in OpenProtocol() when running the UEFI SCT. Fix incorrect handling of protocols opened by a driver. Heinrich Schuchardt (2): efi_loader: correct OpenProtocol() efi_loader: avoid crash in OpenProtocol() lib/efi_loader/efi_boottime.c | 40 +

[U-Boot] [PATCH 2/2] efi_loader: avoid crash in OpenProtocol()

2019-05-30 Thread Heinrich Schuchardt
When trying to open a protocol exclusively attached drivers have to be removed. This removes entries in the open protocol information linked list over which we are looping. As additionally child controllers may have been removed the only safe thing to do is to restart the loop over the linked list

[U-Boot] [PATCH 1/1] colibri imx6/t20: enable CONFIG_SYS_WHITE_ON_BLACK

2019-05-30 Thread Igor Opaniuk
From: Igor Opaniuk Enable CONFIG_SYS_WHITE_ON_BLACK by default for DM_VIDEO enabled configurations, where env("splashimage") is used for showing Toradex boot logo. Signed-off-by: Igor Opaniuk --- configs/colibri_imx6_defconfig | 1 + configs/colibri_t20_defconfig | 1 + 2 files changed, 2 ins

[U-Boot] [PATCH v3 2/2] ARM: davinci: SPL: fix BSS initialization

2019-05-30 Thread Sekhar Nori
U-Boot README recommends initializing SDRAM in board_init_f(). DA850 was doing it as part of board_init_r() (through call to spl_board_init() which calls arch_cpu_init() which calls da850_ddr_setup()) This worked fine till commit 15b8c7505819 ("davinci: da850evm/omapl138-lcdk: Move BSS to SDRAM be

[U-Boot] [PATCH v3 0/2] ARM: davinci: omapl138_lcdk: fix MMC/SD boot breakage

2019-05-30 Thread Sekhar Nori
Hi, Here is a set of patches that fixes MMC/SD boot breakage introduced after 2018.09 release. This was tested with MMC/SD boot on OMAP-L138 LCDK. Peter, I dropped your Tested-by: because the patches changed. It will be great to get your testing done again. v3: Add call to spl_early_init() in

[U-Boot] [PATCH v3 1/2] ARM: davinci: omal138_lcdk: fix MMC boot breakage due to driver model conversion

2019-05-30 Thread Sekhar Nori
commit 21af33ed0319 ("ARM: davinci: omapl138_lcdk: Enable DM_MMC") wanted to enable DM_MMC only for U-Boot and not for SPL. But CONFIG_DM_MMC is defined for SPL build too. Because of this MMC device was not getting registered for SPL causing MMC/SD boot breakage. Instead use CONFIG_IS_ENABLED(DM_

[U-Boot] [PATCH 2/2] armv8: fsl-layerscape: Change bootcmd update logic

2019-05-30 Thread Pankit Garg
Change bootcmd update logic when CONFIG_ENV_ADDR is not defined Signed-off-by: Pankit Garg --- Changes for v2: - add NXP copyright arch/arm/cpu/armv8/fsl-layerscape/soc.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/soc.c b/arch/arm/cpu/armv8/fsl-

[U-Boot] [PATCH 1/2] ls1046ardb: Add CONFIG_ENV_ADDR to init env in qspi boot

2019-05-30 Thread Pankit Garg
Signed-off-by: Pankit Garg --- Changes for v2: - add NXP copyright include/configs/ls1046ardb.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/ls1046ardb.h b/include/configs/ls1046ardb.h index f22e863..fa90953 100644 --- a/include/configs/ls1046ardb.h +++ b/include/confi

Re: [U-Boot] [EXT] Re: [PATCH v2 1/5] spl: dm: disable SPI DM flash for non-DM SPL

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Tom Rini > Sent: 2019年5月24日 22:24 > To: Chuanhua Han > Cc: ja...@openedev.com; w...@denx.de; Shengzhou Liu > ; Ruchika Gupta ; Pan > Jiafei ; u-boot@lists.denx.de; Jiafei Pan > ; Yinbo Zhu > Subject: [EXT] Re: [U-Boot] [PATCH v2 1/5] spl: dm: disable SPI DM

Re: [U-Boot] U-Boot PXA support

2019-05-30 Thread Marcel Ziswiler
On Thu, 2019-05-30 at 11:29 +0200, Marek Vasut wrote: > On 5/30/19 11:14 AM, Marcel Ziswiler wrote: > > Hi Tom > > > > On Wed, 2019-05-29 at 10:12 -0400, Tom Rini wrote: > > > On Thu, May 16, 2019 at 02:53:55PM +, Marcel Ziswiler wrote: > > > > Hi Tom > > > > > > > > On Mon, 2019-05-06 at 09:

Re: [U-Boot] [PATCHv2 1/1] Basic (PS-only) configuration based on Vivado board files by Sergiusz Bazanski

2019-05-30 Thread Michal Simek
Hi, 1. Please fix subject to be sensible. 2. Please look below. On 29. 05. 19 21:24, Anton Gerasimov wrote: > From: Anton Gerasimov > > Signed-off-by: Anton Gerasimov > --- > board/xilinx/zynq/zynq-zturn/ps7_init_gpl.c | 814 > 1 file changed, 814 insertions(+) > create

Re: [U-Boot] U-Boot PXA support

2019-05-30 Thread Tom Rini
On Thu, May 30, 2019 at 01:45:22PM +0300, Alex Sadovsky wrote: > > - HP iPAQ Pocket PC h2200 > > > > A consumer device with PXA255 from back in 2002. There has not been any > > activity on h2200 from its maintainer Lukasz Dalek for almost 5 years > > now. Without anybody actually owning such hardwa

Re: [U-Boot] U-Boot PXA support

2019-05-30 Thread Alex Sadovsky
> - HP iPAQ Pocket PC h2200 > > A consumer device with PXA255 from back in 2002. There has not been any > activity on h2200 from its maintainer Lukasz Dalek for almost 5 years > now. Without anybody actually owning such hardware stepping up it will > be quite impossible to maintain. I still have o

Re: [U-Boot] [RFC] Codepages for console, video, FAT file system

2019-05-30 Thread Marek Vasut
On 5/30/19 12:38 PM, Heinrich Schuchardt wrote: > The Linux console typically is running with Unicode. So with a serial > connection we are transferring UTF-8. In the UEFI sub-subsystem we also > assume that UTF-8 is used for the console. > > Linux typically mounts FAT file systems assuming codepa

[U-Boot] [RFC] Codepages for console, video, FAT file system

2019-05-30 Thread Heinrich Schuchardt
The Linux console typically is running with Unicode. So with a serial connection we are transferring UTF-8. In the UEFI sub-subsystem we also assume that UTF-8 is used for the console. Linux typically mounts FAT file systems assuming codepage 437 for the filenames. Windows assumes codepage 1250.

Re: [U-Boot] [v4, 0/5] Split fsl_esdhc driver for i.MX

2019-05-30 Thread Y.b. Lu
Hi Lukasz, > -Original Message- > From: Lukasz Majewski > Sent: 2019年5月29日 20:54 > To: Y.b. Lu > Cc: u-boot@lists.denx.de; Stefano Babic ; Fabio Estevam > ; dl-uboot-imx ; Albert Aribaud > ; Eddy Petrișor ; > Akshay Bhat ; Ken Lin > ; Heiko Schocher ; Christian > Gmeiner ; Stefan Roese ;

[U-Boot] [PATCH 2/2] rtc: pcf2127: Fixed bug with rtc settings and getting error time

2019-05-30 Thread Chuanhua Han
The previous pcf2127 RTC chip could not read and set the correct time. When reading the data of internal registers, the read address was the value of register plus 1. This is because this chip requires the host to send a stop signal after setting the register address and before reading the register

Re: [U-Boot] [EXT] Re: [PATCH 1/7] armv8: lx2160a: The lx2160a platform supports the I2C driver model.

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 12:49 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 1/7] armv8: lx2160a: The lx2160a platform supports > the I2C driver model. > > Caut

[U-Boot] [PATCH 1/4] armv8: ls1028a: The ls1028a platform supports the I2C driver model.

2019-05-30 Thread Chuanhua Han
DM_I2C_COMPAT is a compatibility layer that allows using the non-DM I2C API when DM_I2C is used.When DM_I2C_COMPAT is not enabled for compilation, a compilation error will be generated. This patch solves the problem that the i2c-related api of the ls1028a platform does not support dm. Signed-off-b

[U-Boot] [PATCH 3/4] configs: ls1028a: enable DM support for pcf2127 rtc

2019-05-30 Thread Chuanhua Han
Enable related configs to support pcf2127 rtc DM feature for ls1028ardb board. Signed-off-by: Chuanhua Han --- configs/ls1028ardb_tfa_defconfig | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/configs/ls1028ardb_tfa_defconfig b/configs/ls1028ardb_tfa_defconfig index a8

[U-Boot] [PATCH 2/4] gpio: do not include on ARCH_LS1028A

2019-05-30 Thread Chuanhua Han
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch ls1028a. Signed-off-by: Chuanhua Han --- arch/arm/include/asm/gpio.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/gpio.h b/arch/arm/include/asm/gpio

[U-Boot] [PATCH 1/2] dm: i2c: Add a flag that not call i2c_setup_offset

2019-05-30 Thread Chuanhua Han
Usually the i2c bus needs to write the address of the register before reading the internal register data of the device (ignoring the transmission of the slave address). Generally, the stop signal is not needed before the register is read, but there is a special chip that needs this stop signal (su

[U-Boot] [PATCH 4/4] armv8: dts: ls1028ardb: Add slave nodes under the i2c0 controller

2019-05-30 Thread Chuanhua Han
This patch adds some slave nodes to support the i2c dm on the device side under the i2c0 controller. Signed-off-by: Chuanhua Han --- arch/arm/dts/fsl-ls1028a-rdb.dts | 79 1 file changed, 79 insertions(+) diff --git a/arch/arm/dts/fsl-ls1028a-rdb.dts b/arch/arm/

Re: [U-Boot] [EXT] Re: [PATCH 5/7] drivers: i2c: mxc: Solve the compiler error when using i2c dm mode

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 12:58 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 5/7] drivers: i2c: mxc: Solve the compiler error > when > using i2c dm mode > > Ca

Re: [U-Boot] [EXT] Re: [PATCH 6/7] gpio: do not include on ARCH_LX2160A

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 13:01 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 6/7] gpio: do not include on > ARCH_LX2160A > > Caution: EXT Email > > Hello Chua

Re: [U-Boot] [EXT] Re: [PATCH 7/7] armv8: lx2160ardb : Add slave nodes under the i2c0 controller

2019-05-30 Thread Chuanhua Han
> -Original Message- > From: Heiko Schocher > Sent: 2019年5月24日 13:03 > To: Chuanhua Han > Cc: albert.u.b...@aribaud.net; Priyanka Jain ; Udit > Agarwal ; u-boot@lists.denx.de > Subject: [EXT] Re: [PATCH 7/7] armv8: lx2160ardb : Add slave nodes under the > i2c0 controller > > Caution: E

Re: [U-Boot] Cannot boot mx6qsabred with 2019.07-rc2

2019-05-30 Thread Peng Fan
> Subject: Re: Cannot boot mx6qsabred with 2019.07-rc2 > > On Thu, May 23, 2019 at 1:11 PM Jagan Teki > wrote: > > > Don't know whether this is SPL size issue or not? can you try > > SPL_OF_PLATDATA and TINY* I can see the size reduced with 64512 bytes > > (one build issue on fdtdec_get_int und

Re: [U-Boot] U-Boot PXA support

2019-05-30 Thread Marek Vasut
On 5/30/19 11:14 AM, Marcel Ziswiler wrote: > Hi Tom > > On Wed, 2019-05-29 at 10:12 -0400, Tom Rini wrote: >> On Thu, May 16, 2019 at 02:53:55PM +, Marcel Ziswiler wrote: >>> Hi Tom >>> >>> On Mon, 2019-05-06 at 09:26 -0400, Tom Rini wrote: Hey folks, I'm attempting, again, to

Re: [U-Boot] U-Boot PXA support

2019-05-30 Thread Marcel Ziswiler
Hi Tom On Wed, 2019-05-29 at 10:12 -0400, Tom Rini wrote: > On Thu, May 16, 2019 at 02:53:55PM +, Marcel Ziswiler wrote: > > Hi Tom > > > > On Mon, 2019-05-06 at 09:26 -0400, Tom Rini wrote: > > > Hey folks, > > > > > > I'm attempting, again, to see what we need to do in order to use > > > g

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-05-30 Thread Marek Vasut
On 5/30/19 11:07 AM, Ley Foon Tan wrote: > On Thu, May 30, 2019 at 4:59 PM Marek Vasut wrote: >> >> On 5/30/19 10:43 AM, Ley Foon Tan wrote: >>> Get clock rate from clock DM if CONFIG_CLK is enabled. >>> Otherwise, uses IC_CLK define. >>> >>> Signed-off-by: Ley Foon Tan >>> --- >>> drivers/i2c/d

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-05-30 Thread Ley Foon Tan
On Thu, May 30, 2019 at 4:59 PM Marek Vasut wrote: > > On 5/30/19 10:43 AM, Ley Foon Tan wrote: > > Get clock rate from clock DM if CONFIG_CLK is enabled. > > Otherwise, uses IC_CLK define. > > > > Signed-off-by: Ley Foon Tan > > --- > > drivers/i2c/designware_i2c.c | 54

[U-Boot] [PATCH 08/15] arm: socfpga: agilex: Add clock manager support

2019-05-30 Thread Ley Foon Tan
Add clock manager support for Agilex. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 4 + arch/arm/mach-socfpga/clock_manager_agilex.c | 87 +++ .../include/mach/clock_manager_agilex.h | 2 + 3 files changed, 93 insertions(+) create mode

[U-Boot] [PATCH 15/15] arm: socfpga: agilex: Enable Agilex SoC build

2019-05-30 Thread Ley Foon Tan
Add build support for Agilex SoC. Signed-off-by: Ley Foon Tan --- arch/arm/Kconfig | 4 +- arch/arm/mach-socfpga/Kconfig | 15 ++ arch/arm/mach-socfpga/Makefile | 9 ++ configs/socfpga_agilex_defconfig | 57 +++ include/configs/socfpga_agile

[U-Boot] [PATCH 05/15] arm: socfpga: Move Stratix10 and Agilex system manager common code

2019-05-30 Thread Ley Foon Tan
Move Stratix10 and Agilex system manager common code new header file. Signed-off-by: Ley Foon Tan --- .../include/mach/system_manager_s10.h | 46 +-- .../mach/system_manager_s10_agilex_common.h | 59 +++ 2 files changed, 60 insertions(+), 45 deletions(-) cr

[U-Boot] [PATCH 14/15] arm: dts: agilex: Add base dtsi and devkit dts

2019-05-30 Thread Ley Foon Tan
Add device tree files for Agilex SoC platform. Based on Linux Commit ID4b36daf9ada30. Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_agilex.dtsi | 495 ++ arch/arm/dts/socfpga_agilex_socdk-u-boot.d

[U-Boot] [PATCH 07/15] clk: agilex: Add clock driver for Agilex.

2019-05-30 Thread Ley Foon Tan
Add clock manager driver for Agilex. Provides clock initialization and get_rate functions. stratix10-clock.h is from Linux commit ID 89727949ea1e. Signed-off-by: Chee Hong Ang Signed-off-by: Ley Foon Tan --- .../mach-socfpga/include/mach/clock_manager.h | 2 + .../include/mach/clock_ma

[U-Boot] [PATCH 10/15] ddr: altera: Restructure Stratix 10 SDRAM driver

2019-05-30 Thread Ley Foon Tan
Restructure Stratix 10 SDRAM driver. Move common code to separate file, in preparation to support SDRAM driver for Agilex. Signed-off-by: Ley Foon Tan --- drivers/ddr/altera/Makefile | 2 +- drivers/ddr/altera/sdram_common.c | 307 ++ .../altera/{s

[U-Boot] [PATCH 11/15] ddr: altera: agilex: Add SDRAM driver for Agilex

2019-05-30 Thread Ley Foon Tan
Add SDRAM driver for Agilex SoC. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- drivers/ddr/altera/Kconfig| 6 +- drivers/ddr/altera/Makefile | 1 + drivers/ddr/altera/sdram_agilex.c | 158 ++ drivers/ddr/altera/sdram_common.c | 1 +

[U-Boot] [PATCH 09/15] arm: socfpga: agilex: Add CCU support for Agilex

2019-05-30 Thread Ley Foon Tan
Add Cache Coherency Unit (CCU) support for Agilex. CCU is to ensures consistency of shared data between multi masters in the system. Software need to initialize CCU's directories and coherency agent interfaces in CCU IP. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile

[U-Boot] [PATCH 12/15] board: intel: agilex: Add socdk board support for Intel Agilex SoC

2019-05-30 Thread Ley Foon Tan
Add socdk board support for Intel Agilex SoC Signed-off-by: Ley Foon Tan --- board/intel/agilex-socdk/MAINTAINERS | 7 +++ board/intel/agilex-socdk/Makefile| 7 +++ board/intel/agilex-socdk/socfpga.c | 7 +++ 3 files changed, 21 insertions(+) create mode 100644 board/intel/agi

[U-Boot] [PATCH 13/15] arm: socfpga: agilex: Add SPL for Agilex SoC

2019-05-30 Thread Ley Foon Tan
Add SPL support for Agilex SoC. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/spl_agilex.c | 100 + 2 files changed, 101 insertions(+) create mode 100644 arch/arm/mach-socfpga/spl_agilex.c diff --git a/arch/arm/mac

[U-Boot] [PATCH 03/15] arm: socfpga: Move Stratix10 and Agilex reset manager common code

2019-05-30 Thread Ley Foon Tan
Move Stratix10 and Agilex reset manager common code to reset_manager.h. Remove unused RSTMGR_XXX defines. Signed-off-by: Ley Foon Tan --- .../mach-socfpga/include/mach/reset_manager.h | 26 ++ .../include/mach/reset_manager_s10.h | 79 --- 2 files changed, 26 insert

[U-Boot] [PATCH 04/15] arm: socfpga: agilex: Add reset manager support

2019-05-30 Thread Ley Foon Tan
Add reset manager support for Agilex. Signed-off-by: Ley Foon Tan --- .../mach-socfpga/include/mach/reset_manager.h | 5 ++- .../include/mach/reset_manager_agilex.h | 38 +++ arch/arm/mach-socfpga/reset_manager.c | 9 +++-- 3 files changed, 48 insertions(+), 4 del

[U-Boot] [PATCH 06/15] arm: socfpga: agilex: Add system manager support

2019-05-30 Thread Ley Foon Tan
Add system manager support for Agilex. Signed-off-by: Ley Foon Tan --- .../include/mach/system_manager.h | 2 + .../include/mach/system_manager_agilex.h | 129 ++ .../mach/system_manager_s10_agilex_common.h | 3 +- 3 files changed, 133 insertions(+), 1 dele

[U-Boot] [PATCH 02/15] arm: socfpga: Move firewall code to firewall file

2019-05-30 Thread Ley Foon Tan
Move firewall related code to new firewall.c, to share code in Stratix 10 and Agilex. No functional change. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/firewall.c | 97 +++ .../mach/{firewall_s10.h => f

[U-Boot] [PATCH 01/15] arm: socfpga: agilex: Add base address for Intel Agilex SoC

2019-05-30 Thread Ley Foon Tan
Add base address for Intel Agilex SoC. Reuse base_addr_s10.h for Agilex, only one base address is different from S10. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-socfpga/include/mach/bas

[U-Boot] [PATCH 00/15] Add Intel Agilex SoC support

2019-05-30 Thread Ley Foon Tan
This is 2nd version of patchset to add Intel Agilex SoC[1] support. This patchset needs to apply after patch in [2] for Designware i2c clock from DM. Intel Agilex SoC is with a 64-bit quad core ARM Cortex-A53 MPCore hard processor system (HPS). New IPs in Agilex are CCU, clock manager and SDRAM,

Re: [U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-05-30 Thread Marek Vasut
On 5/30/19 10:43 AM, Ley Foon Tan wrote: > Get clock rate from clock DM if CONFIG_CLK is enabled. > Otherwise, uses IC_CLK define. > > Signed-off-by: Ley Foon Tan > --- > drivers/i2c/designware_i2c.c | 54 +--- > 1 file changed, 44 insertions(+), 10 deletions(-) >

Re: [U-Boot] [PATCH] cmd: mdio: Fix access to arbitrary PHY addresses

2019-05-30 Thread Alex Marginean
On 5/30/2019 3:08 AM, Vladimir Oltean wrote: Alex reported the following: " I'm doing some MDIO work on a freescale/NXP platform and I bumped into errors with this command: => mdio r emdio#3 5 3 Reading from bus emdio#3 "Synchronous Abort" handler, esr 0x860e elr: ff

[U-Boot] [PATCH] i2c: designware: Get clock rate from clock DM

2019-05-30 Thread Ley Foon Tan
Get clock rate from clock DM if CONFIG_CLK is enabled. Otherwise, uses IC_CLK define. Signed-off-by: Ley Foon Tan --- drivers/i2c/designware_i2c.c | 54 +--- 1 file changed, 44 insertions(+), 10 deletions(-) diff --git a/drivers/i2c/designware_i2c.c b/drivers/i2c

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

2019-05-30 Thread Marek Vasut
On 5/30/19 9:06 AM, Ye Li wrote: > On 2019/5/27 19:31, Marek Vasut wrote: >> Caution: EXT Email >> >> On 5/27/19 11:49 AM, Peng Fan wrote: >>> Hi Marek, Lukasz, >>> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX container format file Hi Marek, >>

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

2019-05-30 Thread Marek Vasut
On 5/30/19 5:04 AM, Peng Fan wrote: > Hi All Hi, > Will we force to use CCF in future? Force how ? > And Is there possibility this feature would land in v2019.07? No, it's rc3 already, no way. > If not, I'll try to convert i.MX8MM CLK to no-CCF DM CLK version, since > i.MX8MM has been pendin

Re: [U-Boot] [PATCH v4 0/8] pico-imx7d: Add support for BL33 case

2019-05-30 Thread Jun Nie
Jun Nie 于2019年5月8日周三 下午2:39写道: > > Add configuration to boot U-boot as BL33 case. The boot flow > is ATF -> OPTEE -> U-boot. > Hi Fabio, Do you have any comments on this patch set, or it can be merged now? Thank you! Jun ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH] arm: exynos: odroid: Fix the confict scripaddr extra env setting

2019-05-30 Thread Anand Moon
Hi Krzysztof, On Wed, 29 May 2019 at 14:15, Krzysztof Kozlowski wrote: > > On Fri, 24 May 2019 at 10:51, Anand Moon wrote: > > > > Fix the confict of scriptaddr address with ramdisk_addr_r used > > in EXTRA_ENV_SETTINGS. > > > > Signed-off-by: Anand Moon > > My comment from previous patch stays

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

2019-05-30 Thread Ye Li
On 2019/5/27 19:31, Marek Vasut wrote: > Caution: EXT Email > > On 5/27/19 11:49 AM, Peng Fan wrote: >> Hi Marek, Lukasz, >> >>> Subject: Re: [EXT] Re: [U-Boot] [PATCH 4/6] spl: mmc: support loading i.MX >>> container format file >>> >>> Hi Marek, >>> >>> On 2019/5/22 19:41, Marek Vasut wrote: >>>