Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Jaehoon Chung
Hi, On 07/22/2017 06:24 AM, Marek Vasut wrote: > This patch prepares the driver to support controller(s) with registers > at locations shifted by constant. Pull out the readl()/writel() from > the driver into separate functions, where the adjustment of the register > offset can be easily

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Masahiro Yamada
2017-08-13 1:55 GMT+09:00 Marek Vasut : > On 08/10/2017 09:49 AM, Masahiro Yamada wrote: >> Hi. >> >> >> 2017-08-07 17:30 GMT+09:00 Marek Vasut : >>> On 08/07/2017 04:30 AM, Masahiro Yamada wrote: Hi Marek, >>> >>> Hi Masahiro, >>> >>> This is

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Masahiro Yamada
2017-08-17 15:39 GMT+09:00 Jaehoon Chung : > On 08/13/2017 01:55 AM, Marek Vasut wrote: >> On 08/10/2017 09:49 AM, Masahiro Yamada wrote: >>> Hi. >>> >>> >>> 2017-08-07 17:30 GMT+09:00 Marek Vasut : On 08/07/2017 04:30 AM, Masahiro Yamada wrote:

Re: [U-Boot] [PATCH 1/4] Revert "serial: ns16550: Add RX interrupt buffer support"

2017-08-17 Thread Bin Meng
On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese wrote: > This reverts commit 6822cf3ec7c8768b8727573b8f4b2cb3d870b881. > > As Bin Meng has tested and pointed out, we don't need the RX interrupt > for the RX buffer support at all. Just reading all available characters > into a buffer

[U-Boot] [PATCH v2 2/5] rockchip: rk322x: add sdram driver

2017-08-17 Thread Kever Yang
Add driver for rk322x to support sdram initialize in SPL. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich --- Changes in v2: None arch/arm/include/asm/arch-rockchip/sdram_rk322x.h | 581 +++

[U-Boot] [PATCH v2 3/5] rockchip: rk322x: pinctrl: using compatible name same with dts

2017-08-17 Thread Kever Yang
The dts from kernel is using rk3228-pinctrl as compatible name, need to sync with it to make the driver work. Signed-off-by: Kever Yang --- Changes in v2: - split this patch in two patches drivers/pinctrl/rockchip/pinctrl_rk322x.c | 6 +++--- 1 file changed, 3

Re: [U-Boot] [PATCH 3/4] x86: conga-qeval20-qa3-e3845: Select SERIAL_RX_BUFFER via Kconfig

2017-08-17 Thread Stefan Roese
Hi Bin, On 17.08.2017 09:19, Bin Meng wrote: On Wed, Aug 16, 2017 at 11:43 PM, Stefan Roese wrote: Hi Bin, On 16.08.2017 17:37, Stefan Roese wrote: To support more input characters (longer stings pasted into the U-Boot prompt) without dropping, lets selects the recently added

Re: [U-Boot] mmc: gen_atmel_mci: Fix wrong arguments used of bind()

2017-08-17 Thread Jaehoon Chung
On 07/26/2017 03:35 PM, wenyou.y...@microchip.com wrote: > The bind() method is called before the device is probed and so the > device has no private data, should use the platform data, and set up > a new struct to hold the mmc and cfg members. > > Signed-off-by: Wenyou Yang

[U-Boot] [PATCH v3 2/8] armv8: Add workaround for USB erratum A-009798

2017-08-17 Thread Ran Wang
The default setting for USB High Speed Squelch Threshold results in a threshold close to or lower than 100mV. This leads to Receiver Compliance test failure for a 100mV threshold. The changes shift the threshold from ~100mV woards ~130mV resulting in passing of USB High Speed Receiver Sensitivity

[U-Boot] [PATCH v3 4/8] armv8: Add workaround for USB erratum A-009007

2017-08-17 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values. Changes identified in setup makes the Rx compliance test pass. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh Gupta

Re: [U-Boot] [PATCH] rockchip: rk3288: update the mmc number for fastboot

2017-08-17 Thread Kever Yang
Hi Philipp, On 07/27/2017 09:09 PM, Dr. Philipp Tomsich wrote: On 27 Jul 2017, at 15:04, Kever Yang wrote: Philipp, On 07/27/2017 08:16 PM, Dr. Philipp Tomsich wrote: Kever, On 27 Jul 2017, at 13:47, Kever Yang wrote: The emmc

[U-Boot] [PATCH v3 5/8] armv7: Add workaround for USB erratum A-009008

