[U-Boot] [PATCH v2 16/18] board: ti: am654: Use EEPROM-based board detection

2019-05-22 Thread Andreas Dannenberg
The TI AM654x EVM base board and the associated daughtercards have on- board I2C-based EEPROMs containing board configuration data. Use the board detection infrastructure introduced earlier to do the following: 1) Parse the AM654x EVM base board EEPROM and populate items like board name and MAC

[U-Boot] [PATCH v2 02/18] arm: omap_i2c: Remove unwanted header file inclusion

2019-05-22 Thread Andreas Dannenberg
From: Vignesh R There is no need for to include this header here, so drop it. Signed-off-by: Vignesh R Reviewed-by: Heiko Schocher Reviewed-by: Lokesh Vutla --- arch/arm/include/asm/omap_i2c.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/include/asm/omap_i2c.h b/arch/arm/inc

Re: [U-Boot] [PATCH 1/2] mips: mt76xx: Implement new d-cache fix in last_stage_init()

2019-05-22 Thread Daniel Schwierzeck
Am 20.05.19 um 17:22 schrieb Stefan Roese: > With commit 06985289d452 ("watchdog: Implement generic watchdog_reset() > version") the init sequence has changed in arch_misc_init(), resulting > in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena). > When this happens, the first (

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Eugeniu Rosca
Hi Tom, On Wed, May 22, 2019 at 11:09:54AM -0400, Tom Rini wrote: > On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > > cc: Yamada-san > > > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1] which > > would point out the culprit configs. This is hardly achievable, but

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-22 Thread Prabhakar Kushwaha
Dear Chuanhua, Jagan, > -Original Message- > From: U-Boot On Behalf Of Chuanhua Han > Sent: Thursday, May 9, 2019 9:03 AM > To: Jagan Teki > Cc: U-Boot-Denx ; Jiafei Pan ; > Jagan Teki ; Yinbo Zhu ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale

Re: [U-Boot] Please pull u-boot-fsl-qoriq master

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 12:31:23PM +, Prabhakar Kushwaha wrote: > Hi Tom, > > The following changes since commit e1a2ed7180adeefb6164239a18249dca5701319d: > > Merge git://git.denx.de/u-boot-mpc83xx (2019-05-21 07:13:35 -0400) > > are available in the git repository at: > > git://git.de

Re: [U-Boot] [PATCH v2 5/5] rockchip: rk3328: add rock64-rk3328_defconfig

2019-05-22 Thread Matwey V. Kornilov
пн, 20 мая 2019 г. в 21:15, Vagrant Cascadian : > > On 2019-05-20, Matwey V. Kornilov wrote: > > пн, 20 мая 2019 г. в 20:11, Vagrant Cascadian : > >> > >> On 2019-05-19, Matwey V. Kornilov wrote: > >> > The ROCK64 is a credit card size SBC based on Rockchip RK3328 > >> > Quad-Core ARM Cortex A53. >

Re: [U-Boot] [PATCH] board: fsl: lx2160a: implement board_fix_fdt

2019-05-22 Thread Prabhakar Kushwaha
Dear Pankaj, > -Original Message- > From: Pankaj Bansal > Sent: Friday, May 17, 2019 3:02 PM > To: Prabhakar Kushwaha ; Meenakshi > Aggarwal > Cc: Varun Sethi ; u-boot@lists.denx.de; Pankaj Bansal > > Subject: [PATCH] board: fsl: lx2160a: implement board_fix_fdt > > lx2 rev2 requires so

[U-Boot] RFC: config_distro_bootcmd aesthetic change

2019-05-22 Thread Jon Nettleton
I figured I would post this topic without the patchset I currently have, and instead just test the waters to get some input on how the community would feel about this change. What I have done is to migrate all the functions from config_distro_bootcmd.h to be .functions() so by default they are hid

Re: [U-Boot] [PATCH 1/1] configs:ls1046afrwy: Add tfa secure boot defonfig.

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Udit Agarwal > Sent: Wednesday, May 15, 2019 2:15 PM > To: u-boot@lists.denx.de > Cc: Ruchika Gupta ; Pramod Kumar > ; Udit Agarwal > Subject: [U-Boot] [PATCH 1/1] configs:ls1046afrwy: Add tfa secure boot > defonfig. > > Add TFA secure bo

