Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-05 Thread Michal Simek
On 5.1.2016 18:30, Moritz Fischer wrote: > Hi Michal, > > On Tue, Jan 5, 2016 at 7:44 AM, Michal Simek wrote: > >> I have looked at these patches and I don't know why there is 100k >> limitation in cdns_i2c_set_bus_speed. DTS is using 400k in Linux without >> any problem. > > Well I could stati

Re: [U-Boot] [PATCH v2 6/9] microblaze: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Michal Simek
On 6.1.2016 02:49, Thomas Chou wrote: > Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that > there is no need to list all the dtb for different targets/boards > in Makefile. > > Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the > list will be compiled. The first will be

[U-Boot] [PATCH 2/4] sunxi: Support H3 CCU security switches

2016-01-05 Thread Chen-Yu Tsai
H3's CCU includes some switches which disable non-secure access to some of the more critical clock controls, such as MBUS, PLLs, and main platform busses. Configure them to enable non-secure access. For now the only SoC that has this feature is the H3. For other platforms just use a default (weak

[U-Boot] [PATCH 1/4] sunxi: Support Secure Memory Touch Arbiter (SMTA) in sun8i H3

2016-01-05 Thread Chen-Yu Tsai
Secure Memory Touch Arbiter is the same thing as the TrustZone Protection Controller found on A31/A31s. Access to many peripherals on the H3 can be controlled by the SMTA, and the settings default to secure access only. This patch supports the new settings, and sets them to allow non-secure acces

[U-Boot] [PATCH 4/4] sunxi: Enable booting non-secure and virtualization for H3

2016-01-05 Thread Chen-Yu Tsai
Now that we support PSCI and various security switches, we can let U-boot boot Linux into non-secure and HYP mode. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index 9d67847..28e6bb4 100644 --

[U-Boot] [PATCH 3/4] sunxi: Support PSCI ops on Allwinner H3

2016-01-05 Thread Chen-Yu Tsai
H3 has the same power sequencing procedure as the A31/A31s, which includes the power clamps. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/psci_sun6i.S b/arch/arm/cpu/armv7/s

[U-Boot] [PATCH 0/4] sunxi: PSCI support for H3

2016-01-05 Thread Chen-Yu Tsai
Hi everyone, This series enables PSCI support for the H3. Like other Allwinner SoCs, the implementation only supports PSCI 0.1, specifically only secondary CPU boot/hotplug. Patch 1 supports the SMTA (previously called TZPC) TrustZone hardware on H3. This controls non-secure access to some import

Re: [U-Boot] [PATCH v5 6/8] x86: qemu: fix cpu device in smp boot

2016-01-05 Thread Miao Yan
2016-01-06 8:25 GMT+08:00 Simon Glass : > On 4 January 2016 at 01:00, Miao Yan wrote: >> Currently, when booting with more that one CPU enabled, U-Boot scans >> 'cpu' node in device tree and calculates CPU number. This does not scale >> well as changing CPU number also requires modifying .dts and

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-05 Thread Purna Chandra Mandal
On 01/06/2016 01:01 AM, Daniel Schwierzeck wrote: > 2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal : >> Signed-off-by: Purna Chandra Mandal >> >> --- >> >> Changes in v2: >> - add get clock rate for mpll clock >> >> .../clock/microchip,pic32-clock.txt| 28 ++ >> drivers/clk/Mak

Re: [U-Boot] [PATCH v2 01/13] MIPS: initial infrastructure for Microchip PIC32 architecture

2016-01-05 Thread Purna Chandra Mandal
On 01/06/2016 12:50 AM, Daniel Schwierzeck wrote: > 2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal : >> Signed-off-by: Purna Chandra Mandal >> >> --- >> >> Changes in v2: >> - move PIC32 specific headers to arch/mips/mach-pic32/include/mach/ >> - define register-base as physical address in heade

Re: [U-Boot] [PATCH v2 05/13] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-05 Thread Purna Chandra Mandal
On 01/06/2016 12:32 AM, Daniel Schwierzeck wrote: [...] > +++ b/drivers/ddr/microchip/ddr2.c > @@ -0,0 +1,277 @@ > +/* > + * (c) 2015 Paul Thacker > + * > + * SPDX-License-Identifier:GPL-2.0+ > + * > + */ > +#include > +#include > +#include > +#include > +#include > +#include > +#inclu

Re: [U-Boot] [PATCH v2 1/6] dm: implement a DMA uclass

2016-01-05 Thread Mugunthan V N
On Wednesday 06 January 2016 05:54 AM, Simon Glass wrote: > Hi Mugunthan, > > On 23 December 2015 at 09:42, Mugunthan V N wrote: >> Implement a DMA uclass so that the devices like ethernet, spi, >> mmc etc can offload the data transfers from/to the device and >> memory. >> >> Signed-off-by: Mugun

[U-Boot] [PATCH] board: ls2085aqds: Update kernel_size env variable