2017-08-17 Thread Ran Wang
USB High Speed (HS) EYE Height Adjustment USB HS speed eye diagram fails with the default value at many corners, particularly at a high temperature Optimal eye at TXVREFTUNE value to 1001 is ovserved, change set the same value. Signed-off-by: Sriram Dash Signed-off-by:

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Jaehoon Chung
On 08/13/2017 01:55 AM, Marek Vasut wrote: > On 08/10/2017 09:49 AM, Masahiro Yamada wrote: >> Hi. >> >> >> 2017-08-07 17:30 GMT+09:00 Marek Vasut : >>> On 08/07/2017 04:30 AM, Masahiro Yamada wrote: Hi Marek, >>> >>> Hi Masahiro, >>> >>> This is gonna be a great

Re: [U-Boot] rk3288: 32KB SPL size restriction

2017-08-17 Thread Kever Yang
Hi Jagan, On 08/10/2017 05:07 PM, Jagan Teki wrote: Hi Simon/Philipp or any, I believe rk3288 has 20KB BootRom and 100KB internal SRAM and current u-boot can archive the maximum size of u-boot-spl-dtb.bin which the boot ROM will read is 32KB, do we have any possibility to increase the SPL

[U-Boot] [PATCH v2 1/5] rockchip: rk322x: update dram bank size

2017-08-17 Thread Kever Yang
The DRAM start address is not 0, so need to update the last bank size as: DRAM start addr + DRAM_SIZE - last bank start addr Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-17 Thread Kever Yang
Add sdram driver for rk3229 and other fix like pinctrl and sd node. Changes in v2: - split this patch in two patches Kever Yang (5): rockchip: rk322x: update dram bank size rockchip: rk322x: add sdram driver rockchip: rk322x: pinctrl: using compatible name same with dts rockchip:

[U-Boot] [PATCH v3 7/8] armv7: Add workaround for USB erratum A-008997