Re: [U-Boot] [v1] ls1028a: hdp: Add support for HDP firmware loading

2019-05-22 Thread Prabhakar Kushwaha
Dear Anatolij Gustschin > -Original Message- > From: Wen He > Sent: Wednesday, May 15, 2019 3:32 PM > To: Prabhakar Kushwaha ; Jagdish Gediya > ; Alison Wang ; > ag...@denx.de; Oliver Brown ; u-boot@lists.denx.de > Cc: Wen He > Subject: [v1] ls1028a: hdp: Add support for HDP firmware load

Re: [U-Boot] [PATCH v4 1/2] armv8: fsl-lsch3: add clock support for the second eSDHC

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yinbo Zhu > Sent: Wednesday, May 15, 2019 3:38 PM > To: York Sun ; u-boot@lists.denx.de; Vabhav Sharma > > Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei > Pan ; Y.b. Lu ; Jagdish Gediya > ; Prabhakar Kushwaha > ; Andy Tang > Subject: [PATCH v4 1/2] armv8: fsl-lsch3: a

Re: [U-Boot] [PATCH v4 2/2] mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yinbo Zhu > Sent: Wednesday, May 15, 2019 3:38 PM > To: York Sun ; u-boot@lists.denx.de; Vabhav Sharma > > Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei > Pan ; Y.b. Lu ; Jagdish Gediya > ; Prabhakar Kushwaha > ; Andy Tang > Subject: [PATCH v4 2/2] mmc: fsl_esdhc: fix

Re: [U-Boot] [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD boot

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Pankaj Bansal > Sent: Monday, April 15, 2019 9:39 AM > To: Prabhakar Kushwaha ; Meenakshi > Aggarwal ; Priyanka Jain > > Cc: u-boot@lists.denx.de > Subject: RE: [PATCH v5] board/fsl/lx2160a: Fix MC firmware loading during SD > boot > > > > > -Original M

[U-Boot] [PATCH 02/14] armV7R: K3: j721e: Add support for boot device detection

2019-05-22 Thread Lokesh Vutla
J721E allows for booting from primary or backup boot media. Both media can be chosen individually based on switch settings. ROM looks for a valid image in primary boot media, if not found then looks in backup boot media. In order to pass this boot media information to boot loader, ROM stores a valu

[U-Boot] [PATCH 07/14] board: ti: j721e: Add board support for j721e evm

2019-05-22 Thread Lokesh Vutla
Add board specific initialization for j721e evm Signed-off-by: Lokesh Vutla Signed-off-by: Jean-Jacques Hiblot Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/Kconfig| 1 + board/ti/j721e/Kconfig | 54 +++ board/ti/j721e/Makefile | 8 +++ board/ti/j721e

[U-Boot] [PATCH 03/14] armV7R: K3: j721e: Allow using SPL BSS pre-relocation

2019-05-22 Thread Lokesh Vutla
From: Andreas Dannenberg In order to be able to use more advanced driver functionality which often relies on having BSS initialized during early boot prior to relocation several things need to be in place: 1) Memory needs to be available for BSS to use. For this, we locate BSS at the top of t

[U-Boot] [PATCH 04/14] armV7R: K3: j721e: Unlock all applicable control MMR registers

2019-05-22 Thread Lokesh Vutla
From: Andreas Dannenberg To access various control MMR functionality the registers need to be unlocked. Do that for all control MMR regions in the MCU and MAIN domains. We may want to go back later and limit the unlocking that's being done. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k

[U-Boot] [PATCH 05/14] armV7R: K3: j721e: Store boot index from ROM

2019-05-22 Thread Lokesh Vutla
From: Andreas Dannenberg Obtain the boot index as left behind by the device boot ROM and store it in scratch pad SRAM for later use before it may get overwritten. Signed-off-by: Andreas Dannenberg --- arch/arm/mach-k3/j721e_init.c | 17 +++-- 1 file changed, 15 insertions(+), 2 del

[U-Boot] [PATCH 14/14] configs: j721e_evm_a72: Add initial support

2019-05-22 Thread Lokesh Vutla
Add initial defconfig support for J721e that runs on A72. Signed-off-by: Lokesh Vutla --- configs/j721e_evm_a72_defconfig | 86 + 1 file changed, 86 insertions(+) create mode 100644 configs/j721e_evm_a72_defconfig diff --git a/configs/j721e_evm_a72_defconfig b/c