2016-01-05 Thread Prabhakar Kushwaha
kernel_size env variable is defined as 0x2800, it is beyond NOR flash. Update kernel_size with 40MB kernel size. Signed-off-by: Prabhakar Kushwaha --- include/configs/ls2080aqds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls2080aqds.h b/include/conf

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-05 Thread Peter Robinson
On Tue, Jan 5, 2016 at 6:37 PM, Tom Rini wrote: > On Tue, Jan 05, 2016 at 04:28:01PM -0200, Fabio Estevam wrote: >> On Mon, Jan 4, 2016 at 8:23 PM, Tom Rini wrote: >> > Hey all, >> > >> > I've tagged and uploaded 2016.01-rc4 now. I grabbed a few general >> >> Still can't see this tag. > > I just

[U-Boot] [PATCH] fsl/ddr: Add workaround for ERRATUM_A009942

2016-01-05 Thread Shengzhou Liu
During the receive data training, the DDRC may complete on a non-optimal setting that could lead to data corruption or initialization failure. Workaround: before setting MEM_EN, set DEBUG_29 register with specific value for different data rates. Signed-off-by: Shengzhou Liu --- arch/arm/include

[U-Boot] [PATCH] fsl/ddr: Add workaround for ERRATUM_A00994

2016-01-05 Thread Shengzhou Liu
During the receive data training, the DDRC may complete on a non-optimal setting that could lead to data corruption or initialization failure. Workaround: before setting MEM_EN, set DEBUG_29 register with specific value for different data rates. Signed-off-by: Shengzhou Liu --- arch/arm/include

Re: [U-Boot] [PATCH V2 1/2] imx: mx6: add more entry for mxc_ccm_reg

2016-01-05 Thread Eric Nelson
On 01/05/2016 08:06 PM, Peng Fan wrote: > From: Peng Fan > > Add more entries for structure mxc_ccm_reg. > > Signed-off-by: Peng Fan > Reviewed-by: Eric Nelson > Cc: Stefano Babic > --- > > Changes V2: > Address Eric'c comments. Add Comments and rename registers from PMU with > prefix pmu.

[U-Boot] [PATCH V2 2/2] imx: mx6ul/sx: fix mmdc_ch0 clk calculation

2016-01-05 Thread Peng Fan
From: Peng Fan Check "Figure 19-5. BUS clock generation" of i.MX 6SoloX Applications Processor Reference Manual and "Figure 18-5. BUS clock generation" of i.MX 6UltraLite Applications Processor Reference Manual. If mmdc clk sources from pll4_main_clk(pll_audio), the calculation is wrong. Fix mmd

[U-Boot] [PATCH V2 1/2] imx: mx6: add more entry for mxc_ccm_reg

2016-01-05 Thread Peng Fan
From: Peng Fan Add more entries for structure mxc_ccm_reg. Signed-off-by: Peng Fan Reviewed-by: Eric Nelson Cc: Stefano Babic --- Changes V2: Address Eric'c comments. Add Comments and rename registers from PMU with prefix pmu. arch/arm/include/asm/arch-mx6/crm_regs.h | 91 +++

Re: [U-Boot] [PATCH v3 2/4] mips: ath79: add serial driver for ar933x SOC

2016-01-05 Thread Wills Wang
On 01/06/2016 08:25 AM, Simon Glass wrote: Hi WIlls, On 24 December 2015 at 04:22, Wills Wang wrote: Signed-off-by: Wills Wang --- Changes in v3: None Changes in v2: None drivers/serial/Makefile| 1 + drivers/serial/serial_ar933x.c | 274 ++

Re: [U-Boot] [PATCH v6 07/10] ns16550: map register base address for debug UART

2016-01-05 Thread Wills Wang
On 01/06/2016 05:18 AM, Daniel Schwierzeck wrote: 2016-01-04 14:07 GMT+01:00 Thomas Chou : Hi Wills, On 2016年01月04日 19:14, Wills Wang wrote: MIPS need to use KSEG1 address for register operation, this patch add map_physmem to convert CONFIG_DEBUG_UART_BASE for debug UART. Signed-off-by: Wi

Re: [U-Boot] [PATCH 3/7] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Hi Masahiro, On 2016年01月06日 10:22, Masahiro Yamada wrote: Hi Thomas, 2016-01-06 10:57 GMT+09:00 Thomas Chou : Thanks for the explanation. Now I understand. But there is no harm to add list support for building DT to configs. Please review and pick 1/9 and 2/9 of PATCH v2. And leave the rest to

Re: [U-Boot] [PATCH 3/7] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Masahiro Yamada
Hi Thomas, 2016-01-06 10:57 GMT+09:00 Thomas Chou : > Thanks for the explanation. Now I understand. But there is no harm to add > list support for building DT to configs. Please review and pick 1/9 and 2/9 > of PATCH v2. And leave the rest to arch custodians. I want this consistent throughout U-

Re: [U-Boot] [PATCH 3/7] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Hi Simon, On 2016年01月06日 08:24, Simon Glass wrote: +Masahiro Hi Thomas, On 5 January 2016 at 06:16, Thomas Chou wrote: Hi Simon, On 2016年01月05日 08:56, Simon Glass wrote: One of the benefits of device tree is that we can run the same code paths on multiple boards. Then buildman has less wo

[U-Boot] [PATCH v2 6/9] microblaze: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