2017-08-17 Thread Ran Wang
Low Frequency Periodic Singaling (LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change settings required for transmitter signal swings to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [PATCH v3 8/8] armv7: Add workaround for USB erratum A-009007

2017-08-17 Thread Ran Wang
Rx Compliance tests may fail intermittently at high jitter frequencies using default register values Changes identified in test setup makes the Rx compliance test pass Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Signed-off-by: Suresh

Re: [U-Boot] cmd: mmc: add mmc partconf read capability

2017-08-17 Thread Jaehoon Chung
On 08/01/2017 09:27 PM, Anatolij Gustschin wrote: > From: Angelo Dureghello > > This patch allows to show the EXT_CSD[179] partition_config > register info, just by specifying the dev param: > > U-Boot> mmc partconf 0 > EXT_CSD[179], PARTITION_CONFIG: > BOOT_ACK: 0x0 >

[U-Boot] [PATCH v2 1/2] armv8: mmu: remove unused macro definition

2017-08-17 Thread Andy Yan
Macro VA_BITS and PTE_BLOCK_BITS are not used in the code, so remove them. Signed-off-by: Andy Yan Reviewed-by: Philipp Tomsich --- Changes in v2: - remove CONFIG_SYS_PTL2_BITS from the whitelist

[U-Boot] [PATCH v2 2/2] armv8: mmu: add space around operator

2017-08-17 Thread Andy Yan
Add space around operator "+", make it match the coding style. Signed-off-by: Andy Yan --- Changes in v2: None arch/arm/include/asm/armv8/mmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/armv8/mmu.h

Re: [U-Boot] rockchip: rk322x: Disable integrated macphy for saving power consuming

2017-08-17 Thread Kever Yang
Hi David, On 08/14/2017 03:04 PM, David Wu wrote: Unfortunately, the integrated macphy default is enabled, which will increase power consuming, if we do not use this PHY. So let's disable it at first, which will save power consuming. If we really use it, then enable it in driver level.

Re: [U-Boot] [PATCH 3/4] x86: conga-qeval20-qa3-e3845: Select SERIAL_RX_BUFFER via Kconfig

2017-08-17 Thread Bin Meng
On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese wrote: > To support more input characters (longer stings pasted into the U-Boot > prompt) without dropping, lets selects the recently added UART RX > buffer for these boards. > > Signed-off-by: Stefan Roese > Cc: Simon

Re: [U-Boot] [PATCH 4/4] x86: dfi-bt700: Select SERIAL_RX_BUFFER via Kconfig

2017-08-17 Thread Bin Meng
On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese wrote: > To support more input characters (longer stings pasted into the U-Boot > prompt) without dropping, lets selects the recently added UART RX > buffer for these boards. > > Signed-off-by: Stefan Roese > Cc: Simon

Re: [U-Boot] [PATCH 2/4] serial: serial-uclass: Add generic serial RX buffer support

2017-08-17 Thread Bin Meng
On Wed, Aug 16, 2017 at 11:37 PM, Stefan Roese wrote: > Pasting longer lines into the U-Boot console prompt sometimes leads to > characters missing. One problem here is the small 16-byte FIFO of the > legacy NS16550 UART, e.g. on x86 platforms. > > This patch now introduces a

[U-Boot] [PATCH v2 4/5] rockchip: rk322x: pinctrl: fix IO MASK error on sdcard pin

2017-08-17 Thread Kever Yang
Fix the IOMUX setting for SDcard CMD pin at the same time. Signed-off-by: Kever Yang --- Changes in v2: None drivers/pinctrl/rockchip/pinctrl_rk322x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/rockchip/pinctrl_rk322x.c

[U-Boot] [PATCH v2 5/5] rockchip: dts: rk3229: remove dram channel info

2017-08-17 Thread Kever Yang
The dram channel info will be auto detect by the driver, we do not need it. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich --- Changes in v2: None

Re: [U-Boot] [PATCH 3/4] x86: conga-qeval20-qa3-e3845: Select SERIAL_RX_BUFFER via Kconfig

2017-08-17 Thread Bin Meng
Hi Stefan, On Wed, Aug 16, 2017 at 11:43 PM, Stefan Roese wrote: > Hi Bin, > > On 16.08.2017 17:37, Stefan Roese wrote: >> >> To support more input characters (longer stings pasted into the U-Boot >> prompt) without dropping, lets selects the recently added UART RX >> buffer for

Re: [U-Boot] [PATCH v2 00/40] dm: sata: Complete driver-model support for SATA

2017-08-17 Thread Jaehoon Chung
Hi Simon, On 07/30/2017 02:34 AM, Simon Glass wrote: > Note: This series is rebased to u-boot-mmc/master with a fix-up patch > for a broken patch there. > > This series completes the conversion of SATA to driver model. > > Previous work converted SCSI including the SCSI-based SATA driver. This

[U-Boot] [PATCH v3 1/8] armv8: Add workaround for USB erratum A-009008

2017-08-17 Thread Ran Wang
USB High Speed (HS) EYE Height Adjustment USB HS speed eye diagram fails with the default value at many corners, particularly at a high temperature Optimal eye at TXREFTUNE value to 1001 is observed, change set the same value. Signed-off-by: Ran Wang --- Change in v3:

[U-Boot] [PATCH v3 3/8] armv8: Add workaround for USB erratum A-008997

2017-08-17 Thread Ran Wang
Low Frequency Periodic Signaling(LFPS) Peak-to-Peak Differential Output Voltage Test Compliance fails using default transmitter settings Change setting required for transmitter signal swings to pass compliance tests. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

[U-Boot] [PATCH v3 6/8] armv7: Add workaround for USB erratum A-009798

2017-08-17 Thread Ran Wang
The default setting for USB High Speed Squelch Threshold results in a threshold close to or lower than 100mV. This leads to Receive Compliance test failure for a 100mV threshold. The changes shift the threshold from ~100mV towards ~130mV resulting in passing of USB High Speed Receiver Sensitivity

[U-Boot] [PATCH 1/2] x86: Convert CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to Kconfig

2017-08-17 Thread Bin Meng
This converts CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED to a Kconfig option. Signed-off-by: Bin Meng --- arch/x86/Kconfig | 7 +++ arch/x86/cpu/turbo.c | 2 +- scripts/config_whitelist.txt | 1 - 3 files changed, 8 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 2/2] x86: baytrail: Fix turbo enable

2017-08-17 Thread Bin Meng
CPU_INTEL_TURBO_NOT_PACKAGE_SCOPED must be turned on for Baytrail. Signed-off-by: Bin Meng --- arch/x86/cpu/baytrail/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/cpu/baytrail/Kconfig b/arch/x86/cpu/baytrail/Kconfig index 9374c12..9f9c924 100644 ---

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Add SDP (Serial Downloader Protocol) implementation for U-Boot. The protocol is used in NXP SoC's boot ROM and allows to download program images. Beside that, it can also be used to read/write registers

Re: [U-Boot] [PATCH v2 5/8] spl: add serial download protocol (SDP) support

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Add USB serial download protocol support to SPL. If the SoC started in recovery mode the SPL will immediately switch to SDP and wait for further downloads/commands from the host side. Reviewed-by: Łukasz

Re: [U-Boot] [PATCH v2 6/8] doc: add Serial Download Protocol documentation

2017-08-17 Thread Łukasz Majewski
Hi Stefan, From: Stefan Agner Document the U-Boot Serial Download Protocol implementation and some typical use cases. Thanks for providing the description :-) Reviewed-by: Łukasz Majewski Signed-off-by: Stefan Agner

Re: [U-Boot] [PATCH v2 7/8] apalis/colibri_imx6: use independent USB PID for SPL