[U-Boot] [PATCH 01/14] arm: K3: j721e: Add basic support for J721E SoC definition

2019-05-22 Thread Lokesh Vutla
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around

[U-Boot] [PATCH 12/14] arm: dts: j721e: Add r5 specific dt support

2019-05-22 Thread Lokesh Vutla
Add initial support for dt that runs on r5. Signed-off-by: Lokesh Vutla Signed-off-by: Andreas Dannenberg --- arch/arm/dts/Makefile | 3 +- .../k3-j721e-common-proc-board-u-boot.dtsi| 75 ++ .../arm/dts/k3-j721e-r5-common-proc-board.dts | 138 +

[U-Boot] [PATCH 00/14] arm: k3: arm64: Initial support Texas Instrument's J721E Platform

2019-05-22 Thread Lokesh Vutla
This series adds initial support for Texas Instruments' K3 architecture based J721E SoC. This series depends on the: - mmc series posted by Faiz: https://www.mail-archive.com/u-boot@lists.denx.de/msg315848.html - exclusive device series posted: https://patchwork.ozlabs.org/project/uboot/list/?serie

[U-Boot] [PATCH 06/14] armv7R: K3: j721e: Shut down R5 core after ATF startup on A72

2019-05-22 Thread Lokesh Vutla
Populate the release_resources_for_core_shutdown() api with shutting down r5 cores so that it will by called just after jumping to ATF. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/j721e_init.c | 57 +++ 1 file changed, 57 insertions(+) diff --git a/arch/arm/

[U-Boot] [PATCH 08/14] mmc: am654_sdhci: Separate J721E compatible into 8bit and 4bit versions

2019-05-22 Thread Lokesh Vutla
From: Faiz Abbas The j721e 4 bit instances don't have a hard DLL and therefore don't need any DLL related configurations. Split the compatibles into an 8 bit and a 4 bit one. Add a private flags field which can be used to check if the DLL is present and don't register the set_ios_post callback fo

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

2019-05-22 Thread Ezequiel Garcia
On Wed, 2019-05-22 at 11:15 -0400, Tom Rini wrote: > On Wed, May 22, 2019 at 11:23:11AM -0300, Fabio Estevam wrote: > > On Tue, May 21, 2019 at 11:34 PM Tom Rini wrote: > > > > > As came up in another thread, CONFIG_MMC_TINY may be more widely useable > > > and should help with space. > > > > Ho

[U-Boot] [PATCH 10/14] arm: dts: ti: Add Support for J721E SoC

2019-05-22 Thread Lokesh Vutla
Add initial SoC definition for J721E SoC. Kernel dts posted here: https://lore.kernel.org/lkml/20190522161921.20750-1...@ti.com/ Signed-off-by: Lokesh Vutla --- arch/arm/dts/k3-j721e-main.dtsi | 231 ++ arch/arm/dts/k3-j721e-mcu-wakeup.dtsi | 72 arch/arm/

[U-Boot] [PATCH 13/14] configs: j721e_evm_r5: Add initial support

2019-05-22 Thread Lokesh Vutla
Add initial defconfig support for J721e that runs on R5. Signed-off-by: Lokesh Vutla --- configs/j721e_evm_r5_defconfig | 85 ++ 1 file changed, 85 insertions(+) create mode 100644 configs/j721e_evm_r5_defconfig diff --git a/configs/j721e_evm_r5_defconfig b/conf

[U-Boot] [PATCH 11/14] arm: dts: k3-j721e: Add initial support for common processor board

2019-05-22 Thread Lokesh Vutla
Common Processor board is the baseboard that has most of the actual connectors, power supply etc. A SOM (System on Module) is plugged on to the common processor board and this contains the SoC, PMIC, DDR and basic highspeed components necessary for functionality. Add initial dt support for this com

[U-Boot] [PATCH 09/14] dt-bindings: pinctrl: k3: Introduce pinmux definitions for J721E

