Re: [U-Boot] Cavium Octeon support for u-boot

2018-08-22 Thread Alexander Graf
On 08/22/2018 12:00 AM, Suneel Garapati wrote: On Tue, Aug 21, 2018 at 5:57 AM, Alexander Graf wrote: Hi Aaron, On 08/21/2018 08:07 AM, Aaron Williams wrote: The Octeon version of U-Boot is based off an older versin of U-Boot (2012.07) with a lot of features backported. For example, I have ba

[U-Boot] Unaligned memory accesses exception

2018-08-22 Thread Fernando AE
Hello all, I'm bringing up U-Boot for an iMX6UL board, and I've encountered unaligned memory accesses exceptions while I was trying to test the ETH commands (e.g., 'ping'). After investigation, I found out that the iMX6UL processor traps unaligned memory accesses by default. As a workaround, I di

Re: [U-Boot] Unaligned memory accesses exception

2018-08-22 Thread Bin Meng
Hi Fernando, On Wed, Aug 22, 2018 at 3:44 PM, Fernando AE wrote: > Hello all, > > I'm bringing up U-Boot for an iMX6UL board, and I've encountered > unaligned memory accesses exceptions while I was trying to test the > ETH commands (e.g., 'ping'). > Have you located the place where this unaligne

Re: [U-Boot] [PATCH v3 03/10] video: add support of MIPI DSI interface

2018-08-22 Thread Yannick FERTRE
Hi, Ok, I 'll rework driver with a new uclass & driver model. Best regards On 08/21/2018 07:31 PM, Simon Glass wrote: > Hi, > > On 17 August 2018 at 08:38, Yannick Fertré wrote: >> Mipi_display.c contains a set of dsi helpers. >> This file is a copy of file drm_mipi_dsi.c (linux kernel). >> >>

Re: [U-Boot] [PATCH v1 2/2] x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters

2018-08-22 Thread Bin Meng
Hi Andy, On Mon, Jun 18, 2018 at 9:52 PM, Andy Shevchenko wrote: > On Mon, 2018-06-18 at 16:27 +0300, Andy Shevchenko wrote: >> On Mon, 2018-06-18 at 21:03 +0800, Bin Meng wrote: >> > On Mon, Jun 18, 2018 at 5:22 PM, Andy Shevchenko >> > wrote: >> > > > > >> > I did not find the discussion. Do w

Re: [U-Boot] [PATCH 14/25] power domain: Add support for multiple powerdomains per device

2018-08-22 Thread Lokesh Vutla
On Tuesday 21 August 2018 08:01 PM, Lokesh Vutla wrote: > There are cases where there are more than one power domain > attached to the device inorder to get the device functional. > So add support for enabling power domain based on the index. > > Signed-off-by: Lokesh Vutla > --- > drivers/pow

Re: [U-Boot] Unaligned memory accesses exception

2018-08-22 Thread Bin Meng
Hi Fernando, On Wed, Aug 22, 2018 at 5:16 PM, Fernando AE wrote: > Hi Bin, > > The problem lies in these 2 lines, in the ping_send function: > > eth_hdr_size = net_set_ether(net_tx_packet, net_null_ethaddr, PROT_IP); > pkt = (uchar *)net_tx_packet + eth_hdr_size; > > While net_tx_packet i

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-22 Thread Marek Vasut
On 08/22/2018 04:14 AM, Bin Meng wrote: [...] I said in the previous discussion I am willing to update the documentation to match the implementation, but that's about it. > So far almost all PCI device drivers in U-Boot supports both > scenarios, except PCI UART which current

Re: [U-Boot] [PATCH v1 2/2] x86: zImage: Propagate acpi_rsdp_addr to kernel via boot parameters

2018-08-22 Thread Andy Shevchenko
On Wed, 2018-08-22 at 17:05 +0800, Bin Meng wrote: > Hi Andy, > > On Mon, Jun 18, 2018 at 9:52 PM, Andy Shevchenko > wrote: > > On Mon, 2018-06-18 at 16:27 +0300, Andy Shevchenko wrote: > > > On Mon, 2018-06-18 at 21:03 +0800, Bin Meng wrote: > > > > On Mon, Jun 18, 2018 at 5:22 PM, Andy Shevchen

Re: [U-Boot] [PATCH] mmc: sdhci-of-arasan: Do now show error message in case of deffered probe