2017-08-17 Thread Łukasz Majewski
On 08/16/2017 08:00 PM, Stefan Agner wrote: From: Stefan Agner Use a completely independent USB Product ID for SPL. This allows to differentiate a SDP running in SPL and SDP running in a U-Boot which could not read the config block successfully. Reviewed-by: Łukasz

[U-Boot] [PATCH] ARM: mvebu: set correct mem_size for db-88f6820-amc

2017-08-17 Thread Chris Packham
The db-88f6820-amc has four chips with 2Gb density giving a total of 1GB DRAM. Update the board_topology_map to reflect the correct configuration. Signed-off-by: Chris Packham --- When I setup this board I misinterpreted 2 Gigabits as 2 Gigabytes. It happened to work so

Re: [U-Boot] [PATCH v3 18/19] dfu: fix spl build

2017-08-17 Thread Łukasz Majewski
Hi Paweł, In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. This patch resolves it by cutting out unwanted code in SPL build. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none drivers/dfu/dfu_nand.c | 6

Re: [U-Boot] Missing licenses in i.MX7 code

2017-08-17 Thread Peng Fan
Hi Stefano, > -Original Message- > From: Stefano Babic [mailto:sba...@denx.de] > Sent: Thursday, August 17, 2017 4:09 PM > To: Peng Fan ; U-Boot@lists.denx.de; Fabio Estevam > > Subject: Missing licenses in i.MX7 code > > Hi Peng, > > there are

[U-Boot] [PATCH] spl: fix Makefile for NOR, XIP and YMODEM

2017-08-17 Thread Philipp Tomsich
During the the conversion to $(SPL_TPL_), the SPL_ fragment was left over for the NOR, XIP and YMODEM boot methods in SPL, making these unselectable. This commit fixes this by dropping the spurious 'SPL_' fragment from each line. Signed-off-by: Philipp Tomsich

Re: [U-Boot] [linux-sunxi] Re: [PATCH] ARM: sun8i: a83t: Add device tree for Sinovoip Bananapi BPI-M3

2017-08-17 Thread Chen-Yu Tsai
On Thu, Aug 17, 2017 at 1:11 PM, wrote: > 在 2017-08-17 11:40,Chen-Yu Tsai 写道: >> >> The BPI-M3 is an Allwinner A83T based SBC in the Bananapi/Bpi family. >> It is roughly the same form factor as the BPI-M1+, with roughly the >> same peripherals and connectors: >> >> - 2GB