2019-05-22 Thread Lokesh Vutla
Add pinctrl macros for J721E SoC. These macro definitions are similar to that of AM6, but adding new definitions to avoid any naming confusions in the soc dts files. Signed-off-by: Lokesh Vutla Signed-off-by: Andreas Dannenberg --- include/dt-bindings/pinctrl/k3.h | 3 +++ 1 file changed, 3 ins

[U-Boot] [PATCH] mmc: tmio: sdhi: Do not use auto-retuning in HS400 mode

2019-05-22 Thread Marek Vasut
The SDHI supports automatic correction of sampling point in HS200/SDR104 modes. However, on R-Car Gen3, this feature is not supported in HS400 mode. Auto and manual correction cannot both be used in HS400 mode. Therefore, in HS400 mode, disable auto correction and ignore the error status. Signed-

Re: [U-Boot] [PATCH] ata: ahci: enable bus mastering

2019-05-22 Thread Simon Glass
Hi Christian, On Wed, 22 May 2019 at 02:40, Christian Gmeiner wrote: > > When using the coreboot target CONFIG_DM_SCSI gets set to y. This has the > effect > that the current 'enable bus mastering' logic gets not compiled in. This > change Where is it missing? Is it because U-Boot is not scann

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

2019-05-22 Thread Simon Glass
Hi Eugeniu, On Wed, 22 May 2019 at 01:11, Eugeniu Rosca wrote: > > Hi Simon, > > Thanks for the review. Would you please reply to my questions below? > > On Tue, May 21, 2019 at 06:53:29PM -0600, Simon Glass wrote: > > Hi Eugeniu, > > > > On Fri, 17 May 2019 at 08:46, Eugeniu Rosca wrote: > > >

Re: [U-Boot] Making U-Boot smaller

2019-05-22 Thread Tom Rini
On Wed, May 22, 2019 at 06:50:36PM +0200, Eugeniu Rosca wrote: > Hi Tom, > > On Wed, May 22, 2019 at 11:09:54AM -0400, Tom Rini wrote: > > On Wed, May 22, 2019 at 04:15:47PM +0200, Eugeniu Rosca wrote: > > > cc: Yamada-san > > > > > > I dream of a (Kconfig/Kbuild-assisted) bloaty-like output [1]

Re: [U-Boot] [PATCH 00/14] arm: k3: arm64: Initial support Texas Instrument's J721E Platform

2019-05-22 Thread Andreas Dannenberg
Tom et al., On Wed, May 22, 2019 at 01:36:53PM -0500, Lokesh Vutla wrote: > This series adds initial support for Texas Instruments' K3 architecture > based J721E SoC. This series depends on the: > - mmc series posted by Faiz: > https://www.mail-archive.com/u-boot@lists.denx.de/msg315848.html > - e

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

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 02:05, Simon Goldschmidt wrote: > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > Hi Andreas, > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg wrote: > > > > > > Hi Simon (Glass), > > > > > > On Sat, May 18, 2019 at 10:08:19AM -0600, Simon G

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-22 Thread Simon Glass
Hi Andy, On Tue, 21 May 2019 at 19:43, Andy Yan wrote: > > Hi Andre: > > Andre Przywara 于2019年5月20日周一 下午11:59写道: > > > On Mon, 20 May 2019 14:34:01 +0800 > > Andy Yan wrote: > > > > Hi, > > > > > On 2019/5/19 上午12:26, Simon Glass wrote: > > > > Hi Andy, > > > > > > > > Instead of this could you

Re: [U-Boot] [PATCH v2 2/3] spl: add relocation support【请注意,邮件由s...@google.com代发】

2019-05-22 Thread Simon Glass
Hi Andy, On Tue, 21 May 2019 at 19:56, Andy Yan wrote: > > Hi Simon: > > Simon Glass 于2019年5月22日周三 上午8:28写道: >> >> Hi Andy, >> >> On Tue, 21 May 2019 at 00:51, Andy Yan wrote: >> > >> > Hi Simon: >> > >> > On 2019/5/20 下午11:35, Simon Glass wrote: >> > > Hi Andy, >> > > >> > > On Mon, 20 May 201

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

2019-05-22 Thread Simon Goldschmidt
Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: > Hi Simon, > > On Wed, 22 May 2019 at 02:05, Simon Goldschmidt > wrote: > > > > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: > > > > > > Hi Andreas, > > > > > > On Tue, 21 May 2019 at 15:01, Andreas Dannenberg > wrote: > > > > > > > > Hi

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