[U-Boot] [PATCH v2 8/9] sandbox: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

[U-Boot] [PATCH v2 1/9] devicetree: use wildcard to clean arch subdir

2016-01-05 Thread Thomas Chou
Use wildcard to clean arch subdirectories, as it is cleaner than listing all the arch which builds dtb. Signed-off-by: Thomas Chou Reviewed-by: Bin Meng --- v2 no change dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dts/Makefile b/dts/Makefile index d3122aa

[U-Boot] [PATCH v2 2/9] devicetree: support list of Device Tree in DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas Chou --- v2 add list support as Simon suggested. dts/Kconfig | 3 ++- dts/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions

[U-Boot] [PATCH v2 4/9] arc: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

[U-Boot] [PATCH v2 7/9] powerpc: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

[U-Boot] [PATCH v2 5/9] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

[U-Boot] [PATCH v2 3/9] nios2: support list of Device Tree in DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas Chou --- v2 add list support as Simon suggested. arch/nios2/dts/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --g

[U-Boot] [PATCH v2 9/9] x86: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Thomas Chou
Use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE, so that there is no need to list all the dtb for different targets/boards in Makefile. Support list of Device Tree in DEFAULT_DEVICE_TREE. Each DT in the list will be compiled. The first will be used as default to ship. Signed-off-by: Thomas C

Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: fix mmdc_ch0 clk calculation

2016-01-05 Thread Peng Fan
Hi Eric, On Tue, Jan 05, 2016 at 12:06:52PM -0700, Eric Nelson wrote: >Hi Peng, > >On 01/03/2016 11:10 PM, Peng Fan wrote: >> Check "Figure 19-5. BUS clock generation" of i.MX 6SoloX Applications >> Processor Reference Manual and "Figure 18-5. BUS clock generation" of >> i.MX 6UltraLite Application

Re: [U-Boot] [PATCH 1/2] imx: mx6: add more entry for mxc_ccm_reg

2016-01-05 Thread Peng Fan
Hi Eric, On Tue, Jan 05, 2016 at 11:21:25AM -0700, Eric Nelson wrote: >Hi Peng, > >On 01/03/2016 11:10 PM, Peng Fan wrote: >> Add more entries for structure mxc_ccm_reg. >> >> Signed-off-by: Peng Fan >> Cc: Stefano Babic >> --- >> arch/arm/include/asm/arch-mx6/crm_regs.h | 87 >> +

Re: [U-Boot] [PATCH v5 7/8] x86: qemu: remove cpu node in device tree

2016-01-05 Thread Simon Glass
On 4 January 2016 at 01:00, Miao Yan wrote: > Remove 'cpu' node in device tree for QEMU targets, and let U-Boot detect > and fix up those information at runtime. > > Signed-off-by: Miao Yan > --- > arch/x86/dts/qemu-x86_i440fx.dts | 7 --- > arch/x86/dts/qemu-x86_q35.dts| 7 --- > 2

Re: [U-Boot] [PATCH v5 6/8] x86: qemu: fix cpu device in smp boot

2016-01-05 Thread Simon Glass
On 4 January 2016 at 01:00, Miao Yan wrote: > Currently, when booting with more that one CPU enabled, U-Boot scans > 'cpu' node in device tree and calculates CPU number. This does not scale > well as changing CPU number also requires modifying .dts and re-compiling > U-Boot. > > This patch uses fw

Re: [U-Boot] [PATCH 7/8] serial: lpuart: Add driver model serial support

2016-01-05 Thread Simon Glass
Hi Bin, On 31 December 2015 at 01:53, Bin Meng wrote: > This adds driver model support to lpuart serial driver. > > Signed-off-by: Bin Meng > --- > > doc/driver-model/serial-howto.txt | 1 - > drivers/serial/serial_lpuart.c| 157 > ++ > 2 files changed

Re: [U-Boot] [PATCH 8/8] arm: ls1021atwr: Enable driver model lpuart serial driver

2016-01-05 Thread Simon Glass
On 31 December 2015 at 01:53, Bin Meng wrote: > Convert ls1021atwr_nor_lpuart to driver model support. As a start, > enable lpuart serial port driver. > > Signed-off-by: Bin Meng > > --- > > arch/arm/dts/ls1021a-twr.dts| 4 > configs/ls1021atwr_nor_lpuart_defconfig | 4 > 2

Re: [U-Boot] [PATCH 6/8] serial: lpuart: Prepare the driver for DM conversion

2016-01-05 Thread Simon Glass
On 31 December 2015 at 01:53, Bin Meng wrote: > Create internal routines which take lpuart's register base as > a parameter, in preparation for driver model conversion. > > Signed-off-by: Bin Meng > --- > > drivers/serial/serial_lpuart.c | 146 > +++-- > 1 fi

Re: [U-Boot] [PATCH 5/8] serial: lpuart: Call local version of setbrg and putc directly

2016-01-05 Thread Simon Glass
On 31 December 2015 at 01:53, Bin Meng wrote: > There is no need to go through serial driver subsystem, instead > call the driver's setbrg and putc routines directly. > > Signed-off-by: Bin Meng > --- > > drivers/serial/serial_lpuart.c | 8 > 1 file changed, 4 insertions(+), 4 deletions

Re: [U-Boot] [PATCH 4/8] serial: lpuart: Fix several cosmetic issues

2016-01-05 Thread Simon Glass
On 31 December 2015 at 01:53, Bin Meng wrote: > Clean up the driver codes a little bit, by: > - Use tab instead of space in the macro defines > - Use single line comment whenever possible > - Fix insertion of blank lines > > Signed-off-by: Bin Meng > --- > > drivers/serial/serial_lpuart.c | 35 +

Re: [U-Boot] [PATCH 3/8] serial: lpuart: Move CONFIG_FSL_LPUART to Kconfig

2016-01-05 Thread Simon Glass
On 31 December 2015 at 01:53, Bin Meng wrote: > LPUART is seen on Freescale VF610 and QorIQ Layerscape devices. > Create a Kconfig option and move it to defconfig for all boards > that have this serial driver. > > Signed-off-by: Bin Meng > --- > > configs/colibri_vf_defconfig | 1

Re: [U-Boot] [PATCH v2 03/19] dm: timer: uclass: Add flag to control sequence numbering

2016-01-05 Thread Simon Glass
On 24 December 2015 at 03:38, Mugunthan V N wrote: > Like SPI and I2C, timer devices also have multiple chip > instances. This patch adds the flag 'DM_UC_FLAG_SEQ_ALIAS' in > timer_uclass driver to control device sequence numbering. > > Signed-off-by: Mugunthan V N > Reviewed-by: Simon Glass > R

[U-Boot] [PATCH] spi: spi_flash: Fix the arguments of stm_is_locked_sr()

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam stm_is_locked_sr() takes the status register (SR) value as the last parameter, not the second. Based on a patch from Brian Norris for the linux kernel: http://git.infradead.org/linux-mtd.git/commitdiff/a32d5b726ff8cf32bf491522b0ac8ae2545a063e?hp=67b9bcd36906e12a15ffec19463afb

Re: [U-Boot] [PATCH v3 2/4] mips: ath79: add serial driver for ar933x SOC

2016-01-05 Thread Simon Glass
Hi WIlls, On 24 December 2015 at 04:22, Wills Wang wrote: > Signed-off-by: Wills Wang > --- > > Changes in v3: None > Changes in v2: None > > drivers/serial/Makefile| 1 + > drivers/serial/serial_ar933x.c | 274 > + > 2 files changed, 275 inser

Re: [U-Boot] U-Boot Rockchip dwc_hcd question for low-speed devices

2016-01-05 Thread Simon Glass
Hi Josh, On 21 December 2015 at 07:11, Josh Sanford wrote: > Thanks Simon. I'm having difficulty finding anything by Stefan Bruns around > that time frame, or much of anything recent pertaining to DWC. (I only > checked the u-boot-denx.git and u-boot-rockchip.git branches.) Am I looking > in t

Re: [U-Boot] [PATCH v2 5/6] drivers: dma: ti-edma3: convert driver to adopt driver model

2016-01-05 Thread Simon Glass
On 23 December 2015 at 09:43, Mugunthan V N wrote: > adopt ti-edma3 driver to device driver model > > Signed-off-by: Mugunthan V N > --- > drivers/dma/ti-edma3.c | 74 > -- > 1 file changed, 72 insertions(+), 2 deletions(-) Reviewed-by: Simon Gla

Re: [U-Boot] [PATCH v2 1/6] dm: implement a DMA uclass

2016-01-05 Thread Simon Glass
Hi Mugunthan, On 23 December 2015 at 09:42, Mugunthan V N wrote: > Implement a DMA uclass so that the devices like ethernet, spi, > mmc etc can offload the data transfers from/to the device and > memory. > > Signed-off-by: Mugunthan V N > --- > drivers/dma/Kconfig | 15 + > drivers

Re: [U-Boot] dm: Introduce SPI-NOR framework

2016-01-05 Thread Simon Glass
Hi Jagan, On 17 December 2015 at 10:06, Jagan Teki wrote: > Hi Simon, > > On 15 December 2015 at 03:44, Simon Glass wrote: >> Hi Jagan, >> >> On 11 December 2015 at 09:57, Jagan Teki wrote: >>> Hi Simon, >>> >>> On 11 December 2015 at 07:35, Simon Glass wrote: Hi Jagan, On 8 Dec

Re: [U-Boot] [PATCH v2 4/6] spi: ti_qspi: compile out spi_flash_copy_mmap when CONFIG_DMA is defined

2016-01-05 Thread Simon Glass
On 23 December 2015 at 09:43, Mugunthan V N wrote: > When CONFIG_DMA is defined the default spi_flash_copy_mmap() can > handle dma memory copy, so compile out spi_flash_copy_mmap() from > ti_qspi driver when CONFIG_DMA config is defined. > > Signed-off-by: Mugunthan V N > --- > drivers/spi/ti_qs

Re: [U-Boot] [PATCH 05/10] superio: Add SMSC SIO1007 driver

2016-01-05 Thread Simon Glass
Hi Bin, On 20 December 2015 at 19:42, Bin Meng wrote: > Hi Simon, > > On Sat, Dec 19, 2015 at 10:52 AM, Simon Glass wrote: >> Hi Bin, >> >> On 11 December 2015 at 03:55, Bin Meng wrote: >>> The SMSC SIO1007 superio chipset integrates two ns16550 compatible >>> serial ports for legacy applicatio

Re: [U-Boot] [PATCH 1/8] m68k: move CONFIG_SYS_TEXT_BASE to defconfig files

2016-01-05 Thread Simon Glass
On 10 December 2015 at 20:22, Masahiro Yamada wrote: > For historical reason, CONFIG_SYS_TEXT_BASE has been specified > in various ways: > > [1] by board/${VENDOR}/${BOARD}/config.mk > > [2] by CONFIG_SYS_EXTRA_OPTIONS > (This was "options" field of boards.cfg before Kconfig conversion) > > [3

Re: [U-Boot] Driver model test breakages

2016-01-05 Thread Simon Glass
Hi Jagan, On 3 January 2016 at 23:09, Bin Meng wrote: > > Hi Jagan, > > On Mon, Jan 4, 2016 at 1:12 PM, Jagan Teki wrote: > > Hi Simon, > > > > On 4 January 2016 at 01:22, Simon Glass wrote: > >> Hi Jagan, > >> > >> On 22 December 2015 at 12:39, Joe Hershberger > >> wrote: > >>> Hi Simon, > >

Re: [U-Boot] [PATCH 3/7] arm: use generic dtb rule with CONFIG_DEFAULT_DEVICE_TREE

2016-01-05 Thread Simon Glass
+Masahiro Hi Thomas, On 5 January 2016 at 06:16, Thomas Chou wrote: > Hi Simon, > > On 2016年01月05日 08:56, Simon Glass wrote: >> >> One of the benefits of device tree is that we can run the same code >> paths on multiple boards. Then buildman has less work to do. For >> example, if it builds 'sno

Re: [U-Boot] [PATCH] power: pmic.h: Drop include

2016-01-05 Thread Simon Glass
On 5 January 2016 at 01:14, Jagan Teki wrote: > include/power/pmic.h never used any generic spi code > from include/spi.h, but this has been added in below commit. > "dm: pmic: add implementation of driver model pmic uclass" > (sha1: 4d9057e82be11a862db411c4867e859fe0d4ca2a) > > Adding functionali

Re: [U-Boot] [PATCH 0/3] dm: add dev_get_reg() for getting device node's reg

2016-01-05 Thread Simon Glass
Hi Stephen, On 5 January 2016 at 10:12, Stephen Warren wrote: > On 01/05/2016 08:38 AM, Przemyslaw Marczak wrote: >> >> Hello, >> >> On 01/04/2016 09:06 PM, Stephen Warren wrote: >>> >>> On 12/29/2015 01:47 AM, Przemyslaw Marczak wrote: Hello Stephen, On 12/16/2015 08:07 PM, S

Re: [U-Boot] [PATCH v3] serial: zynq: Use static inline for _debug_uart_init()

2016-01-05 Thread Simon Glass
On 5 January 2016 at 04:49, Michal Simek wrote: > Mark _debug_uart_init() as static to avoid sparse warning and > inline it to debug_uart_init(). > > Reported-by: Thomas Chou > Signed-off-by: Michal Simek > Reviewed-by: Thomas Chou > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng > --- > >

Re: [U-Boot] [PATCH] MAINTAINERS: add entry for Rockchip

2016-01-05 Thread Simon Glass
On 4 January 2016 at 18:47, Masahiro Yamada wrote: > > Rockchip has its own git repository maintained by Simon. > Document this. > > Signed-off-by: Masahiro Yamada > --- > > MAINTAINERS | 6 ++ > 1 file changed, 6 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH] cmd_pci: Check for VendorID earlier