[U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
Some files for i.MX do not yet have the SPDX ID to reference the correct license. Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/mmc_host_def.h | 18 +- arch/arm/include/asm/arch-mx5/iomux-mx51.h| 7 +--

[U-Boot] [GIT PULL] Please pull u-boot-rockchip/master

2017-08-17 Thread Dr. Philipp Tomsich
Tom, there's a (trivial) fix for some fallout from f94e643 (spl: consistently use $(SPL_TPL_) to select features for SPL and TPL builds) (and one unrelated trivial DTS change) in u-boot-rockchip/master ready for you. Please pull. Regards, Philipp. The following changes since commit

Re: [U-Boot] [PATCH v2 0/5] rockchip: rk3229: add sdram and sd support

2017-08-17 Thread Dr. Philipp Tomsich
> On 17 Aug 2017, at 09:17, Kever Yang wrote: > > > Add sdram driver for rk3229 and other fix like pinctrl and sd node. > > > Changes in v2: > - split this patch in two patches > > Kever Yang (5): > rockchip: rk322x: update dram bank size > rockchip: rk322x: add

Re: [U-Boot] [PATCH 11/12] ARM: dts: dra7-evm: sync DT with latest Linux

2017-08-17 Thread Lokesh Vutla
On Tuesday 15 August 2017 02:58 AM, Tom Rini wrote: > On Sat, Aug 12, 2017 at 11:59:32AM +0530, Lokesh Vutla wrote: > >> Signed-off-by: Lokesh Vutla >> --- >> arch/arm/dts/dra7-evm.dts | 276 >> -- >> 1 file changed, 23

Re: [U-Boot] [U-Boot, v3] regulator: pbias: Add PBIAS regulator for proper voltage switching on MMC1

2017-08-17 Thread Jaehoon Chung
On 08/07/2017 06:43 PM, Jean-Jacques Hiblot wrote: > In the TI SOCs a PBIAS cell exists to provide a bias voltage to the MMC1 > IO cells. Without this bias voltage these I/O cells can not function > properly. The PBIAS cell is controlled by software. > > Signed-off-by: Jean-Jacques Hiblot

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Bin Meng
Hi Jaehoon, On Thu, Aug 17, 2017 at 5:01 PM, Jaehoon Chung wrote: > On 08/09/2017 04:21 PM, Bin Meng wrote: >> This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of >> individual vendor id & device id pair to support generic PCI SD host >> controller. >> >>

[U-Boot] SPDX License status

2017-08-17 Thread Wolfgang Denk
Dear Tom, a quick check reveals that we have a very large number (4,300+) files in the U-Boot tree have no SPDX license tags, or - even worse - no license information at all. I think this should be cleaned up. And I am aware that this would be a lot of effort, and there will be discussions

[U-Boot] Missing licenses in i.MX7 code

2017-08-17 Thread Stefano Babic
Hi Peng, there are two files for i.MX7 that were merged without any license information. Rather I have not seen this before. They are: arch/arm/mach-imx/mx7/psci-mx7.c arch/arm/mach-imx/mx7/psci.S and they were added with: commit 7de4703691498e18c58f375d724818e4d0db6223 Author: Peng Fan

Re: [U-Boot] spl: fix Makefile for NOR, XIP and YMODEM

2017-08-17 Thread Philipp Tomsich
> During the the conversion to $(SPL_TPL_), the SPL_ fragment was > left over for the NOR, XIP and YMODEM boot methods in SPL, making > these unselectable. > > This commit fixes this by dropping the spurious 'SPL_' fragment > from each line. > > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [PATCH] rockchip: rk3288: update the mmc number for fastboot

2017-08-17 Thread Dr. Philipp Tomsich
> On 17 Aug 2017, at 09:51, Kever Yang wrote: > > Hi Philipp, > > > On 07/27/2017 09:09 PM, Dr. Philipp Tomsich wrote: >>> On 27 Jul 2017, at 15:04, Kever Yang wrote: >>> >>> Philipp, >>> >>> >>> On 07/27/2017 08:16 PM, Dr. Philipp

Re: [U-Boot] rk3288: 32KB SPL size restriction

2017-08-17 Thread Dr. Philipp Tomsich
Jagan, > On 17 Aug 2017, at 08:39, Kever Yang wrote: > > Hi Jagan, > > > On 08/10/2017 05:07 PM, Jagan Teki wrote: >> Hi Simon/Philipp or any, >> >> I believe rk3288 has 20KB BootRom and 100KB internal SRAM and current >> u-boot can archive the maximum size of

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Jaehoon Chung
On 08/09/2017 04:21 PM, Bin Meng wrote: > This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of > individual vendor id & device id pair to support generic PCI SD host > controller. > > Signed-off-by: Bin Meng > --- > > drivers/mmc/pci_mmc.c | 7 +-- > 1

Re: [U-Boot] mmc: Support generic PCI SD host controller

2017-08-17 Thread Jaehoon Chung
On 08/09/2017 04:21 PM, Bin Meng wrote: > This changes pci_mmc driver to use PCI_CLASS_SYSTEM_SDHCI instead of > individual vendor id & device id pair to support generic PCI SD host > controller. > > Signed-off-by: Bin Meng Sorry for late. Applied to u-boot-mmc. Thanks!

[U-Boot] [PATCH] imx: mx7: psci: add copyright and license

2017-08-17 Thread Peng Fan
Add copyright and license header. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/mach-imx/mx7/psci-mx7.c | 7 +++ arch/arm/mach-imx/mx7/psci.S | 7 +++ 2 files changed, 14 insertions(+) diff --git a/arch/arm/mach-imx/mx7/psci-mx7.c

Re: [U-Boot] [PATCH] ARM: mvebu: set correct mem_size for db-88f6820-amc

2017-08-17 Thread Stefan Roese
On 17.08.2017 12:27, Chris Packham wrote: The db-88f6820-amc has four chips with 2Gb density giving a total of 1GB DRAM. Update the board_topology_map to reflect the correct configuration. Signed-off-by: Chris Packham --- When I setup this board I misinterpreted 2

Re: [U-Boot] [PATCH 1/5] mmc: uniphier-sd: Factor out register IO

2017-08-17 Thread Marek Vasut
On 08/17/2017 09:01 AM, Masahiro Yamada wrote: > 2017-08-17 15:39 GMT+09:00 Jaehoon Chung : >> On 08/13/2017 01:55 AM, Marek Vasut wrote: >>> On 08/10/2017 09:49 AM, Masahiro Yamada wrote: Hi. 2017-08-07 17:30 GMT+09:00 Marek Vasut

Re: [U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Wolfgang Denk
Dear Stefano In message <1502957972-18085-1-git-send-email-sba...@denx.de> you wrote: > Some files for i.MX do not yet have the SPDX ID to reference the correct > license. Be careful to use identical mappings! > --- a/arch/arm/include/asm/arch-mx35/mmc_host_def.h > +++

Re: [U-Boot] [PATCH 1/1] efi_loader: allow return value in EFI_CALL

2017-08-17 Thread Rob Clark
On Tue, Aug 15, 2017 at 3:42 PM, Heinrich Schuchardt wrote: > Macro EFI_CALL was introduced to call an UEFI function. > Unfortunately is did not support return values. > Most UEFI functions have a return value. > > So let's rename EFI_CALL to EFI_CALL_VOID and introduce a >

Re: [U-Boot] [PATCH] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
On 17/08/2017 12:56, Wolfgang Denk wrote: > Dear Stefano > > In message <1502957972-18085-1-git-send-email-sba...@denx.de> you wrote: >> Some files for i.MX do not yet have the SPDX ID to reference the correct >> license. > > Be careful to use identical mappings! > >> ---

[U-Boot] [PATCH V2] imx: fix licensing in i.MX files

2017-08-17 Thread Stefano Babic
Some files for i.MX do not yet have the SPDX ID to reference the correct license. Signed-off-by: Stefano Babic --- Changes: - mmc_host_def.h is GplV2 and not GPLv2 or later (W. Denk) arch/arm/include/asm/arch-mx35/mmc_host_def.h | 18 +-

Re: [U-Boot] [PATCH V2] imx: fix licensing in i.MX files

2017-08-17 Thread Wolfgang Denk
Dear Stefano, In message <1502970920-25167-1-git-send-email-sba...@denx.de> you wrote: > Some files for i.MX do not yet have the SPDX ID to reference the correct > license. > > Signed-off-by: Stefano Babic > --- > > Changes: > - mmc_host_def.h is GplV2 and not GPLv2 or later

[U-Boot] [PATCH] doc: license: Add license header to the README.dfutftp file

2017-08-17 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- doc/README.dfutftp | 8 1 file changed, 8 insertions(+) diff --git a/doc/README.dfutftp b/doc/README.dfutftp index 0257f0d..66901e1 100644 --- a/doc/README.dfutftp +++ b/doc/README.dfutftp @@ -1,3 +1,11 @@ +# +# Copyright (C) 2015 +#

Re: [U-Boot] [PATCH] fb_mmc.c: Correct blk_dread() return value checks

2017-08-17 Thread Łukasz Majewski
On 08/15/2017 03:00 AM, Tom Rini wrote: The function blk_dread will return -ENOSYS on failure or on success the number of blocks read, which must be the number asked to read (otherwise it failed somewhere). Correct this check. Cc: Lukasz Majewski Signed-off-by: Tom Rini

[U-Boot] Pull request: u-boot-coldfire/master

2017-08-17 Thread Angelo Dureghello
The following changes since commit 336aee50cf55d4d98ddf3a4412c18286e7f0a4c0: Merge git://git.denx.de/u-boot-tegra (2017-08-16 18:12:58 -0400) are available in the git repository at: git://git.denx.de/u-boot-coldfire.git master for you to fetch changes up to

[U-Boot] [PATCH v4 2/3] armv8: ls1088ardb: Add support for LS1088ARDB platform

2017-08-17 Thread Ashish Kumar
LS1088A is an ARMv8 implementation. The LS1088ARDB is an evaluatoin platform that supports the LS1088A family SoCs. This patch add basic support of the platform. Signed-off-by: Alison Wang Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish

[U-Boot] [PATCH v4 1/3] armv8: ls1088a: Add NXP LS1088A SoC support

2017-08-17 Thread Ashish Kumar
The QorIQ LS1088A processor is built on the Layerscape architecture combining eight ARM A53 processor cores with advanced, high-performance datapath acceleration and networks, peripheral interfaces required for networking, wireless infrastructure, and general-purpose embedded applications.

Re: [U-Boot] [PATCH v2 00/40] dm: sata: Complete driver-model support for SATA

2017-08-17 Thread Jaehoon Chung
Hi Simon, On 08/17/2017 11:44 PM, Simon Glass wrote: > Hi Jaehoon, > > On 17 August 2017 at 01:40, Jaehoon Chung wrote: >> >> Hi Simon, >> >> On 07/30/2017 02:34 AM, Simon Glass wrote: >>> Note: This series is rebased to u-boot-mmc/master with a fix-up patch >>> for a

[U-Boot] [PATCH 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-08-17 Thread Kever Yang
Enable SPL_FIT_GENERATOR with path for it. With this patch you can get u-boot.itb for rk3399-evb with: > make u-boot.itb Signed-off-by: Kever Yang --- configs/firefly-rk3399_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [PATCH 3/3] rockchip: evb-rk3399: update document for board bring up

2017-08-17 Thread Kever Yang
Since we support ATF in SPL and add script for it, let's make the document up to date. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/README | 79 1 file changed, 63 insertions(+), 16 deletions(-) diff --git

Re: [U-Boot] [PATCH v2 3/7] stm32: stm32f7: add spl build support

2017-08-17 Thread Bo Shen
Hi Vikas, Try to remove this magic (press 'c' on the keyboard when at the boot time), I'd suggest to add a follow-up patch to move all the selected SPL related configuration from "arch/arm/mach-stm32/Kconfig" under STM32F7 to default configuration file (stm32f746-disco_defconfig). Then if

[U-Boot] [PATCH 1/3] rockchip: rk3399-evb: add script for atf fit

2017-08-17 Thread Kever Yang
Add a script to generate binaries from bl31.elf, and generate u-boot.its file for FIT image including u-boot, dtb and atf binaries. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3399/mk_fit_atf.sh | 110 1 file changed, 110

[U-Boot] [PATCH] armv8: fsl-lsch3: Make CCN-504 related code conditional

2017-08-17 Thread Ashish Kumar
LS2080 family has CCN-504 cache coherent interconnet. Other SoCs from LSCH3 may have differnt interconnect like LS1088. Signed-off-by: Ashish Kumar Signed-off-by: Prabhakar Kushwaha --- For clean git am this

[U-Boot] [PATCH] armv8: fsl-layerscape: Put SATA code under SATA configs

2017-08-17 Thread Ashish Kumar
It is not necessary for every SoC to have 2 SATA controller. So put SATA1, SATA2 code under respective defines. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 1 file changed,

[U-Boot] [PATCH v4 05/19] rockchip: rk3066: add rk3066 platform devicetree file

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
rk3066 peripherials include usb, i2c, pwm, gpio, sdio, sdmmc, emmc, spi, watchdog and uart Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v4 11/19] rockchip: mkimage: add support for rockchip nand boot image

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
The Rockchip boot ROM requires a particular file format for booting from NAND: * It starts with 512-byte, rc4 encoded header and is aligned to nand page size * Then first 2KB of first stage loader (tpl) aligned to nand page size * n empty pages * second 2KB of first stage loader (tpl) aligned

[U-Boot] [PATCH v4 17/19] rockchip: sysreset: deduplicate rk3066 and rk3188 sysreset drivers

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Sysreset drivers for rk3066 and rk3188 contain common elements which can be reused. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none .../include/asm/arch-rockchip/sysreset_common.h| 20 +++

[U-Boot] [PATCH v4 18/19] dfu: fix spl build

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
In current state dfu depends on cmd/mtdparts.c which isn't build in SPL. This patch resolves it by cutting out unwanted code in SPL build. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - removed unneded space

[U-Boot] [PATCH v4 16/19] armv7: support rk3066 early back to bootrom in vector.S

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Rockchip bootrom first reads 1KB data from nand at offset 0x10080C00 and executes it. Then waits for back to bootrom and loads another 32KB to sram which also executes. Sdram initialisation code needs to be in one of these two steps. Then bootloader loads another ~200KB of data at offset

Re: [U-Boot] [PATCH v3 3/3] config: move USB_FUNCTION_MASS_STORAGE

2017-08-17 Thread Łukasz Majewski
Hi Philipp, On 26 July 2017 at 05:22, Philipp Tomsich wrote: With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig. Signed-off-by: Philipp Tomsich

[U-Boot] [PATCH v4 04/19] rockchip: rk3066: add clock driver for rk3066 soc

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add clock driver for rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - moved clk init to tpl Changes since v2: - none Changes since v3: - none

[U-Boot] [PATCH v4 07/19] rockchip: rk3066: add mk808 board files

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
mk808 is a tv stick with two usb ports, micro sd card slot, hdmi and nand onboard. Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich Reviewed-by: Philipp Tomsich

[U-Boot] [PATCH v4 12/19] rockchip: board: rk3066: convert board_usb_init to live tree functions

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Use live tree functions to fill dwc2_plat_otg_data structure in board_usb_init. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none arch/arm/mach-rockchip/rk3066-board.c | 52 +--

Re: [U-Boot] [PATCH] usb: ehci: Convert CONFIG_USB_EHCI_PCI to Kconfig

2017-08-17 Thread Bin Meng
Hi Marek, On Wed, Aug 9, 2017 at 4:49 PM, Marek Vasut wrote: > On 08/09/2017 09:21 AM, Bin Meng wrote: >> This converts CONFIG_USB_EHCI_PCI to a Kconfig option, and updates >> all boards that use it. >> >> Signed-off-by: Bin Meng > > Applied, thanks > Will

[U-Boot] [PATCH v4 02/19] rockchip: rk3066: add rk3066 pinctrl driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add driver supporting pin multiplexing on rk3066 platform. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks - added nand support Changes since v2: - none Changes since v3: -

[U-Boot] [PATCH v4 08/19] rockchip: rk3066: add sdram driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add rockchip rk3066 sdram driver Signed-off-by: Paweł Jarosz Acked-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - use common rockchip_sdram_size - moved sdram init from sdram_init.c Changes

[U-Boot] [PATCH v4 10/19] mtd: nand: add the rockchip nand controller driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add basic Rockchip nand driver. Driver in current state has 16, 24, 40, 60 per 1024B BCH/ECC ability and 8 bit asynchronous flash interface support. Other features will come later. Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - fixed

Re: [U-Boot] [PATCH v2 00/40] dm: sata: Complete driver-model support for SATA

2017-08-17 Thread Simon Glass
Hi Jaehoon, On 17 August 2017 at 01:40, Jaehoon Chung wrote: > > Hi Simon, > > On 07/30/2017 02:34 AM, Simon Glass wrote: > > Note: This series is rebased to u-boot-mmc/master with a fix-up patch > > for a broken patch there. > > > > This series completes the conversion

[U-Boot] [PATCH v4 01/19] rockchip: rk3066: add grf header file

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
grf is needed by various drivers for rk3066 soc. Signed-off-by: Paweł Jarosz Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks Changes since v2: - none Changes since v3: - none

[U-Boot] [PATCH v4 03/19] rockchip: rk3066: add sysreset driver

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Add support for system reset for rk3066 socs. Signed-off-by: Paweł Jarosz Reviewed-by: Simon Glass Acked-by: Philipp Tomsich --- Changes since v1: - updated to shifted masks Changes since v2: - none Changes

[U-Boot] [PATCH v4 14/19] mmc: dw_mmc: support transfer mode autodetection

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
dw_mmc supports two transfer modes in u-boot: idma and fifo. This patch adds autodetection of transfer mode and eliminates setting this in host config struct Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none

[U-Boot] [PATCH v4 09/19] mtd: nand: add support for the Sandisk SDTNQGAMA chip

2017-08-17 Thread =?UTF-8?q?Pawe=C5=82=20Jarosz?=
Sandisk SDTNQGAMA is a 8GB size, 3.3V 8 bit chip with 16KB page size, 1KB write size and 40 bit ecc support Signed-off-by: Paweł Jarosz --- Changes since v1: - none Changes since v2: - none Changes since v3: - none drivers/mtd/nand/nand_ids.c | 3 +++ 1 file

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Marek Vasut
On 08/17/2017 03:49 PM, Stefano Babic wrote: > On 16/08/2017 20:00, Stefan Agner wrote: >> From: Stefan Agner >> >> Add SDP (Serial Downloader Protocol) implementation for U-Boot. The >> protocol is used in NXP SoC's boot ROM and allows to download program >> images.

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Stefano Babic
On 17/08/2017 15:54, Marek Vasut wrote: > On 08/17/2017 03:49 PM, Stefano Babic wrote: >> On 16/08/2017 20:00, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Add SDP (Serial Downloader Protocol) implementation for U-Boot. The >>> protocol is used in NXP SoC's boot

Re: [U-Boot] [PATCH v2 2/8] usb: gadget: add SDP driver

2017-08-17 Thread Łukasz Majewski
On 08/17/2017 03:54 PM, Marek Vasut wrote: On 08/17/2017 03:49 PM, Stefano Babic wrote: On 16/08/2017 20:00, Stefan Agner wrote: From: Stefan Agner Add SDP (Serial Downloader Protocol) implementation for U-Boot. The protocol is used in NXP SoC's boot ROM and allows

Re: [U-Boot] [PATCH 1/1] efi_loader: allow return value in EFI_CALL

2017-08-17 Thread Heinrich Schuchardt
On 08/17/2017 01:49 PM, Rob Clark wrote: > On Tue, Aug 15, 2017 at 3:42 PM, Heinrich Schuchardt > wrote: >> Macro EFI_CALL was introduced to call an UEFI function. >> Unfortunately is did not support return values. >> Most UEFI functions have a return value. >> >> So let's

[U-Boot] MUSB driver vs MUSB-NEW Confusion/Questions

2017-08-17 Thread Adam Ford
It seems like we have two similar drivers for the same MUSB device. Looking through the code, it appears as if mostly OMAP3 related boards use the older MUSB driver, but other boards use the MUSB-NEW driver which lead me to a few questions. What is the differrence between them? Is there a reason

[U-Boot] [PATCH 1/1] efi_loader: do not cast return value in EFI_EXIT

2017-08-17 Thread Heinrich Schuchardt
UEFI API functions have different return types. Some return a value of type EFI_STATUS other don't. We therefore should not cast the return value of EFI_EXIT to another type than the expression passed to EFI_EXIT. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h

  1   2   >