2019-05-22 Thread Andreas Dannenberg
Hi Simon (Glass) On Tue, May 21, 2019 at 06:53:31PM -0600, Simon Glass wrote: > > > > Not having BSS available to carry over certain state to the > > > > board_init_r() world would lead to a bunch of hacky changes across > > > > the board I'm afraid, more below. > > > > > > This is really unfortu

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

2019-05-22 Thread Simon Glass
Hi Simon, On Wed, 22 May 2019 at 13:42, Simon Goldschmidt wrote: > > > > Simon Glass schrieb am Mi., 22. Mai 2019, 21:34: >> >> Hi Simon, >> >> On Wed, 22 May 2019 at 02:05, Simon Goldschmidt >> wrote: >> > >> > On Wed, May 22, 2019 at 2:53 AM Simon Glass wrote: >> > > >> > > Hi Andreas, >> >

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

2019-05-22 Thread Simon Glass
Hi Heiko, On Wed, 22 May 2019 at 05:29, Heiko Stuebner wrote: > > Hi Simon, > > Am Samstag, 18. Mai 2019, 18:08:58 CEST schrieb Simon Glass: > > On Tue, 7 May 2019 at 09:59, Christoph Muellner > > wrote: > > > > > > From: Christoph Müllner > > > > > > Some machines have limited DMA engines, whi

Re: [U-Boot] [PATCH 1/7] fdt: Introduce fdt_translate_dma_address()

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > Add the fdt_translate_dma_address() function to translate DMA address to > CPU address. > This function works the same way as fdt_translate_address(), with the > difference that the translation relies on the "dma-ranges" property

Re: [U-Boot] [PATCH 2/7] dm: core: Introduce xxx_translate_dma_address()

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > Add the following functions to translate DMA address to CPU address: > - dev_translate_dma_address() > - ofnode_translate_dma_address() > - of_translate_dma_address() > These functions work the same way as xxx_translate_address()

Re: [U-Boot] [PATCH 3/7] remoteproc: add da_to_pa ops

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > This patch introduces da_to_pa function to allow translation > between device address (remote processor view) and physical > address (main processor view). > > Signed-off-by: Loic Pallardy > Signed-off-by: Fabien Dessenne > ---

Re: [U-Boot] [PATCH 4/7] remoteproc: add elf file load support

2019-05-22 Thread Simon Glass
Hi Fabien, On Wed, 22 May 2019 at 02:07, Fabien Dessenne wrote: > > The current implementation supports only binary file load. > Add helpers to support ELF format (check validity, sanity check, and > load). > Note that since an ELF image is built for the remote processor, the load > function uses

Re: [U-Boot] [PATCH] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Prabhakar Kushwaha > Sent: Wednesday, May 22, 2019 6:07 PM > To: Yuantian Tang ; Sudhanshu Gupta > ; Harninder Rai ; Rajesh > Bhagat > Cc: u-boot@lists.denx.de; Andy Tang > Subject: RE: [PATCH] armv8: ls1028ardb: Add sd and emmc related environments > > > >

Re: [U-Boot] [PATCH] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Andy Tang
No problem. Thanks Prabhakar, BR, Andy > -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年5月23日 9:11 > To: Andy Tang ; Sudhanshu Gupta > ; Harninder Rai ; > Rajesh Bhagat > Cc: u-boot@lists.denx.de; Andy Tang > Subject: RE: [PATCH] armv8: ls1028ardb: Add sd and emmc related >

Re: [U-Boot] [PATCH] ata: ahci: enable bus mastering

2019-05-22 Thread Bin Meng
Hi Christian, On Thu, May 23, 2019 at 2:40 AM Simon Glass wrote: > > Hi Christian, > > On Wed, 22 May 2019 at 02:40, Christian Gmeiner > wrote: > > > > When using the coreboot target CONFIG_DM_SCSI gets set to y. This has the > > effect > > that the current 'enable bus mastering' logic gets not

[U-Boot] [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Yuantian Tang
Add SD, EMMC and xspi environments to faciliate the boot. Signed-off-by: Yuantian Tang --- v2: - rebase to latest code include/configs/ls1028a_common.h | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/include/configs/ls1028a_common.h b/include

[U-Boot] [PATCH v5 1/2] armv8: fsl-lsch3: add clock support for the second eSDHC

2019-05-22 Thread Yinbo Zhu
From: Yangbo Lu Layerscape began to use two eSDHC controllers, for example, LS1028A. They are same IP block with same reference clock. This patch is to add clock support for the second eSDHC. Signed-off-by: Yangbo Lu Signed-off-by: Yinbo Zhu --- Change in v2: Change in v3: Remo

[U-Boot] [PATCH v5 2/2] mmc: fsl_esdhc: fix probe issue without CONFIG_BLK enabled

2019-05-22 Thread Yinbo Zhu
From: Yangbo Lu u-boot is trying to make CONFIG_BLK as a hard requirement for DM_MMC. But now it's still not. config BLK bool "Support block devices" depends on DM default y if DM_MMC When fsl_esdhc driver was reworked for DM_MMC support, DM_MMC without CONFIG_BLK enable

[U-Boot] [PATCH v3] drivers: net: mc: Report extra memory to Linux

2019-05-22 Thread Meenakshi Aggarwal
MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved. But MC support to work with 128MB or 256MB DDR memory also, in this case, rest of the memory is not usable. So reporting this extra memory to Linux through dtb memory fixup. Signed-off-by: Meenakshi Aggarwal --- changed for

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Heiko Schocher
Hello Chuanhua Han, Am 22.05.2019 um 14:45 schrieb Chuanhua Han: -Original Message- From: Lukasz Majewski Sent: 2019年5月22日 19:32 To: Chuanhua Han Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; s...@chromium.org; Stefano Babic Subject: Re: [EXT] Re: [PATCH] i2c: pcf2127: fix bug

[U-Boot] [PATCH v2] armv8/fsl-layerscape : Add loop to check cache status

2019-05-22 Thread Meenakshi Aggarwal
Flushing L3 cache may need variable time depending upon cache line allocation. Coming up with a proper timeout value would be best handled by simulations under multiple scenarios in your actual system. From the purely HN-F point of view, the flush would take ~15 cycles for a clean line, and ~22 cy

Re: [U-Boot] [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Yuantian Tang > Sent: Thursday, May 23, 2019 7:46 AM > To: Prabhakar Kushwaha > Cc: u-boot@lists.denx.de; Andy Tang > Subject: [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments > > Add SD, EMMC and xspi environments to faciliate the boot. >

Re: [U-Boot] [PATCH v2] armv8: ls1028ardb: Add sd and emmc related environments

2019-05-22 Thread Andy Tang
Hi Prabhakar, > -Original Message- > From: Prabhakar Kushwaha > Sent: 2019年5月23日 11:39 > To: Andy Tang > Cc: u-boot@lists.denx.de; Andy Tang > Subject: RE: [PATCH v2] armv8: ls1028ardb: Add sd and emmc related > environments > > > > -Original Message- > > From: Yuantian Tang >

Re: [U-Boot] [RESEND][PATCH v2] armv8: Add workaround for USB erratum A-050106

2019-05-22 Thread Ran Wang
Hi Prabhakar, On Tuesday, May 21, 2019 22:48, Prabhakar Kushwaha wrote: > > Dear Ran > > > > > USB3.0 Receiver needs to enable fixed equalization for each of PHY > > instances in an SOC. This is similar to erratum A-009007, but this one > > is for LX2160A, and the register value is different. >

Re: [U-Boot] [PATCH v3] drivers: net: mc: Report extra memory to Linux

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Meenakshi Aggarwal > Sent: Thursday, May 23, 2019 2:33 PM > To: u-boot@lists.denx.de; Prabhakar Kushwaha > > Cc: Meenakshi Aggarwal > Subject: [PATCH v3] drivers: net: mc: Report extra memory to Linux > > MC firmware need to be aligned to 512M, so minimum 5

Re: [U-Boot] [RESEND][PATCH v2] armv8: Add workaround for USB erratum A-050106

2019-05-22 Thread Prabhakar Kushwaha
Dear Ran, > -Original Message- > From: Ran Wang > Sent: Thursday, May 23, 2019 9:16 AM > To: Prabhakar Kushwaha > Cc: York Sun ; u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [RESEND][PATCH v2] armv8: Add workaround for USB erratum A- > 050106 > > Hi Prabhakar, > > On Tuesday,

[U-Boot] [PATCH v4] drivers: net: mc: Report extra memory to Linux

2019-05-22 Thread Meenakshi Aggarwal
MC firmware need to be aligned to 512M, so minimum 512MB DDR is reserved. But MC support to work with 128MB or 256MB DDR memory also, in this case, rest of the memory is not usable. So reporting this extra memory to Linux through dtb memory fixup. Signed-off-by: Meenakshi Aggarwal --- changed for

Re: [U-Boot] [v2 1/2] ARM: dts: Freescale: Add ecc addr for sata node

2019-05-22 Thread Peng Ma
Hi prabhakar, >-Original Message- >From: Prabhakar Kushwaha >Sent: 2019年5月22日 20:33 >To: Peng Ma ; albert.u.b...@aribaud.net; >s...@chromium.org; Fabio Estevam ; York Sun > >Cc: Andy Tang ; Yinbo Zhu ; >michal.si...@xilinx.com; u-boot@lists.denx.de; Peng Ma > >Subject: RE: [v2 1/2] ARM: dt

[U-Boot] [PATCH] armv8: ls1028a: Add ecc address node for sata.

2019-05-22 Thread Peng Ma
Move the ecc addr from driver to dts Signed-off-by: Peng Ma --- arch/arm/dts/fsl-ls1028a.dtsi |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/fsl-ls1028a.dtsi b/arch/arm/dts/fsl-ls1028a.dtsi index e6a443a..29a0858 100644 --- a/arch/arm/dts/fsl-ls1028a.dt

Re: [U-Boot] [EXT] Re: [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-22 Thread Peng Ma
Hi Stefan, Do you have any questions about this patch? Plese let me know. Thanks. Best Regars, Peng >-Original Message- >From: Stefan Roese >Sent: 2019年5月15日 17:23 >To: Peng Ma ; Prabhakar Kushwaha >; Shengzhou Liu ; >Ruchika Gupta >Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya >; Y

Re: [U-Boot] [RESEND][PATCH v2] armv8: Add workaround for USB erratum A-050106

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Prabhakar Kushwaha > Sent: Thursday, May 23, 2019 9:20 AM > To: Ran Wang > Cc: York Sun ; u-boot@lists.denx.de; Albert Aribaud > > Subject: RE: [RESEND][PATCH v2] armv8: Add workaround for USB erratum A- > 050106 > > Dear Ran, > > > -Original Message---

Re: [U-Boot] [RESEND][PATCH v2] armv8: Add workaround for USB erratum A-050106

2019-05-22 Thread Ran Wang
Hi Prabhakar, On Thursday, May 23, 2019 12:28, Prabhakar Kushwaha wrote: > > > > -Original Message- > > From: Prabhakar Kushwaha > > Sent: Thursday, May 23, 2019 9:20 AM > > To: Ran Wang > > Cc: York Sun ; u-boot@lists.denx.de; Albert Aribaud > > > > Subject: RE: [RESEND][PATCH v2] arm

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-22 Thread Jagan Teki
On Mon, May 6, 2019 at 1:38 PM Chuanhua Han wrote: > > > > > -Original Message- > > From: Jagan Teki > > Sent: 2019年5月6日 15:03 > > To: Chuanhua Han > > Cc: Jagan Teki ; Wolfgang Denk ; > > Shengzhou Liu ; Ruchika Gupta > > ; U-Boot-Denx ; Jiafei Pan > > ; Yinbo Zhu > > Subject: Re: [EXT

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-22 Thread Jagan Teki
On Wed, May 22, 2019 at 10:23 PM Prabhakar Kushwaha wrote: > > Dear Chuanhua, Jagan, > > > -Original Message- > > From: U-Boot On Behalf Of Chuanhua Han > > Sent: Thursday, May 9, 2019 9:03 AM > > To: Jagan Teki > > Cc: U-Boot-Denx ; Jiafei Pan ; > > Jagan Teki ; Yinbo Zhu ; Ruchika > >

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-22 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot On Behalf Of Jagan Teki > Sent: Thursday, May 23, 2019 10:06 AM > To: Chuanhua Han > Cc: U-Boot-Denx ; Jiafei Pan ; > Jagan Teki ; Yinbo Zhu ; Ruchika > Gupta > Subject: Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI > driver to dr

Re: [U-Boot] [EXT] Re: [PATCH 2/5] dm: spi: Convert Freescale ESPI driver to driver model

2019-05-22 Thread Jagan Teki
On Thu, May 23, 2019 at 10:22 AM Prabhakar Kushwaha wrote: > > > > -Original Message- > > From: U-Boot On Behalf Of Jagan Teki > > Sent: Thursday, May 23, 2019 10:06 AM > > To: Chuanhua Han > > Cc: U-Boot-Denx ; Jiafei Pan ; > > Jagan Teki ; Yinbo Zhu ; Ruchika > > Gupta > > Subject: Re

Re: [U-Boot] [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-22 Thread Prabhakar Kushwaha
Hi Stefan, > -Original Message- > From: Stefan Roese > Sent: Wednesday, May 15, 2019 2:53 PM > To: Peng Ma ; Prabhakar Kushwaha > ; Shengzhou Liu ; > Ruchika Gupta > Cc: Yinbo Zhu ; s...@chromium.org; Jagdish Gediya > ; York Sun ; > bmeng...@gmail.com; m...@marvell.com; Andy Tang ; > u-b

Re: [U-Boot] [PATCH 1/4] ata: fsl_ahci: Add sata DM support for Freescale powerpc socs

2019-05-22 Thread Stefan Roese
On 23.05.19 06:58, Prabhakar Kushwaha wrote: drivers/ata/Kconfig| 10 + drivers/ata/Makefile |1 + drivers/ata/fsl_ahci.c | 1030 drivers/ata/fsl_sata.h |1 + 4 files changed, 1042 insertions(+) create mode 10

Re: [U-Boot] [PATCH 1/2] mips: mt76xx: Implement new d-cache fix in last_stage_init()

2019-05-22 Thread Stefan Roese
On 22.05.19 17:58, Daniel Schwierzeck wrote: Am 20.05.19 um 17:22 schrieb Stefan Roese: With commit 06985289d452 ("watchdog: Implement generic watchdog_reset() version") the init sequence has changed in arch_misc_init(), resulting in a re-appearance of the d-cache issue on MT7688 boards (e.g.

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Lukasz Majewski
Hi Heiko, > Hello Chuanhua Han, > > Am 22.05.2019 um 14:45 schrieb Chuanhua Han: > > > > > >> -Original Message- > >> From: Lukasz Majewski > >> Sent: 2019年5月22日 19:32 > >> To: Chuanhua Han > >> Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; > >> s...@chromium.org; Stefano Babic

[U-Boot] [PATCH 2/2 v2] mips: mt76xx: gardena-smart-gateway: Enable CONFIG_USE_PREBOOT

2019-05-22 Thread Stefan Roese
Enable CONFIG_USE_PREBOOT on for the gardena mt7688 platforms, so that this feature can be used here. Signed-off-by: Stefan Roese Cc: Daniel Schwierzeck --- v2: - No change configs/gardena-smart-gateway-mt7688-ram_defconfig | 1 + configs/gardena-smart-gateway-mt7688_defconfig | 1 + 2 fil

[U-Boot] [PATCH 1/2 v2] mips: mt76xx: Remove cache workaround and select SYS_MALLOC_CLEAR_ON_INIT

2019-05-22 Thread Stefan Roese
With commit 06985289d452 ("watchdog: Implement generic watchdog_reset() version") the init sequence has changed in arch_misc_init(), resulting in a re-appearance of the d-cache issue on MT7688 boards (e.g. gardena). When this happens, the first (or sometimes later ones as well) TFTP command hangs a

Re: [U-Boot] [EXT] Re: [PATCH] i2c: pcf2127: fix bug that read wrong time

2019-05-22 Thread Heiko Schocher
Hello Lukasz, Am 23.05.2019 um 07:54 schrieb Lukasz Majewski: Hi Heiko, Hello Chuanhua Han, Am 22.05.2019 um 14:45 schrieb Chuanhua Han: -Original Message- From: Lukasz Majewski Sent: 2019年5月22日 19:32 To: Chuanhua Han Cc: h...@denx.de; u-boot@lists.denx.de; Biwen Li ; s...@ch

<    1   2