Re: [U-Boot] [PATCH v2] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-07-31 Thread Michal Simek
On 1.8.2016 03:03, Simon Glass wrote: > Hi Michal, > > On 28 July 2016 at 01:08, Michal Simek wrote: >> On 28.7.2016 04:24, Simon Glass wrote: >>> Hi Michal, >>> >>> On 24 July 2016 at 20:07, Simon Glass wrote: On 15 July 2016 at 01:35, Michal Simek wrote: > Add new Kconfig option to d

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2016-07-31 Thread Ziyuan Xu
Hi Jaehoon, On 2016年08月01日 11:35, Jaehoon Chung wrote: Update the mmc maintainer from Pantelis to me. Signed-off-by: Jaehoon Chung --- Congratulations!:-) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 02/13] dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()

2016-07-31 Thread Michal Simek
On 1.8.2016 03:03, Simon Glass wrote: > Hi Michal, > > On 29 July 2016 at 05:29, Michal Simek wrote: >> Hi Simon, >> >> >> 2016-07-17 22:59 GMT+02:00 Simon Glass : >>> >>> On 5 July 2016 at 17:10, Simon Glass wrote: This new function is more convenient for callers, and handles pre-relo

Re: [U-Boot] [PATCH 3/3] omap3: Drop omap3_evm_quick_* targets

2016-07-31 Thread Lokesh Vutla
On Thursday 28 July 2016 07:59 AM, Tom Rini wrote: > These config targets were added well before the Kconfig migration began > as a way to demonstrate how to make these platforms work with cut down > features. At this point in time they no longer serve a good purpose so > remove them. > > Signe

Re: [U-Boot] [PATCH 1/3] omap3: Move to select SUPPORT_SPL for all

2016-07-31 Thread Lokesh Vutla
On Thursday 28 July 2016 07:59 AM, Tom Rini wrote: > In reality all omap3 platforms support SPL so move the select for this > up a level. > > Signed-off-by: Tom Rini Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > arch/arm/Kconfig | 1 + > arch/arm/cpu/armv7/o

Re: [U-Boot] [PATCH 2/3] omap3, omap4: Enable USE_TINY_PRINTF for all

2016-07-31 Thread Lokesh Vutla
On Thursday 28 July 2016 07:59 AM, Tom Rini wrote: > In the case of omap3 we have a number of platforms that are close to > exceeding SRAM limits, depending on compiler. Move to USE_TINY_PRINTF > to give them more room. OMAP4 will soon enough be in a similar place, > so enable that now. > > Si