2018-08-22 Thread Ulf Hansson
On 6 August 2018 at 10:43, Michal Simek wrote: > When mmc-pwrseq property is passed mmc_pwrseq_alloc() can return > -EPROBE_DEFER because driver for power sequence provider is not probed > yet. Do not show error message when this situation happens. > > Signed-off-by: Michal Simek Thanks, queued

Re: [U-Boot] [PATCH 03/10] mmc: rpmb: add mmc_rpmb_route_frames()

2018-08-22 Thread Jens Wiklander
Hi Igor, On Thu, Aug 16, 2018 at 2:13 PM, Igor Opaniuk wrote: > As I didn't have any available Hikey board, tested this on Poplar: > > Tested-by: Igor Opaniuk > > BTW, we've had it up for discussion already, but just to clarify and > summarize: > As ID of eMMC is hardcoded in the OP-TEE OS core

Re: [U-Boot] [PATCH] configs: am57xx: change default board name to beagle_x15

2018-08-22 Thread Andrew F. Davis
On 08/21/2018 11:47 PM, Praneeth Bajjuri wrote: > beagleboard x15 is the first supported platform variant of am57xx > in AOSP (android open source project) now. > > changing board name to stay in consistent with aosp target name. > > Signed-off-by: Praneeth Bajjuri > --- > configs/am57xx_evm_de

Re: [U-Boot] UNDEF_SYM

2018-08-22 Thread LIU Tim - Contractor
Hi there, Recently I came across U-boot-1.1.4 for an ARM board, and found the link part in top make file. u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sor

Re: [U-Boot] [PATCH v3.2 14/58] musb-new: sunxi: Use CLK and RESET support