2016-01-05 Thread Fabio Estevam
Hi Bin, On Thu, Dec 31, 2015 at 1:20 PM, Fabio Estevam wrote: > Do you mean like this for imx? > > --- a/drivers/pci/pcie_imx.c > +++ b/drivers/pci/pcie_imx.c > @@ -381,7 +381,7 @@ static int imx_pcie_read_config(struct pci_controller > *hose, > ret = imx_pcie_addr_valid(d); > i

Re: [U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2016-01-05 Thread york sun
On 01/05/2016 01:38 PM, York Sun wrote: > > > On 01/05/2016 10:40 AM, Bryan Hundven wrote: >> On Tue, Jan 05, 2016 at 09:01:17AM -0800, York Sun wrote: >>> >>> >>> On 12/23/2015 07:40 AM, Bryan Hundven wrote: York, Just checking if you had seen this patch? >>> >>> Yes, I notic

Re: [U-Boot] [PATCH v2 12/13] drivers: net: add Microchip PIC32 ethernet controller driver.

2016-01-05 Thread Joe Hershberger
On Mon, Jan 4, 2016 at 8:02 AM, Purna Chandra Mandal wrote: > This driver implements MAC and MII layer of PIC32 ethernet controller. > This controller is capable of handling 100/10mbps full/half duplex > ethernet communication. Network data transfer is handled by internal > DMA engine. > > Signed-

[U-Boot] [PATCH V3 6/7] test/py: test the shell if command

2016-01-05 Thread Stephen Warren
From: Stephen Warren Migrate all most tests from command_ut.c into the Python test system. This allows the tests to be run against any U-Boot binary that supports the if command (i.e. where hush is enabled) without requiring that binary to be permanently bloated with the code from command_ut. So

[U-Boot] [PATCH V3 7/7] test/py: test the ums command

2016-01-05 Thread Stephen Warren
From: Stephen Warren This test invokes the "ums" command in U-Boot, and validates that a USB storage device is enumerated on the test host system, and can be read from. Signed-off-by: Stephen Warren --- v3: - Move test scripts into a sub-directory. Suggested by Michal Simek. - s/uboot/u[-_]bo

[U-Boot] [PATCH V3 4/7] test/py: test the md/mw commands

2016-01-05 Thread Stephen Warren
This tests whether md/mw work, and affect each-other. Command repeat is also tested. test/cmd_repeat.sh is removed, since the new Python-based test does everything it used to. Signed-off-by: Stephen Warren Signed-off-by: Stephen Warren --- v3: - Add extra mw during md test to account for the p

[U-Boot] [PATCH V3 1/7] test/py: Implement pytest infrastructure

2016-01-05 Thread Stephen Warren
This tool aims to test U-Boot by executing U-Boot shell commands using the console interface. A single top-level script exists to execute or attach to the U-Boot console, run the entire script of tests against it, and summarize the results. Advantages of this approach are: - Testing is performed i

[U-Boot] [PATCH V3 2/7] test/py: test that sandbox exits when asked

2016-01-05 Thread Stephen Warren
Test the sandbox port's implementation of the reset command and SIGHUP handling. These should both cause the U-Boot process to exit gracefully. Signed-off-by: Stephen Warren Signed-off-by: Stephen Warren --- v3: - Move test scripts into a sub-directory. Suggested by Michal Simek. - s/uboot/u[-

[U-Boot] [PATCH V3 5/7] test/py: add test of basic shell functionality

2016-01-05 Thread Stephen Warren
From: Stephen Warren This tests whether the following features of the U-Boot shell: - Execution of a directly entered command. - Compound commands (; delimiter). - Quoting of arguments containing spaces. - Executing commands from environment variables. Signed-off-by: Stephen Warren --- v3: - Mo

[U-Boot] [PATCH V3 3/7] test/py: add test of setenv/printenv/echo

2016-01-05 Thread Stephen Warren
This tests basic environment variable functionality. Signed-off-by: Stephen Warren Signed-off-by: Stephen Warren --- v3: - Handle environment values that contain an = sign. Reported by Michal Simek. - Move test scripts into a sub-directory. Suggested by Michal Simek. - s/uboot/u[-_]boot/g. S

Re: [U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2016-01-05 Thread York Sun
On 01/05/2016 10:40 AM, Bryan Hundven wrote: > On Tue, Jan 05, 2016 at 09:01:17AM -0800, York Sun wrote: >> >> >> On 12/23/2015 07:40 AM, Bryan Hundven wrote: >>> York, >>> >>> Just checking if you had seen this patch? >>> >> >> Yes, I noticed. You rename P2020RDB to P2020RDB_PC. Do you have anot

Re: [U-Boot] [PATCH v6 07/10] ns16550: map register base address for debug UART

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 14:07 GMT+01:00 Thomas Chou : > Hi Wills, > > > On 2016年01月04日 19:14, Wills Wang wrote: >> >> MIPS need to use KSEG1 address for register operation, this patch >> add map_physmem to convert CONFIG_DEBUG_UART_BASE for debug UART. >> >> Signed-off-by: Wills Wang >> --- >> >> Changes in v6

Re: [U-Boot] [PATCH v2 2/3] mx6sabresd: Simplify the Ethernet PHY configuration

2016-01-05 Thread Joe Hershberger
Hi Fabio, On Tue, Jan 5, 2016 at 1:02 PM, Fabio Estevam wrote: > From: Fabio Estevam > > As per the AR8031 datasheet: > > "For a reliable power on reset, suggest to keep asserting the reset > low long enough (10ms) to ensure the clock is stable and clock-to-reset > 1ms requirement is satisfied."

Re: [U-Boot] [PATCH v2 3/3] wandboard: Simplify the Ethernet PHY configuration

2016-01-05 Thread Joe Hershberger
Hi Fabio, On Tue, Jan 5, 2016 at 1:02 PM, Fabio Estevam wrote: > From: Fabio Estevam > > As per the AR8031 datasheet: > > "For a reliable power on reset, suggest to keep asserting the reset > low long enough (10ms) to ensure the clock is stable and clock-to-reset > 1ms requirement is satisfied."

Re: [U-Boot] [PATCH v2 12/13] drivers: net: add Microchip PIC32 ethernet controller driver.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:02 GMT+01:00 Purna Chandra Mandal : > This driver implements MAC and MII layer of PIC32 ethernet controller. > This controller is capable of handling 100/10mbps full/half duplex > ethernet communication. Network data transfer is handled by internal > DMA engine. > > Signed-off-by: Pur

Re: [U-Boot] [PATCH v2 10/13] drivers: gpio: add driver for Microchip PIC32 GPIO controller.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal : > PIC32 has ten independently programmable ports and each with multiple pins. > These pins can be configured and used as GPIO, if not use by any other > peripherals. > > Signed-off-by: Purna Chandra Mandal > --- > > Changes in v2: None > > drivers

Re: [U-Boot] [PATCH v2 08/13] drivers: mmc: add driver for Microchip PIC32 SDHCI controller.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal : > PIC32 architecture has in-built SDHCI controller. This driver implements > platform specific glue to use common SDHCI functionality. > > Signed-off-by: Andrei Pistirica > Signed-off-by: Sandeep Sheriker Mallikarjun > > Signed-off-by: Purna Chan

Re: [U-Boot] [PATCH v2 07/13] board: Add Microchip PIC32MZ[DA]-Starter-Kit board.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal : > This adds support for Microchip PIC32MZ[DA] Starter Kit board > based on a PIC32MZ[DA] family of microcontroller. > > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - move CONFIG_SYS_TEXT_BASE (from board/<>/config.mk) to > inc

Re: [U-Boot] [PATCH v2 06/13] MIPS: Add support for Microchip PIC32MZ[DA] family.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal : > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - drop unnecessary board_early_init_f() > - use LEAF(), END() macros for lowlevel_init > - move initialization of board_init_f() argument to common start.S > - move initdram() from

Re: [U-Boot] [PATCH 0/9] EFI payload / application support

2016-01-05 Thread Tom Rini
ult/files/resources/UEFI_Adopters_Agreement_100907.pdf > > I actually think the implications of 2) for a project like U-Boot > would be a useful thing to bring up for discussion on the FW/OS forum > mailing list at http://uefi.org/FWOSForum. The answer I got back is http://lists.mailman.

Re: [U-Boot] [PATCH v2 04/13] drivers: serial: add driver for Microchip PIC32 UART controller.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal : > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - fix missing or corrupted chars during baud rate change > - remove loop until any new char is available in _getc() > > .../serial/microchip,pic32-ua

Re: [U-Boot] [PATCH v2 02/13] drivers: clk: Add clock driver for Microchip PIC32 Microcontroller.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal : > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - add get clock rate for mpll clock > > .../clock/microchip,pic32-clock.txt| 28 ++ > drivers/clk/Makefile | 1 + > drivers/clk/clk

Re: [U-Boot] [PATCH v2 01/13] MIPS: initial infrastructure for Microchip PIC32 architecture

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:00 GMT+01:00 Purna Chandra Mandal : > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - move PIC32 specific headers to arch/mips/mach-pic32/include/mach/ > - define register-base as physical address in header file > - add trivial ioremap support to convert physical a

Re: [U-Boot] [PATCH 2/2] imx: mx6ul/sx: fix mmdc_ch0 clk calculation

2016-01-05 Thread Eric Nelson
Hi Peng, On 01/03/2016 11:10 PM, Peng Fan wrote: > Check "Figure 19-5. BUS clock generation" of i.MX 6SoloX Applications > Processor Reference Manual and "Figure 18-5. BUS clock generation" of > i.MX 6UltraLite Applications Processor Reference Manual. If mmdc clk > sources from pll4_main_clk(pll_a

Re: [U-Boot] [PATCH v2 1/3] phy: atheros: Use ar8035_config for AR8031

2016-01-05 Thread Joe Hershberger
On Tue, Jan 5, 2016 at 1:02 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to > ar8021_config") selected 'ar8021_config' as the configuration function > for AR8031. > > The correct would be to use 'ar8035_config' instead as AR8

[U-Boot] [PATCH v2 3/3] wandboard: Simplify the Ethernet PHY configuration

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam As per the AR8031 datasheet: "For a reliable power on reset, suggest to keep asserting the reset low long enough (10ms) to ensure the clock is stable and clock-to-reset 1ms requirement is satisfied." So do as suggested and also add a 100us delay after deasserting the reset l

[U-Boot] [PATCH v2 2/3] mx6sabresd: Simplify the Ethernet PHY configuration

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam As per the AR8031 datasheet: "For a reliable power on reset, suggest to keep asserting the reset low long enough (10ms) to ensure the clock is stable and clock-to-reset 1ms requirement is satisfied." So do as suggested and also add a 100us delay after deasserting the reset l

[U-Boot] [PATCH v2 1/3] phy: atheros: Use ar8035_config for AR8031

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to ar8021_config") selected 'ar8021_config' as the configuration function for AR8031. The correct would be to use 'ar8035_config' instead as AR8031/AR8035 have the same programming model and even share the same

Re: [U-Boot] [PATCH v2 05/13] drivers: ddr: Add DDR2 SDRAM controller driver for Microchip PIC32.

2016-01-05 Thread Daniel Schwierzeck
2016-01-04 15:01 GMT+01:00 Purna Chandra Mandal : > Signed-off-by: Paul Thacker > Signed-off-by: Purna Chandra Mandal > > --- > > Changes in v2: > - move ddr2 initialization from board/microchip/ to drivers/ddr/microchip > > arch/mips/mach-pic32/include/mach/ddr.h | 32 > drivers/Makefile

Re: [U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2016-01-05 Thread Bryan Hundven
On Tue, Jan 05, 2016 at 09:01:17AM -0800, York Sun wrote: > > > On 12/23/2015 07:40 AM, Bryan Hundven wrote: > > York, > > > > Just checking if you had seen this patch? > > > > Yes, I noticed. You rename P2020RDB to P2020RDB_PC. Do you have another patch > using P2020RDB? It may be irrelevant

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-05 Thread Tom Rini
On Tue, Jan 05, 2016 at 04:28:01PM -0200, Fabio Estevam wrote: > On Mon, Jan 4, 2016 at 8:23 PM, Tom Rini wrote: > > Hey all, > > > > I've tagged and uploaded 2016.01-rc4 now. I grabbed a few general > > Still can't see this tag. I just checked and it says everything up to date for me. But the

Re: [U-Boot] [ANN] U-Boot v2016.01-rc4 released

2016-01-05 Thread Fabio Estevam
On Mon, Jan 4, 2016 at 8:23 PM, Tom Rini wrote: > Hey all, > > I've tagged and uploaded 2016.01-rc4 now. I grabbed a few general Still can't see this tag. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2016-01-05 Thread York Sun
+list On 01/05/2016 09:22 AM, York Sun wrote: > Tom, > > The following changes since commit 78680314c53a95c0bb25e942662979843b60d7b9: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi (2015-12-27 > 09:15:57 > -0500) > > are available in the git repository at: > > > git://git.d

Re: [U-Boot] [PATCH 1/2] imx: mx6: add more entry for mxc_ccm_reg

2016-01-05 Thread Eric Nelson
Hi Peng, On 01/03/2016 11:10 PM, Peng Fan wrote: > Add more entries for structure mxc_ccm_reg. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx6/crm_regs.h | 87 > > 1 file changed, 87 insertions(+) > > diff --git a/arch/ar

[U-Boot] [PATCH 3/3] wandboard: Simplify the Ethernet PHY configuration

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam As per the AR8031 datasheet: "For a reliable power on reset, suggest to keep asserting the reset low long enough (10ms) to ensure the clock is stable and clock-to-reset 1ms requirement is satisfied." So do as suggested and also add a 100us delay after deasserting the reset l

[U-Boot] [PATCH 2/3] mx6sabresd: Simplify the Ethernet PHY configuration

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam As per the AR8031 datasheet: "For a reliable power on reset, suggest to keep asserting the reset low long enough (10ms) to ensure the clock is stable and clock-to-reset 1ms requirement is satisfied." So do as suggested and also add a 100us delay after deasserting the reset l

[U-Boot] [PATCH 1/3] phy: atheros: Use ar8035_config for AR8031

2016-01-05 Thread Fabio Estevam
From: Fabio Estevam Commit 08ad9b068afb88 (" ar8031: modify the config func of ar8031 to ar8021_config") selected 'ar8021_config' as the configuration function for AR8031. The correct would be to use 'ar8035_config' instead as AR8031/AR8035 have the same programming model and even share the same

Re: [U-Boot] Allowing rtt_nom to be configurable to all possible values

2016-01-05 Thread Fabio Estevam
Hi Eric, On Tue, Jan 5, 2016 at 3:54 PM, Eric Nelson wrote: > The only thing I would add here is a set of constants to prevent the > need to refer to the manual. > > The values differ in the i.MX6SDL to allow different meanings for DDR2, > so this should suffice: > > #define RTT_NOM_Disabled

Re: [U-Boot] Allowing rtt_nom to be configurable to all possible values

2016-01-05 Thread Eric Nelson
Hi Fabio, On 01/05/2016 08:07 AM, Fabio Estevam wrote: > Hi, > > Currently we have in arch/arm/cpu/armv7/mx6/ddr.c: > >/* MMDC Termination: rtt_nom:2 RZQ/2(120ohm), rtt_nom:1 RZQ/4(60ohm) */ >val = (sysinfo->rtt_nom == 2) ? 0x0007 : 0x0007; > > ,but the mx6 reference man

[U-Boot] [PATCH] MAINTAINERS, .mailmap: Update my email address

2016-01-05 Thread York Sun
Change from york...@freescale.com to york@nxp.com. Signed-off-by: York Sun --- .mailmap |1 + MAINTAINERS |6 +++--- board/freescale/ls2080a/MAINTAINERS |2 +- board/freescale/mpc8572ds/MAINTAINERS |2 +- 4 files change

Re: [U-Boot] [RFC 0/2] Add cdns-i2c driver as drop in for zynq-i2c

2016-01-05 Thread Moritz Fischer
Hi Michal, On Tue, Jan 5, 2016 at 7:44 AM, Michal Simek wrote: > I have looked at these patches and I don't know why there is 100k > limitation in cdns_i2c_set_bus_speed. DTS is using 400k in Linux without > any problem. Well I could statically calculate the values for 400K, too but anyway that

  1   2   >