Re: [U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2016-07-31 Thread Minkyu Kang
Hi Jaehoon, On 01/08/16 12:35, Jaehoon Chung wrote: > Update the mmc maintainer from Pantelis to me. > > Signed-off-by: Jaehoon Chung > --- > MAINTAINERS| 2 +- > doc/git-mailrc | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAINERS > index

[U-Boot] [PATCH v2 3/3] zynqmp: Remove unnnecessary board config file for dc4

2016-07-31 Thread Siva Durga Prasad Paladugu
Remove unnecessary board specific config file for DC4 board. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - None --- configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 1 - include/configs/xilinx_zynqmp_zc1751_xm018_dc4.h | 15 --- 2 files changed, 16 deletions(-)

[U-Boot] [PATCH v2 2/3] zynqmp: Move config IDENT_STRING to defconfig

2016-07-31 Thread Siva Durga Prasad Paladugu
Move config IDENT_STRING to defconfig for all zynqmp boards. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Appended revB in CONFIG_IDENT_ENTRY definition for zcu102 RevB board --- configs/xilinx_zynqmp_zc1751_xm015_dc1_defconfig | 1 + configs/xilinx_zynqmp_zc1751_xm016_dc2_d

[U-Boot] [PATCH v2 1/3] Kconfig: Added new kconfig entry for IDENT_STRING

2016-07-31 Thread Siva Durga Prasad Paladugu
Added new Kconfig entry for config IDENT_STRING. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Updated patch description to be more clear - Updated help for newly added kconfig entry --- common/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common/Kconfig b/c

Re: [U-Boot] [PATCH 4/7] i2c: add Tegra186 BPMP driver

2016-07-31 Thread Heiko Schocher
Hello Stephen, Am 29.07.2016 um 21:15 schrieb Stephen Warren: From: Stephen Warren On Tegra186, some I2C controllers are directly controlled by the main CPU, whereas others are controlled by the BPMP, and can only be accessed by the main CPU via IPC requests to the BPMP. This driver covers the

Re: [U-Boot] [PATCH 3/7] dt-bindings: add Tegra186 BPMP I2C binding

2016-07-31 Thread Heiko Schocher
Hello Stephen, Am 29.07.2016 um 21:15 schrieb Stephen Warren: From: Stephen Warren In Tegra186, the BPMP (Boot and Power Management Processor) owns certain HW devices, such as the I2C controller for the power management I2C bus. Software running on other CPUs must perform IPC to the BPMP in or

Re: [U-Boot] [PATCH 2/4] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-07-31 Thread Vignesh R
Hi, On Monday 01 August 2016 06:31 AM, Simon Glass wrote: [...] +/* PCF Support */ +#ifndef CONFIG_SPL_BUILD +#define CONFIG_PCF8575_GPIO +#endif >>> >>> We need to invert the logic and undef on SPL, and pick this up normally >>> via Kconfig. >>> >> >> I tried that initially bu

Re: [U-Boot] [PATCH 2/3] arm/PSCI: Fixed the backward compatiblity issue

2016-07-31 Thread Zhiqiang Hou
Hi York, Thanks for your comments! > -Original Message- > From: york sun > Sent: 2016年7月29日 23:37 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; hdego...@redhat.com; w...@csie.org; Hongbo > Zhang ; b.galv...@gmail.com > Subject: Re: [PATCH 2/3] arm/PSCI: Fixed the

[U-Boot] [PATCH v3 2/2] mmc: rockchip_sdhci: add clock init

2016-07-31 Thread Kever Yang
Initialize the maximum clock with CMU, before setting the rockchip sdhci host controller. Signed-off-by: Kever Yang Reviewed-by: Jaehoon Chung --- Changes in v3: - update commit message Changes in v2: - update base on comments from Jaehoon Chung drivers/mmc/rockchip_sdhci.c | 11 ++-

[U-Boot] [PATCH] MAINTAINERS, git-mailrc: Update the mmc maintainer

2016-07-31 Thread Jaehoon Chung
Update the mmc maintainer from Pantelis to me. Signed-off-by: Jaehoon Chung --- MAINTAINERS| 2 +- doc/git-mailrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 1225ce2..8905f88 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -299,7 +29

[U-Boot] [PATCH v3 0/2] rk3399: add soc basic driver support

2016-07-31 Thread Kever Yang
This patchset add basic driver like clock, grf, sysreset for rk3399, and enable clock init in emmc driver. This patchset has tested on rk3399 evb. Changes in v3: - use EINVAL instead of -1 for return value. - update commit message Changes in v2: - include '_SHIFT_' in '_MASK' MACRO - fix commen

[U-Boot] [PATCH v3 1/2] rk3399: add basic soc driver

2016-07-31 Thread Kever Yang
This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: - use EINVAL instead of -1 for return value. Changes in v2: - include '_SHIFT_' in '_MASK' MACRO - fix c

Re: [U-Boot] [PATCH v2 1/2] rk3399: add basic soc driver

2016-07-31 Thread Kever Yang
Hi Jaehoon Chung, On 07/29/2016 04:00 PM, Jaehoon Chung wrote: Hi Kever, On 07/29/2016 11:35 AM, Kever Yang wrote: This patch add driver for: - clock driver including set_rate for cpu, mmc, vop, I2C. - sysreset driver - grf syscon driver Signed-off-by: Kever Yang I don't have a knowledge fo

Re: [U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-07-31 Thread Ziyuan Xu
Hi Simon, On 2016年08月01日 10:21, Simon Glass wrote: Hi Ziyuan, On 31 July 2016 at 20:13, Ziyuan Xu wrote: Hi Simon, On 2016年08月01日 09:51, Simon Glass wrote: Hi Sandy, On 28 July 2016 at 07:49, Sandy Patterson wrote: Add an extra byte so that this data is not byteswapped. Signed-off-by:

Re: [U-Boot] [PATCH 0/3] Some Kconfig move/fixups

2016-07-31 Thread Masahiro Yamada
2016-08-01 2:21 GMT+09:00 Tom Rini : > On Mon, Aug 01, 2016 at 01:24:21AM +0900, Masahiro Yamada wrote: >> Hi Tom, >> >> >> 2016-07-25 23:55 GMT+09:00 Tom Rini : >> > On Mon, Jul 25, 2016 at 10:06:05PM +0900, Masahiro Yamada wrote: >> > >> >> >> >> Masahiro Yamada (3): >> >> cmd: bootz: make CMD_

Re: [U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-07-31 Thread Simon Glass
Hi Ziyuan, On 31 July 2016 at 20:13, Ziyuan Xu wrote: > Hi Simon, > > > On 2016年08月01日 09:51, Simon Glass wrote: >> >> Hi Sandy, >> >> On 28 July 2016 at 07:49, Sandy Patterson >> wrote: >>> >>> Add an extra byte so that this data is not byteswapped. >>> >>> Signed-off-by: Sandy Patterson >>> -

Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: transfer proper bytes to FIFO

2016-07-31 Thread Simon Glass
On 27 July 2016 at 20:25, Ziyuan Xu wrote: > The former implement, dw_mmc will push and pop the redundant data to > FIFO, we should transfer it according to the real size. > > Signed-off-by: Ziyuan Xu > --- > > drivers/mmc/dw_mmc.c | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Gl

Re: [U-Boot] [PATCH] mmc: s5p_sdhci: support the Driver model for Exynos

2016-07-31 Thread Simon Glass
On 21 July 2016 at 06:30, Jaehoon Chung wrote: > This patch support the driver model for s5p_sdhci controller. > To support the legacy model, maintained the existing code. > > Note: If use the Driver Model, it needs to modify the device-tree. > In future, will update the Device-tree and enable the

Re: [U-Boot] [PATCH v3] mmc-uclass: correct the device number

2016-07-31 Thread Simon Glass
Hi Jaehoon, On 21 July 2016 at 22:14, Jaehoon Chung wrote: > Hi Simon, > > On 07/22/2016 12:21 PM, Simon Glass wrote: >> Hi Kever, >> >> On 19 July 2016 at 07:28, Kever Yang wrote: >>> Not like the mmc-legacy which the devnum starts from 1, it starts from 0 >>> in mmc-uclass, so the device numbe

Re: [U-Boot] [PATCH 2/2] mmc: dw_mmc: fix data starvation by host timeout under FIFO mode

2016-07-31 Thread Simon Glass
On 27 July 2016 at 20:25, Ziyuan Xu wrote: > This patch fixes data starvation by host timeout(HTO) error interrupt > which occurred under FIFO mode transfer on rk3036 board. > > The former implement, the actual bytes were transmitted may be less than > should be. The size will still subtract value

Re: [U-Boot] [PATCH v2 08/10] dm: syscon: Provide a generic syscon driver

2016-07-31 Thread Simon Glass
Hi Paul, On 27 July 2016 at 08:26, Paul Burton wrote: > Provide a trivial syscon driver matching the generic "syscon" compatible > string, allowing for simple system controllers to be used without a > custom driver just as in Linux. > > Signed-off-by: Paul Burton > > --- > > Changes in v2: > - N

Re: [U-Boot] [PATCH 8/9] mmc: tegra: port to standard clock/reset APIs

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > Tegra186 supports the new standard clock and reset APIs. Older Tegra SoCs > still use custom APIs. Enhance the Tegra MMC driver so that it can operate > with either set of APIs. > > Signed-off-by: Stephen Warr

Re: [U-Boot] [PATCH v2 1/2] rk3399: add basic soc driver

2016-07-31 Thread Simon Glass
Hi, On 29 July 2016 at 02:00, Jaehoon Chung wrote: > Hi Kever, > > On 07/29/2016 11:35 AM, Kever Yang wrote: >> This patch add driver for: >> - clock driver including set_rate for cpu, mmc, vop, I2C. >> - sysreset driver >> - grf syscon driver >> >> Signed-off-by: Kever Yang > > I don't have a k

Re: [U-Boot] [PATCH 2/2] mmc: sdhci: remove the unnecessary argumetns for sdhci_setup_cfg

2016-07-31 Thread Simon Glass
On 26 July 2016 at 04:06, Jaehoon Chung wrote: > Some arguments don't need to pass to sdhci_setup_cfg. > Generic variable can be used in sdhci_setup_cfg, and some arguments are > already included in sdhci_host struct. > > It's enough that just pass the board specific things to sdhci_setup_cfg(). >

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-07-31 Thread Simon Glass
On 26 July 2016 at 04:06, Jaehoon Chung wrote: > buswidth isn't used anywhere in sdhci_setup_cfg. > > Signed-off-by: Jaehoon Chung > --- > drivers/mmc/msm_sdhci.c | 4 ++-- > drivers/mmc/sdhci.c | 4 ++-- > drivers/mmc/zynq_sdhci.c | 2 +- > include/sdhci.h | 3 +-- > 4 files chan

Re: [U-Boot] buildman error?

2016-07-31 Thread Simon Glass
Hi Bin, On 31 July 2016 at 19:08, Bin Meng wrote: > Hi Simon, > > On Mon, Aug 1, 2016 at 9:04 AM, Simon Glass wrote: >> Hi Bin, >> >> On 31 July 2016 at 18:56, Bin Meng wrote: >>> Hi Simon, >>> >>> With the latest buildman on the master branch, when I build x86, I got: >>> >>> boards.cfg is up

Re: [U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-07-31 Thread Ziyuan Xu
Hi Simon, On 2016年08月01日 09:51, Simon Glass wrote: Hi Sandy, On 28 July 2016 at 07:49, Sandy Patterson wrote: Add an extra byte so that this data is not byteswapped. Signed-off-by: Sandy Patterson --- arch/arm/dts/rk3288-rock2-square.dts | 2 +- arch/arm/dts/rk3288-veyron.dtsi | 2

Re: [U-Boot] [PATCH] rockchip: rockchip, sdram-channel 0xff fix remaining dts

2016-07-31 Thread Simon Glass
Hi Sandy, On 28 July 2016 at 07:49, Sandy Patterson wrote: > Add an extra byte so that this data is not byteswapped. > > Signed-off-by: Sandy Patterson > --- > > arch/arm/dts/rk3288-rock2-square.dts | 2 +- > arch/arm/dts/rk3288-veyron.dtsi | 2 +- > 2 files changed, 2 insertions(+), 2 del

Re: [U-Boot] [PATCH v3] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-07-31 Thread Simon Glass
On 31 July 2016 at 19:03, Simon Glass wrote: > > Acked-by: Simon Glass Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/7] cmd/bdinfo: extract print_std_bdinfo

2016-07-31 Thread Max Filippov
Tom, Simon, On Mon, Aug 1, 2016 at 4:03 AM, Simon Glass wrote: > On 27 July 2016 at 18:57, Max Filippov wrote: >> print_std_bdinfo outputs typical set of board information entries: >> boot params location, memory and flash addresses and sizes, network >> interfaces information and configured ser

Re: [U-Boot] buildman error?

2016-07-31 Thread Bin Meng
Hi Simon, On Mon, Aug 1, 2016 at 9:04 AM, Simon Glass wrote: > Hi Bin, > > On 31 July 2016 at 18:56, Bin Meng wrote: >> Hi Simon, >> >> With the latest buildman on the master branch, when I build x86, I got: >> >> boards.cfg is up to date. Nothing to do. >> Building 8 commits for 14 boards (14 t

Re: [U-Boot] [PATCH 7/7] ARM: tegra: enable PCIe controller on p2771-0000

2016-07-31 Thread Simon Glass
Hi Stephen, On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > p2771- has a couple of PCIe ports; one physically x4 desktop PCI > connector (which may run at x2 electrically, depending on the board > version and configuration) and a x1 connection to the M.2 slot (whic

Re: [U-Boot] [PATCH] arm: re-implement proper ISB instruction for ARMv7-A

2016-07-31 Thread Ziyuan Xu
On 2016年07月31日 22:27, Tom Rini wrote: On Sun, Jul 31, 2016 at 11:59:19AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 09:12, Tom Rini wrote: On Fri, Jul 29, 2016 at 09:06:29AM +0800, Ziyuan Xu wrote: Hi Tom, On 2016年07月29日 08:34, Tom Rini wrote: On Fri, Jul 29, 2016 at 07:34:09AM +0800

Re: [U-Boot] buildman error?

2016-07-31 Thread Simon Glass
Hi Bin, On 31 July 2016 at 18:56, Bin Meng wrote: > Hi Simon, > > With the latest buildman on the master branch, when I build x86, I got: > > boards.cfg is up to date. Nothing to do. > Building 8 commits for 14 boards (14 threads, 6 jobs per thread) > Traceback (most recent call last): > File "

Re: [U-Boot] [PATCH 6/7] ARM: tegra: enable SD card on p2771-0000

2016-07-31 Thread Simon Glass
Hi Stephen, On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > Now that clock and reset drivers exist for Tegra186, we can enable the SD > card controller. Now that a BPMP I2C driver exists for Tegra186, we can > communicate with the PMIC to enable power to the SD card. H

Re: [U-Boot] [PATCH 5/7] ARM: tegra: add BPMP to Tegra186 device tree

2016-07-31 Thread Simon Glass
On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > This allows the BPMP I2C device to be instantiated, which makes it > available to other drivers and the user. > > Signed-off-by: Stephen Warren > --- > arch/arm/dts/tegra186.dtsi | 9 + > 1 file changed, 9 insert

Re: [U-Boot] [PATCH 3/7] dt-bindings: add Tegra186 BPMP I2C binding

2016-07-31 Thread Simon Glass
On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > In Tegra186, the BPMP (Boot and Power Management Processor) owns certain > HW devices, such as the I2C controller for the power management I2C bus. > Software running on other CPUs must perform IPC to the BPMP in order to

Re: [U-Boot] [PATCH 4/7] i2c: add Tegra186 BPMP driver

2016-07-31 Thread Simon Glass
On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > On Tegra186, some I2C controllers are directly controlled by the main CPU, > whereas others are controlled by the BPMP, and can only be accessed by the > main CPU via IPC requests to the BPMP. This driver covers the latter

Re: [U-Boot] [PATCH 2/7] misc: Tegra BPMP: support child node devices

2016-07-31 Thread Simon Glass
Hi Stephen, On 29 July 2016 at 13:15, Stephen Warren wrote: > From: Stephen Warren > > The BPMP bindings allow devices to be represented as child nodes of the > BPMP node. This requires the driver to trigger scanning of its node for > those child nodes. > > Signed-off-by: Stephen Warren > --- >

Re: [U-Boot] [PATCH] ARM64: zynqmp: Add u-boot, dm-pre-reloc to clk nodes

2016-07-31 Thread Simon Glass
On 29 July 2016 at 05:31, Michal Simek wrote: > Serial driver is getting clk information via DT that's why > also clk node needs to have this flag. > > Different behavior was introduced by: > "dm: Use dm_scan_fdt_dev() directly where possible" > (sha1: 911954859d6dece49c3e4835faea004cfe392506) > w

Re: [U-Boot] [PATCH v2 07/22] clock-uclass: allow disabling a peripheral clock

2016-07-31 Thread Simon Glass
Hi Benjamin, On 29 July 2016 at 12:34, Benjamin Tietz wrote: > Hello Stephen, > > On Fri, Jul 29, 2016 at 12:02:02PM -0600, Stephen Warren wrote: >> On 07/29/2016 11:26 AM, Benjamin Tietz wrote: >> >Hello Stephen, > > [snip] > >> >>>Using a special high number looks unintuitive. And often result

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-31 Thread Simon Glass
On 28 July 2016 at 21:37, Heiko Schocher wrote: > Hello Vignesh, > > added Simon to cc... > > Am 28.07.2016 um 07:54 schrieb Vignesh R: >> >> >> >> On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: >>> >>> Hello Vignesh, >>> >>> Am 25.07.2016 um 12:56 schrieb Vignesh R: As I2C can

Re: [U-Boot] [PATCH v2 02/13] dm: Convert users from dm_scan_fdt_node() to dm_scan_fdt_dev()

2016-07-31 Thread Simon Glass
Hi Michal, On 29 July 2016 at 05:29, Michal Simek wrote: > Hi Simon, > > > 2016-07-17 22:59 GMT+02:00 Simon Glass : >> >> On 5 July 2016 at 17:10, Simon Glass wrote: >> > This new function is more convenient for callers, and handles >> > pre-relocation >> > situations automatically. >> > >> > Si

Re: [U-Boot] [PATCH v2 7/7] cmd/bdinfo: extract print_std_bdinfo

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_std_bdinfo outputs typical set of board information entries: > boot params location, memory and flash addresses and sizes, network > interfaces information and configured serial baud rate. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c

Re: [U-Boot] [PATCH v2 5/7] cmd/bdinfo: extract print_eth_ip_addr

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_eth_ip_addr outputs eth configurations for up to 6 interfaces and > configured IP address. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c | 113 > +++ > 1 file changed, 36 inserti

Re: [U-Boot] [PATCH v2 6/7] cmd/bdinfo: extract print_baudrate

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_baudrate outputs serial baud rate. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c | 39 +-- > 1 file changed, 25 insertions(+), 14 deletions(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH v2] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-07-31 Thread Simon Glass
Hi Michal, On 28 July 2016 at 01:08, Michal Simek wrote: > On 28.7.2016 04:24, Simon Glass wrote: >> Hi Michal, >> >> On 24 July 2016 at 20:07, Simon Glass wrote: >>> On 15 July 2016 at 01:35, Michal Simek wrote: Add new Kconfig option to disable arch_fixup_fdt() calls for cases where

Re: [U-Boot] [PATCH v2 2/7] cmd/bdinfo: extract print_bi_mem

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_bi_mem outputs memstart and memsize lines. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c | 42 ++ > 1 file changed, 26 insertions(+), 16 deletions(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH v2 4/7] cmd/bdinfo: extract print_bi_flash

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_bi_flash outputs flashstart, flashsize and flashoffset lines. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c | 54 +++--- > 1 file changed, 27 insertions(+), 27 deletions(-) Reviewed-by:

Re: [U-Boot] [PATCH v2 3/7] cmd/bdinfo: extract print_bi_dram

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_bi_dram outputs start address and size for each DRAM bank. > > Signed-off-by: Max Filippov > --- > Changes v1->v2: > - fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in > bd_t. > > cmd/bdinfo.c | 60 > +++-

Re: [U-Boot] [PATCH v2 1/7] cmd/bdinfo: extract print_bi_boot_params

2016-07-31 Thread Simon Glass
On 27 July 2016 at 18:57, Max Filippov wrote: > print_bi_boot_params outputs boot parameters structure location. > > Signed-off-by: Max Filippov > --- > cmd/bdinfo.c | 20 +--- > 1 file changed, 13 insertions(+), 7 deletions(-) Reviewed-by: Simon Glass _

Re: [U-Boot] [PATCH 4/5] ARM: tegra: add I2C controllers to Tegra186 DT

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:48, Stephen Warren wrote: > From: Bryan Wu > > Tegra186 has 8 I2C controllers including BPMP I2C. This patch adds the > other 7 generic controllers to Tegra186's DT. > > Signed-off-by: Bryan Wu > (swarren, fixed DT node sort order, tweak patch description) > Signed-off-by:

Re: [U-Boot] [PATCH 2/5] ARM: tegra: add PCIe controller to Tegra186 SoC DT

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:48, Stephen Warren wrote: > From: Stephen Warren > > The Tegra186 PCIe DT content is almost identical to previous chips, except > that the: > > - There are 3 ports instead of 2. > - Some physical addresses have moved. > - PHY programming is handled by firmware, so CCPLEX DTs

Re: [U-Boot] [PATCH 5/5] ARM: tegra: enable I2C buses for P2771-0000

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:48, Stephen Warren wrote: > From: Bryan Wu > > Enable I2C devices in DT and enable building tegra_i2c.c driver. > > Signed-off-by: Bryan Wu > (swarren, commit msg rework, fixed DT node sort order) > Signed-off-by: Stephen Warren > --- > arch/arm/dts/tegra186-p2771-.dt

Re: [U-Boot] [PATCH 3/5] i2c: tegra: add standardized clk/reset API support

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:48, Stephen Warren wrote: > From: Bryan Wu > > clk/reset API was tested on T186 platform and previous chip like > T210/T124 will still use the old APIs. > > Signed-off-by: Bryan Wu > (swarren, simplified some ifdefs, removed indent level inside an ifdef) > Sign

Re: [U-Boot] [PATCH 1/5] pci: tegra: port to standard clock/reset/pwr domain APIs

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:48, Stephen Warren wrote: > From: Stephen Warren > > Tegra186 supports the new standard clock, reset, and power domain APIs. > Older Tegra SoCs still use custom APIs. Enhance the Tegra PCIe driver so > that it can operate with either set of APIs. > > On Tegra186

Re: [U-Boot] [PATCH 7/9] power domain: add Tegra186 driver

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > In Tegra186, SoC power domains are manipulated using IPC requests to > the BPMP (Boot and Power Management Processor). This change implements a > driver that does that. > > Signed-off-by: Stephen Warren > ---

Re: [U-Boot] [PATCH 9/9] ARM: tegra: call tegra_board_init on Tegra186

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > Introduce tegra_board_init() and call it from board_init(). Tegra wil use > tegra_board_init() for board-specific initialization, and board_init() for > SoC-specific initialization. > > Signed-off-by: Stephen Warren > ---

Re: [U-Boot] [PATCH 4/9] misc: add Tegra BPMP driver

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > The Tegra BPMP (Boot and Power Management Processor) is a separate > auxiliary CPU embedded into Tegra to perform power management work, and > controls related features such as clocks, resets, power domains, P

Re: [U-Boot] [PATCH 6/9] reset: add Tegra186 reset driver

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > In Tegra186, on-SoC reset signals are manipulated using IPC requests to > the BPMP (Boot and Power Management Processor). This change implements a > driver that does that. It is unconditionally selected by CONFIG_TEGRA186

Re: [U-Boot] [PATCH 5/9] clock: add Tegra186 clock driver

2016-07-31 Thread Simon Glass
Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > In Tegra186, on-SoC clocks are manipulated using IPC requests to the BPMP > (Boot and Power Management Processor). This change implements a driver > that does that. A tegra/ sub-directory is created to follow

Re: [U-Boot] [PATCH 3/9] ARM: tegra: add BPMP and dependencies to Tegra186 DT

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > This adds the DT content that's needed to allow board DTs to enable use > of BPMP, clocks, resets, GPIOs, eMMC, and SD cards. > > Signed-off-by: Stephen Warren > --- > arch/arm/dts/tegra186.dtsi | 55 > +

Re: [U-Boot] [PATCH v2 07/10] dm: regmap: Implement simple regmap_read & regmap_write

2016-07-31 Thread Simon Glass
On 27 July 2016 at 08:26, Paul Burton wrote: > The regmap_read & regmap_write functions were previously declared in > regmap.h but not implemented anywhere. The regmap implementation & > commit message of 6f98b7504f70 ("dm: Add support for register maps > (regmap)") indicate that only memory mappe

Re: [U-Boot] [PATCH 2/9] ARM: tegra: add BPMP DT bindings

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > The Tegra BPMP (Boot and Power Management Processor) is a separate > auxiliary CPU embedded into Tegra to perform power management work, and > controls related features such as clocks, resets, power domains, PMIC I2C > bus

Re: [U-Boot] [PATCH 1/9] ARM: tegra: adapt to latest HSP DT binding

2016-07-31 Thread Simon Glass
On 27 July 2016 at 15:24, Stephen Warren wrote: > From: Stephen Warren > > The DT binding for the Tegra186 HSP module apparently wasn't quite final > when I posted initial U-Boot support for it. Add the final DT binding doc > and adapt all code and DT files to match it. > > Signed-off-by: Stephen

Re: [U-Boot] [PATCH v2 09/10] clk: boston: Providea simple driver for Boston board clocks

2016-07-31 Thread Simon Glass
Hi Paul, On 27 July 2016 at 08:26, Paul Burton wrote: > Add a simple driver for the clocks provided by the MIPS Boston > development board. The system provides information about 2 clocks whose > rates are fixed by the bitfile flashed in the boards FPGA, and this > driver simply reads the rates of

Re: [U-Boot] [PATCH] serial: Enable checking UART is ready for console based on device tree

2016-07-31 Thread Simon Glass
Hi, On 26 July 2016 at 04:55, Tien Fong Chee wrote: > This patch would do checking on device tree to ensure the UART exist > in the system and ready for console before setting have_console to true. > This is required to avoid unexpected behavior such as hang during UART > initialization. > > Sign

Re: [U-Boot] [PATCH v2 00/10] MIPS Boston Development Board Support

2016-07-31 Thread Simon Glass
Hi Paul, On 27 July 2016 at 08:26, Paul Burton wrote: > This series introduces initial support for the MIPS Boston, and FPGA > based development board & successor to the older Malta board. Further > peripheral work is needed but this introduces the basics. > > This can be tested in a currently ou

Re: [U-Boot] [PATCH v2 01/10] serial: ns16550: Support clocks via phandle

2016-07-31 Thread Simon Glass
On 27 July 2016 at 08:26, Paul Burton wrote: > Previously ns16550 compatible UARTs probed via device tree have needed > their device tree nodes to contain a clock-frequency property. An > alternative to this commonly used with Linux is to reference a clock via > a phandle. This patch allows U-Boot

Re: [U-Boot] [PATCH PATCH v1] watchdog: Fix Watchdog Reset while in U-Boot Prompt

2016-07-31 Thread Simon Glass
Hi, On 13 July 2016 at 04:56, Andreas J. Reichel wrote: > Hardware: CM-FX6 Module from Compulab > > This patch fixes unwanted watchdog resets while the user enters > a command at the U-Boot prompt. > > As found on the CM-FX6 board from Compulab, when having enabled the > watchdog, a missing WATCH

Re: [U-Boot] [PATCH 03/14] drivers: i2c: uclass: parse dt parameters only when CONFIG_OF_CONTROL is enable

2016-07-31 Thread Simon Glass
Hi Mugunthan, On 25 July 2016 at 08:35, Mugunthan V N wrote: > On Friday 22 July 2016 07:46 PM, Simon Glass wrote: >> Hi Muganthan, >> >> On 22 July 2016 at 01:35, Mugunthan V N wrote: >>> On Friday 22 July 2016 08:51 AM, Simon Glass wrote: Hi Mugunthan, On 18 July 2016 at 03:40,

Re: [U-Boot] [PATCH 07/10] power: pmic: add Ricoh RN5T567 PMIC support

2016-07-31 Thread Simon Glass
On 26 July 2016 at 00:22, Stefan Agner wrote: > From: Stefan Agner > > Add device model enabled PMIC driver for Ricoh RN5T567 PMIC used > on Colibri iMX7. > > Signed-off-by: Stefan Agner > --- > > doc/device-tree-bindings/pmic/rn5t567.txt | 17 + > drivers/power/pmic/Kconfig

Re: [U-Boot] [PATCH] Add a power domain framework/uclass

2016-07-31 Thread Simon Glass
Hi Stephen, On 25 July 2016 at 10:50, Stephen Warren wrote: > On 07/24/2016 08:07 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 14 July 2016 at 22:17, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 13 July 2016 at 13:45, Stephen Warren wrote: From: Stephen Warren Man

Re: [U-Boot] [PATCH 02/10] pinctrl: imx: do not announce driver initialization

2016-07-31 Thread Simon Glass
On 26 July 2016 at 00:22, Stefan Agner wrote: > From: Stefan Agner > > It is not usual that drivers announce when they have been initialized. > use dev_dbg to announce device initialization. > > Signed-off-by: Stefan Agner > --- > > drivers/pinctrl/nxp/pinctrl-imx.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [PATCH 01/10] dm: imx: serial: support device tree

2016-07-31 Thread Simon Glass
On 26 July 2016 at 00:22, Stefan Agner wrote: > From: Stefan Agner > > Support instatiation through device tree. Also parse the fsl,dte-mode > property to determine whether DTE mode shall be used. > > Signed-off-by: Stefan Agner > --- > The kernel uses fsl,imx21-uart as "base" compatible, should

Re: [U-Boot] [PATCH 04/10] arm: dts: imx7: add basic i.MX 7/Colibri iMX7 device tree

2016-07-31 Thread Simon Glass
On 26 July 2016 at 00:22, Stefan Agner wrote: > From: Stefan Agner > > Add base device for NXP i.MX 7Solo/7Dual. The two SoC are very > similar and hence can share the same device tree for boot loaders > purpose. > > Signed-off-by: Stefan Agner > --- > > arch/arm/dts/Makefile | 2 + >

Re: [U-Boot] [PATCH 2/4] ARM: dra7xx_evm: Enable support for TI PCF8575

2016-07-31 Thread Simon Glass
Hi Vignesh, On 26 July 2016 at 00:33, Vignesh R wrote: > > > On Monday 25 July 2016 07:08 PM, Tom Rini wrote: >> On Mon, Jul 25, 2016 at 06:40:21PM +0530, Vignesh R wrote: >> >>> On DRA7, pcf chip present at address 0x21 on i2c1, is used to >>> switch between cpsw slave0 and slave1. Hence, enable

Re: [U-Boot] [PATCH 1/4] gpio: Add driver for TI PCF8575 I2C GPIO expander

2016-07-31 Thread Simon Glass
Hi, On 25 July 2016 at 07:10, Vignesh R wrote: > TI's PCF8575 is a 16-bit I2C GPIO expander.The device features a > 16-bit quasi-bidirectional I/O ports. Each quasi-bidirectional I/O can > be used as an input or output without the use of a data-direction > control signal. The I/Os should be high

Re: [U-Boot] [bug report]cmd: cache: output information

2016-07-31 Thread Simon Glass
Hi Ziyuan, On 25 July 2016 at 20:56, jk wrote: > Hi Simon, > > I'm not very familiar with other archs except, hence I'm not able to > implement it.:-( Well a patch for ARM would be useful. I'm sure other people could add to it later. Regards, Simon > > Regards, > Ziyuan Xu > > > On 2016年07月26日

Re: [U-Boot] [PATCH 24/27] dm: zynq: usb: Convert to CONFIG_DM_USB

2016-07-31 Thread Simon Glass
Hi Siva, On 3 July 2016 at 22:49, Siva Durga Prasad Paladugu wrote: > Hi Simon, > >> -Original Message- >> From: Siva Durga Prasad Paladugu >> Sent: Tuesday, June 28, 2016 11:38 AM >> To: 'Simon Glass' ; U-Boot Mailing List > b...@lists.denx.de> >> Cc: Marek Vasut ; 'Hans de Goede' >> Su

Re: [U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver

2016-07-31 Thread Simon Glass
Hi Stephen, On 18 July 2016 at 10:23, Stephen Warren wrote: > On 07/17/2016 03:23 PM, Simon Glass wrote: >> >> Some SoCs have a single clock device. Provide a way to find it given its >> driver name. This is handled by the linker so will fail if the name is not >> found, avoiding strange errors w

[U-Boot] buildman error?

2016-07-31 Thread Bin Meng
Hi Simon, With the latest buildman on the master branch, when I build x86, I got: boards.cfg is up to date. Nothing to do. Building 8 commits for 14 boards (14 threads, 6 jobs per thread) Traceback (most recent call last): File "./tools/buildman/buildman", line 64, in ret_code = control.Do

Re: [U-Boot] [PATCH v2] x86: som-db5800-som-6867: fix SERIRQ on reset

2016-07-31 Thread Bin Meng
On Thu, Jul 28, 2016 at 10:49 PM, George McCollister wrote: > Explicitly enable ILB_SERIRQ function 1 in > cfio_regs_pad_ilb_serirq_PCONF0. > > Pad configuration for SERIRQ is not set to enable the SERIRQ function > after a reset though strangely, it is on initial boot. > > Rebooting from Linux, r

Re: [U-Boot] [PATCH v3] misc: Add simple driver for some Nuvoton NCT6102D devices

2016-07-31 Thread Bin Meng
On Tue, Jul 19, 2016 at 1:45 PM, Stefan Roese wrote: > This simple driver provides some functions to control some of the > integrated devices. The watchdog is enabled per default. This driver > adds a function to disable the watchdog. Also the internal legacy > UART (io address 0x3f8/0x2f8) is ena

[U-Boot] [PATCH v2] rockchip: add support for rk3288 miniarm board

2016-07-31 Thread Ziyuan Xu
From: Xu Ziyuan Miniarm is a rockchip rk3288 based development board, which has lots of interface such as HDMI, USB, micro-SD card, Audio etc. Signed-off-by: Ziyuan Xu Acked-by: Simon Glass --- Changes in v2: - Sort soemthing in alpha order arch/arm/dts/Makefile |

Re: [U-Boot] [PATCH v2] x86: baytrail: Add SIO HS-UART clock setup

2016-07-31 Thread Bin Meng
On Tue, Jul 19, 2016 at 1:41 PM, Stefan Roese wrote: > To support the BayTrail internal SIO HS UART, the internal UART clock > needs to get configured. This patch adds support for this clock > configuration which will be done, if the PCI device(s) are found. > > Signed-off-by: Stefan Roese > Cc:

Re: [U-Boot] [PATCH] x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE

2016-07-31 Thread Bin Meng
On Tue, Jul 19, 2016 at 11:47 AM, Bin Meng wrote: > On Mon, Jul 18, 2016 at 6:53 PM, Stefan Roese wrote: >> Don't just define ARCH_DMA_MINALIGN but also CONFIG_SYS_CACHELINE_SIZE >> if its undefined. This is needed for the xhci driver to compile. > > nits: it's > > I can fix this when applying.

Re: [U-Boot] Please pull u-boot-rockchip

2016-07-31 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:28:50PM -0600, Simon Glass wrote: > Hi Tom, > > This includes two new boards and some refactoring/adjustments. > > > The following changes since commit 5c928d02044345b843202f23540c3765468c1d6f: > > m68k: code reformatting for all start.S files (2016-07-30 22:59:18

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

2016-07-31 Thread Tom Rini
On Sun, Jul 31, 2016 at 10:19:18PM +0200, Hans de Goede wrote: > Hi Tom, > > Here is another sunxi pull-req for v2016.09, > this adds some more fixes to the h3 ethernet driver > and re-enables it. There are also some other fixes. > > The following changes since commit 5c928d02044345b843202f23540

Re: [U-Boot] [PATCH] rockchip: add support for rk3288 miniarm board

2016-07-31 Thread Ziyuan Xu
Hi Simon, On 2016年08月01日 07:28, Simon Glass wrote: Hi Ziyuan, On 27 July 2016 at 21:43, Ziyuan Xu wrote: Miniarm is a rockchip rk3288 based development board, which has lots of interface such as HDMI, USB, micro-SD card, Audio etc. Signed-off-by: Ziyuan Xu --- arch/arm/dts/Makefile

[U-Boot] [PATCH 3/9] test: Check exit status in run_and_log_expect_exception()

2016-07-31 Thread Simon Glass
This check was missed. Add it and make the message more verbose. Signed-off-by: Simon Glass Reported-by: Tom Rini Fixes: 9e17b034 (test/py: Provide a way to check that a command fails) --- test/py/multiplexed_log.py | 2 ++ test/py/u_boot_utils.py| 4 +++- 2 files changed, 5 insertions(+),

[U-Boot] [PATCH 8/9] test: Add a function to restart U-Boot

2016-07-31 Thread Simon Glass
Add a proper function for this rather than using internal functions. Use it in the single call site. Also, do a restart at the end of the vboot test to reset to the normal device tree. Signed-off-by: Simon Glass Suggested-by: Stephen Warren --- test/py/tests/test_vboot.py| 5 +++-- test/p

[U-Boot] [PATCH 4/9] test: Fix typos in comments

2016-07-31 Thread Simon Glass
Fix some typos in various files introduced with the vboot test conversion. Reported-by: Teddy Reed Signed-off-by: Simon Glass --- test/py/tests/test_vboot.py| 12 ++-- test/py/u_boot_console_base.py | 4 ++-- test/py/u_boot_utils.py| 4 ++-- 3 files changed, 10 insertion

[U-Boot] [PATCH 6/9] test: Rename sha to sha_algo and pass it around

2016-07-31 Thread Simon Glass
Rename this argument and pass it to each function that needs it, instead of making it global. Suggested-by: Stephen Warren Suggested-by: Teddy Reed Signed-off-by: Simon Glass --- test/py/tests/test_vboot.py | 53 - 1 file changed, 28 insertions(+),

  1   2   >