2018-08-22 Thread Maxime Ripard
Hi, On Mon, Aug 20, 2018 at 10:02:31PM +0530, Jagan Teki wrote: > - glue->ccm = (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; > - if (IS_ERR(glue->ccm)) > - return PTR_ERR(glue->ccm); > + if (glue->cfg->has_reset) > + test_and_set_bit(SUNXI_MUSB_FL_HAS_RESET, &glue->f

Re: [U-Boot] [PATCH v3.2 14/58] musb-new: sunxi: Use CLK and RESET support

2018-08-22 Thread Jagan Teki
On Wed, Aug 22, 2018 at 9:24 PM, Maxime Ripard wrote: > Hi, > > On Mon, Aug 20, 2018 at 10:02:31PM +0530, Jagan Teki wrote: >> - glue->ccm = (struct sunxi_ccm_reg *)SUNXI_CCM_BASE; >> - if (IS_ERR(glue->ccm)) >> - return PTR_ERR(glue->ccm); >> + if (glue->cfg->has_reset) >>

Re: [U-Boot] [PATCH v3 27/58] fastboot: sunxi: Update fastboot mmc default device

2018-08-22 Thread Maxime Ripard
On Tue, Aug 21, 2018 at 10:27:38PM +0530, Jagan Teki wrote: > On Mon, Aug 20, 2018 at 5:14 PM, Maxime Ripard > wrote: > > On Sun, Aug 19, 2018 at 07:26:44PM +0530, Jagan Teki wrote: > >> Usually eMMC is default mmc device for fastboot. > >> > >> By enabling DM_MMC, the mmc devices are probed as pe

Re: [U-Boot] [PATCH V3 32/32] imx: add i.MX8QXP MEK board support

2018-08-22 Thread Fabio Estevam
Hi Peng, On Sun, Aug 5, 2018 at 11:50 PM, Peng Fan wrote: > +Get imx-mkimage tool > +== > +Download the imx-mkimage tool: > + > +$ git clone https://source.codeaurora.org/external/imx/imx-mkimage/ I know NXP uses this custom imx-mkimage tool internally, but this is s

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-22 Thread Simon Glass
Hi Marek, On 20 August 2018 at 14:15, Marek Vasut wrote: > > On 08/20/2018 09:29 PM, Simon Glass wrote: > [...] > > > So what is the conclusion here ? Patch the design document and apply > > this patch as is ? > > > > I think we should see Simon's comments before we move for

Re: [U-Boot] [PATCH v3 27/58] fastboot: sunxi: Update fastboot mmc default device

2018-08-22 Thread Olliver Schinagl
On 21-08-18 18:57, Jagan Teki wrote: > On Mon, Aug 20, 2018 at 5:14 PM, Maxime Ripard > wrote: >> On Sun, Aug 19, 2018 at 07:26:44PM +0530, Jagan Teki wrote: >>> Usually eMMC is default mmc device for fastboot. >>> >>> By enabling DM_MMC, the mmc devices are probed as per >>> DT status not with re

[U-Boot] [PATCH] binman: fix a few typos in documentation

2018-08-22 Thread Michael Heimpold
This fixes four small typos in the README file. Signed-off-by: Michael Heimpold Cc: Simon Glass --- tools/binman/README | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/binman/README b/tools/binman/README index cb34171e5f..9d9d1832ee 100644 --- a/tools/binman/RE

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-22 Thread Marek Vasut
On 08/22/2018 08:08 PM, Simon Glass wrote: [...] >> This is explained in the patch description and the thread again. Please >> read the thread before replying. Take a look at the r8a7794.dtsi and its >> PCI bindings, there are PCI controller subnodes which add extra >> information for PCI devices o

[U-Boot] [PATCH v2 0/2] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7260 SoC. The first patch in this series reorganizes the BCM7445 configury to make way for BCM7260. Thomas Fitzsimmons (2): arm: bcm7445: Change serial console index board: arm: Add support for Broadcom BCM7260 MAINTAINERS

[U-Boot] [PATCH v2 1/2] arm: bcm7445: Change serial console index

2018-08-22 Thread Thomas Fitzsimmons
Change the configured serial console index to reflect that it is the first physical UART, reorder some defconfig lines and move some environment configuration from bcmstb.h to bcm7445.h. Signed-off-by: Thomas Fitzsimmons Cc: Florian Fainelli --- Changes for v2: - Rebase to master tip - Cha

[U-Boot] [PATCH v2 2/2] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Add support for loading U-Boot on the Broadcom 7260 SoC. This port assumes Broadcom's BOLT bootloader is acting as the second stage bootloader, and U-Boot is acting as the third stage bootloader, loaded as an ELF program by BOLT. Signed-off-by: Thomas Fitzsimmons Reviewed-by: Florian Fainelli C

Re: [U-Boot] Booting into winCE .nb0 without access to source files

2018-08-22 Thread Fabio Estevam
Hi Michael, On Mon, Aug 20, 2018 at 4:55 PM, Michael Newton wrote: > Hi, > > > I have an awkward situation, short of it is we have a custom i.MX53 board, > the nk.nb0 and eboot.nb0 files to boot into windows (with no source code), > and an Ubuntu VM with the source code and compiled files of ub

Re: [U-Boot] [PATCH] board: arm: Add support for Broadcom BCM7260

2018-08-22 Thread Thomas Fitzsimmons
Hi Florian, Florian Fainelli writes: [...] >> +#define CONFIG_SYS_NS16550_COM3 0xf040c000 > > This is the physical address of UARTA, there are typically 3 UARTs on > those SoCs, is there a reason to name this COM3 and not COM1? If this is > an established u-boot convention, pardon my ignore

Re: [U-Boot] [PATCH v3 3/7] drivers: net: designware: Add reading of DT phy-handle node

2018-08-22 Thread Grygorii Strashko
On 08/22/2018 01:08 AM, Janine Hagemann wrote: > Add the ability to read the phy-handle node of the > gmac. Upon reading this handle the phy-id > can be stored based on the reg node in the DT. > > The phy-handle also needs to be stored and passed > to the phy to access any phy data that is avai

Re: [U-Boot] [PATCH v3 0/3] Expand dp83867-driver

2018-08-22 Thread Grygorii Strashko
On 08/22/2018 01:07 AM, Janine Hagemann wrote: - Split patch-series "Add ethernet support for phyCORE-RK3288" into two patch-series: 1/2: "Expand dp83867-driver 2/2: "Add ethernet support for phyCORE-RK3288" - Add some Acked-by Janine Hagemann (3): net: phy: ti: Add lane

[U-Boot] [PATCH 01/18] gpio: mpc8xxx: add support for Layerscape SoC

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 * Add mpc8xxx_gpio_plat for for Layerscape SoC * Make the mpc8xxx driver capable of handling Layerscape Soc. Signed-off-by: Zhang Ying-22455 --- arch/arm/include/asm/arch-fsl-layerscape/gpio.h| 24 ++ .../include/asm/arch-fsl-layerscape/immap_ls

[U-Boot] [PATCH 03/18] armv8: ls1043ardb: Enable GPIO driver

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- configs/ls1043ardb_SECURE_BOOT_defconfig| 2 ++ configs/ls1043ardb_defconfig| 2 ++ configs/ls1043ardb_nand_SECURE_BOOT_defconfig | 2 ++ configs/ls1043ardb_nand_defconfig | 2 ++ configs/ls10

[U-Boot] [PATCH 02/18] armv8: ls1043a: add gpio entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls1043a.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index ff40122..8238c73 100644 --- a/arch/arm/dts/f

[U-Boot] [PATCH 09/18] armv8: ls2080a: add gpio entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls2080a.dtsi | 44 +++ 1 file changed, 44 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b0f8517..160600c 100644 --- a/arch/arm/dt

[U-Boot] [PATCH 06/18] armv8: ls1046a: Enable GPIO driver

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- configs/ls1046aqds_SECURE_BOOT_defconfig| 2 ++ configs/ls1046aqds_defconfig| 2 ++ configs/ls1046aqds_lpuart_defconfig | 2 ++ configs/ls1046aqds_nand_defconfig | 2 ++ configs/ls10

[U-Boot] [PATCH 17/18] armv8: ls208xa: add i2c entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls2080a-rdb.dts | 44 ++ arch/arm/dts/fsl-ls2080a.dtsi| 58 2 files changed, 102 insertions(+) diff --git a/arch/arm/dts/fsl-ls2080a-rdb.dts b/ar

[U-Boot] [PATCH 11/18] board: freescale: sys_eeprom: Add i2c DM support

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Add DM capable code into the sys_eeprom driver. The legacy non-DM, non-DT support is retained as there are still systems in the tree which are not DM or DT capable. Signed-off-by: Zhang Ying-22455 --- board/freescale/common/sys_eeprom.c | 68 +

[U-Boot] [PATCH 07/18] armv8: ls1088a: add gpio entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls1088a.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 077caf3..acc63be 100644 --- a/arch/arm/dts/f

[U-Boot] [PATCH 18/18] armv8: ls2080ardb: enable I2C DM and EEPROM DM

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Some CONFIG options that are not supported on SPL must be disabled because one .config is shared between SPL and U-Boot proper going forward. Such as CONFIG_I2C_DM is not supported in SPL at this time, so we can only add a option CONFIG_I2C_DM in the image without SPL. Af

[U-Boot] [PATCH 05/18] armv8: ls1046a: add gpio entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls1046a.dtsi | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 4acbaf7..047887c 100644 --- a/arch/arm/dts/f

[U-Boot] [PATCH 04/18] armv8: ls1043aqds: Enable GPIO driver

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- configs/ls1043aqds_defconfig | 2 ++ configs/ls1043aqds_lpuart_defconfig | 2 ++ configs/ls1043aqds_nand_defconfig| 2 ++ configs/ls1043aqds_nor_ddr3_defconfig| 2 ++ configs/ls1043aqds_qspi_defconfig

[U-Boot] [PATCH 15/18] armv8: ls1088a: add i2c entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls1088a-qds.dts | 57 arch/arm/dts/fsl-ls1088a-rdb.dts | 40 arch/arm/dts/fsl-ls1088a.dtsi| 55 ++ 3 files ch

[U-Boot] [PATCH 08/18] armv8: ls1088a: Enable GPIO driver

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- configs/ls1088aqds_defconfig | 2 ++ configs/ls1088aqds_qspi_SECURE_BOOT_defconfig| 2 ++ configs/ls1088aqds_qspi_defconfig| 2 ++ configs/ls1088aqds_sdcard_ifc_defconfig

[U-Boot] [PATCH 12/18] armv8: ls1046a: add i2c entry

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- arch/arm/dts/fsl-ls1046a-rdb.dts | 34 ++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a-rdb.dts b/arch/arm/dts/fsl-ls1046a-rdb.dts index 136de24..90b5aa8 100644 --- a/arch/arm/dt

[U-Boot] [PATCH 10/18] armv8: ls2080a: Enable GPIO driver

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Signed-off-by: Zhang Ying-22455 --- configs/ls2080aqds_SECURE_BOOT_defconfig | 2 ++ configs/ls2080aqds_defconfig | 2 ++ configs/ls2080aqds_nand_defconfig | 2 ++ configs/ls2080aqds_qspi_defconfig | 2 ++ configs/ls2080aqds_s

[U-Boot] [PATCH 13/18] armv8: ls1046ardb: enable I2C DM and EEPROM DM

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Some CONFIG options that are not supported on SPL must be disabled because one .config is shared between SPL and U-Boot proper going forward. Such as CONFIG_I2C_DM is not supported in SPL at this time, so we can only add a option CONFIG_I2C_DM in the image without SPL. Af

[U-Boot] [PATCH 14/18] armv8: ls1043ardb: enable I2C DM and EEPROM DM

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Some CONFIG options that are not supported on SPL must be disabled because one .config is shared between SPL and U-Boot proper going forward. Such as CONFIG_I2C_DM is not supported in SPL at this time, so we can only add a option CONFIG_I2C_DM in the image without SPL. Af

[U-Boot] [PATCH 16/18] armv8: ls1088ardb: enable I2C DM and EEPROM DM

2018-08-22 Thread ying . zhang22455
From: Zhang Ying-22455 Some CONFIG options that are not supported on SPL must be disabled because one .config is shared between SPL and U-Boot proper going forward. Such as CONFIG_I2C_DM is not supported in SPL at this time, so we can only add a option CONFIG_I2C_DM in the image without SPL. Af

Re: [U-Boot] [PATCH] binman: fix a few typos in documentation

2018-08-22 Thread Bin Meng
On Thu, Aug 23, 2018 at 4:01 AM, Michael Heimpold wrote: > This fixes four small typos in the README file. > > Signed-off-by: Michael Heimpold > Cc: Simon Glass > --- > tools/binman/README | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > Reviewed-by: Bin Meng

Re: [U-Boot] [PATCH] pci: Support parsing PCI controller DT subnodes

2018-08-22 Thread Bin Meng
Hi Marek, On Wed, Aug 22, 2018 at 5:57 PM, Marek Vasut wrote: > On 08/22/2018 04:14 AM, Bin Meng wrote: > [...] > I said in the previous discussion I am willing to update the > documentation to match the implementation, but that's about it. > >> So far almost all PCI device driver

[U-Boot] [PATCH] rockchip: update emmc/sd index for distro boot order

2018-08-22 Thread Kever Yang
According to the emmc/sdcard index in dts alias, emmc is always 0 and sdcard index is 1, let's update to using correct mmc number for distro boot order in common header. SD card suppost to have higher priority so that people can boot into the firmware in SD card, this is very convenient for develo

[U-Boot] [RESENT PATCH 1/2] rockchip: rk3128: use ROCKCHIP_BOOT_MODE_REG to update reboot flag

2018-08-22 Thread Kever Yang
Use ROCKCHIP_BOOT_MODE_REG instead of grf structure so that we can re-use the source code later. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig| 1 + arch/arm/mach-rockchip/rk3128-board.c | 5 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/ma

[U-Boot] [RESENT PATCH 2/2] rockchip: rk322x: use ROCKCHIP_BOOT_MODE_REG to update reboot flag

2018-08-22 Thread Kever Yang
Use ROCKCHIP_BOOT_MODE_REG instead of grf structure so that we can re-use the source code later. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk322x-board.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/mach-rockchip/rk322x-board.c b/arch/arm/mach-roc

[U-Boot] [RESENT PATCH] rockchip: make_fit_atf: fix warning unit_address_vs_reg

2018-08-22 Thread Kever Yang
Patch fix warning: /builddir/BUILD/u-boot-2018.05-rc2/"arch/arm/mach-rockchip/make_fit_atf.py" \ arch/arm/dts/rk3399-firefly.dtb > u-boot.its ./tools/mkimage -f u-boot.its -E u-boot.itb >/dev/null && cat /dev/null u-boot.itb.tmp: Warning (unit_address_vs_reg): Node /images/uboot@1 has a unit na

Re: [U-Boot] [PATCH v6 1/8] dm: mmc: use block layer in mmc driver

2018-08-22 Thread Yinbo Zhu
-Original Message- From: York Sun Sent: 2018年8月15日 22:58 To: Yinbo Zhu ; Y.b. Lu ; u-boot@lists.denx.de Cc: Xiaobo Xie ; Andy Tang ; Peng Ma Subject: Re: [PATCH v6 1/8] dm: mmc: use block layer in mmc driver First of all, your subject is wrong. You are not making any change to dm or

[U-Boot] [PATCH v7 1/8] dm: mmc: use block layer in mmc driver

2018-08-22 Thread Yinbo Zhu
At present the MMC subsystem maintains its own list of MMC devices. This cannot work with driver model when CONFIG_BLK is enabled, use blk_dread to replace previous mmc read interface, use mmc_get_blk_desc to get the mmc device property Signed-off-by: Yinbo Zhu --- Change in v7: r

[U-Boot] [PATCH v7 3/8] armv8: ls2088a: add eSDHC node

2018-08-22 Thread Yinbo Zhu
This patch is to add eSDHC node for ls2088a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls2080a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls2080a.dtsi b/arch/arm/dts/fsl-ls2080a.dtsi index b0f8517..2d537ae 100644 --- a/arch/arm/dts/f

[U-Boot] [PATCH v7 7/8] armv7: ls1021a: enable esdhc

2018-08-22 Thread Yinbo Zhu
This patch is to enable eSDHC for ls1021a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/ls1021a.dtsi |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/dts/ls1021a.dtsi b/arch/arm/dts/ls1021a.dtsi index 5b3fc6a..59c97d5 100644 --- a/arch/arm/dts/ls1021a.dtsi +++ b/arc

[U-Boot] [PATCH v7 2/8] armv8/ls1088a/ls2088a: esdhc: Add esdhc clock support

2018-08-22 Thread Yinbo Zhu
This patch adds esdhc clock support for ls1088a and ls2088a. Signed-off-by: Yinbo Zhu --- .../arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch3_speed.c b/arch/arm/cpu/

[U-Boot] [PATCH v7 4/8] armv8: ls1088a: add eSDHC node

2018-08-22 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1088a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1088a.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1088a.dtsi b/arch/arm/dts/fsl-ls1088a.dtsi index 077caf3..72d755a 100644 --- a/arch/arm/dts/

[U-Boot] [PATCH v7 6/8] armv8: ls1046a: add eSDHC node

2018-08-22 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1046a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1046a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts/fsl-ls1046a.dtsi index 4acbaf7..7687d12 100644 --- a/arch/arm/dts/f

[U-Boot] [PATCH v7 8/8] Enable CONFIG_BLK and CONFIG_DM_MMC to Kconfig

2018-08-22 Thread Yinbo Zhu
This enables the folowing to Kconfig: CONFIG_BLK CONFIG_DM_MMC Signed-off-by: Yinbo Zhu --- configs/ls1021atwr_nor_SECURE_BOOT_defconfig |2 ++ configs/ls1021atwr_nor_defconfig |2 ++ configs/ls1021atwr_nor_lpuart_defconfig|2 ++ co

[U-Boot] [PATCH v7 5/8] armv8: ls1043a: add eSDHC node

2018-08-22 Thread Yinbo Zhu
This patch is to add eSDHC node for ls1043a. Signed-off-by: Yinbo Zhu --- arch/arm/dts/fsl-ls1043a.dtsi |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/fsl-ls1043a.dtsi b/arch/arm/dts/fsl-ls1043a.dtsi index ff40122..a804f51 100644 --- a/arch/arm/dts/f

Re: [U-Boot] [PATCH] MMC: davinici_mmc: Enable CD and WP with DM and OF_CONTROL

2018-08-22 Thread Peter Howard
On Thu, 2018-08-16 at 23:26 -0500, Adam Ford wrote: > When used with a device tree, this will extract the card detect > and write protect pins from the device tree and configure them > accordingly. This assumes the GPIO_ACTIVE_LOW/HIGH is supported > byt da8xx_gpio. > > Signed-off-by: Adam Ford

[U-Boot] [PATCH] armv8: layerscape: Build u-boot-with-spl.bin for selected boards

2018-08-22 Thread Jagdish Gediya
This patch reverts the changes made for ls1088a and ls2080a based boards in commit 18b6dd6cb0564 ("armv8: layerscape: Drop u-boot-with-spl.bin for selected boards"). u-boot-with-spl.bin is required for Gen3 based SoC where internal ROM copy data in the internal memory CC: Prabhakar Kushwaha CC: