Re: [U-Boot] [PATCH v2 09/16] arm: dts: dra7: add qspi register maps for memory map and control module

2015-11-13 Thread Mugunthan V N
On Thursday 12 November 2015 06:17 PM, Tom Rini wrote: > On Thu, Nov 12, 2015 at 02:33:48PM +0530, Mugunthan V N wrote: >> On Sunday 08 November 2015 07:01 PM, Tom Rini wrote: >>> On Wed, Nov 04, 2015 at 01:46:17PM +0530, Mugunthan V N wrote: >>> Add qspi memory map and control module register

[U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-13 Thread Stephen Warren
From: Ted Chen This patch adds driver support for the Realtek RTL8152B/RTL8153 USB network adapters. Signed-off-by: Ted Chen [swarren, fixed a few compiler warnings] [swarren, with permission, converted license header to SPDX] [swarren, removed printf() spew during probe()] Signed-off-by: Steph

Re: [U-Boot] [PATCH 00/10] nios2: change ioremap to map_physmem

2015-11-13 Thread Marek Vasut
On Saturday, November 14, 2015 at 06:59:21 AM, Thomas Chou wrote: > Change ioremap() to map_physmem(,,MAP_NOCACHE), as it is more used > in u-boot. There are no other archs use ioremap(), except nios2. > > Thomas Chou (10): > altera_jtag_uart: change ioremap to map_physmem > altera_uart: chang

Re: [U-Boot] [PATCH v3] Fix board init code to use a valid C runtime environment

2015-11-13 Thread Thomas Chou
Hi Albert, On 2015年11月13日 22:43, Albert ARIBAUD wrote: +/* + * Initialize reserved space (which has been safely allocated on the C + * stack from the C runtime environment handling code). + * + * Do not use 'gd->' until arch_setup_gd() has been called! + */ + +void board_init_f_init_reserve(ulon

[U-Boot] [PATCH 10/10] nios2: zap ioremap

2015-11-13 Thread Thomas Chou
Zap ioremap(), as it is replaced by map_physmem(,,MAP_NOCACHE). Signed-off-by: Thomas Chou --- arch/nios2/include/asm/io.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h index 95d8801..e951500 100644 --- a/arch/nios2/include/asm

[U-Boot] [PATCH 07/10] altera_qspi: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/mtd/altera_qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/altera_qspi.c b/drivers/mtd/altera_qspi.c index 1826dc8..50c6e0e 100644 --- a/drivers/mtd/alte

[U-Boot] [PATCH 09/10] nios2: dma-mapping.h: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- arch/nios2/include/asm/dma-mapping.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/nios2/include/asm/dma-mapping.h b/arch/nios2/include/asm/dma-mapping.h index 1562d35..65f

[U-Boot] [PATCH 08/10] altera_pio: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/gpio/altera_pio.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/altera_pio.c b/drivers/gpio/altera_pio.c index 7ceb80e..6f42bf8 100644 --- a/drivers/gpi

[U-Boot] [PATCH 06/10] altera_tse: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/net/altera_tse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/altera_tse.c b/drivers/net/altera_tse.c index 5692fe9..3eaa270 100644 --- a/drivers/net/altera_

[U-Boot] [PATCH 05/10] altera_sysid: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/misc/altera_sysid.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/misc/altera_sysid.c b/drivers/misc/altera_sysid.c index 737520f..2d0fa2a 100644 --- a/drive

[U-Boot] [PATCH 02/10] altera_uart: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/serial/altera_uart.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/altera_uart.c b/drivers/serial/altera_uart.c index 5d76c33..eff9c59 100644 --- a/dr

[U-Boot] [PATCH 01/10] altera_jtag_uart: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/serial/altera_jtag_uart.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/serial/altera_jtag_uart.c b/drivers/serial/altera_jtag_uart.c index c77bea3..cb11b31

[U-Boot] [PATCH 04/10] altera_spi: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/spi/altera_spi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/spi/altera_spi.c b/drivers/spi/altera_spi.c index 3e09592..eb1ba27 100644 --- a/drivers/spi/al

[U-Boot] [PATCH 00/10] nios2: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(,,MAP_NOCACHE), as it is more used in u-boot. There are no other archs use ioremap(), except nios2. Thomas Chou (10): altera_jtag_uart: change ioremap to map_physmem altera_uart: change ioremap to map_physmem altera_timer: change ioremap to map_physmem alter

[U-Boot] [PATCH 03/10] altera_timer: change ioremap to map_physmem

2015-11-13 Thread Thomas Chou
Change ioremap() to map_physmem(), as it is more used in u-boot. Signed-off-by: Thomas Chou --- drivers/timer/altera_timer.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/timer/altera_timer.c b/drivers/timer/altera_timer.c index 46a598a..971ed38 100644 --- a/dr

Re: [U-Boot] [PATCH v3 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-13 Thread Simon Glass
Hi Stephen, On 13 November 2015 at 11:14, Simon Glass wrote: > Hi Stephen, > > On 13 November 2015 at 09:41, Stephen Warren wrote: >> On 11/12/2015 09:57 AM, Simon Glass wrote: >>> >>> This series converts all Tegra boards to use driver model for PCI. The net >>> effect should be no change in fu

[U-Boot] [PATCH v4 5/8] dm: pci: Add functions to emulate 8- and 16-bit access

2015-11-13 Thread Simon Glass
Provide a few functions to support using 32-bit access to emulate 8- and 16-bit access. Signed-off-by: Simon Glass Reviewed-by: Stephen Warren --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/pci/pci-uclass.c | 39 +++ include/pci.h

[U-Boot] [PATCH v4 7/8] dm: pci: Add a function to find the regions for a PCI bus

2015-11-13 Thread Simon Glass
This function looks up the controller and returns a pointer to each region type. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v4: None Changes in v3: None Changes in v2: None drivers/pci/pci-uclass.c | 30 ++ include/pci.h| 12

[U-Boot] [PATCH v4 4/8] dm: pci: Support decoding ranges with duplicate entries

2015-11-13 Thread Simon Glass
At present we add a new resource entry for every range entry. But some range entries refer to configuration regions. To make this work, avoid adding two regions of the same type. The later ranges will overwrite the earlier (configuration) ones. There does not seem to be a way to distinguish the co

[U-Boot] [PATCH v4 8/8] dm: tegra: pci: Convert tegra boards to driver model for PCI

2015-11-13 Thread Simon Glass
Adjust the Tegra PCI driver to support driver model and move all boards over at the same time. This can make use of some generic driver model code, such as the range-decoding logic. Signed-off-by: Simon Glass --- Changes in v4: - Fix merge conflict resolution error in v3 - Add compatible string

[U-Boot] [PATCH v4 6/8] dm: pci: Add a function to get the controller for a bus

2015-11-13 Thread Simon Glass
A PCI bus may be a bridge device where the controller is the bridge's parent. Add a function to return the controller device, given a PCI device. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v4: None Changes in v3: None Changes in v2: - Use the device_is_on_pci_bus() API

[U-Boot] [PATCH v4 1/8] dm: tegra: pci: Move CONFIG_PCI_TEGRA to Kconfig

2015-11-13 Thread Simon Glass
Move this option to Kconfig and fix up all users. Signed-off-by: Simon Glass --- Changes in v4: - Fix Kconig typo in commit message Changes in v3: None Changes in v2: None configs/apalis_t30_defconfig | 1 + configs/beaver_defconfig | 1 + configs/cardhu_defconfig | 1 + configs/je

[U-Boot] [PATCH v4 3/8] dm: pci: Set up the SDRAM mapping correctly

2015-11-13 Thread Simon Glass
SDRAM doesn't always start at 0. Adjust the region mapping so that it works on platforms where SDRAM is somewhere else. This needs testing on other platforms. Signed-off-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: - Rename 'addr' to 'size' - Correct logic for use

[U-Boot] [PATCH v4 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-13 Thread Simon Glass
This series converts all Tegra boards to use driver model for PCI. The net effect should be no change in functionality. A few additional features are added to make this possible: - Helper functions to support accessing 8- and 16-bit values within a 32-bit word - Fixing a build error for CONFIG_C

[U-Boot] [PATCH v4 2/8] dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM

2015-11-13 Thread Simon Glass
This is not supported with driver model, so print a message instead of generating a build error. Rescanning PCI is not yet implemented. This function will be implemented later once some additional PCI driver model improvements are merged. It was confirmed on the mailing list that no one on the teg

Re: [U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-13 Thread Marek Vasut
On Saturday, November 14, 2015 at 03:05:37 AM, Simon Glass wrote: > Hi, > > On 13 November 2015 at 11:10, Alexey Brodkin > > wrote: > > Similarly to Linux kernel it's nice to have generic driver for > > EHCI-compatible host controllers. > > > > This implementation is very minimalistic and doesn

Re: [U-Boot] [PATCH] patman: fix series-notes handling for buildman

2015-11-13 Thread Simon Glass
On 9 November 2015 at 14:36, Albert ARIBAUD wrote: > Hello Simon, > > On Mon, 9 Nov 2015 12:24:55 -0800, Simon Glass wrote: >> On 9 November 2015 at 06:19, Albert ARIBAUD >> wrote: >> > A patman series with a 'Series-notes' section causes >> > buildman to crash with: >> > >> > self.series.n

Re: [U-Boot] [PATCH v3] Fix board init code to use a valid C runtime environment

2015-11-13 Thread Simon Glass
Hi Albert, On 13 November 2015 at 07:43, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it ls actually already using. This is not a valid > C runtime environment. I think it is doing something like alloca() and reserving space on the stack. It does not actu

Re: [U-Boot] [PATCH] ARM: crt0: Pass malloc base address

2015-11-13 Thread Simon Glass
Hi Albert, On 12 November 2015 at 09:13, Albert ARIBAUD wrote: > Hello Simon, > > On Thu, 12 Nov 2015 08:59:54 -0700, Simon Glass > wrote: >> Hi Albert, >> >> On 11 November 2015 at 23:57, Albert ARIBAUD >> wrote: >> > Hello Simon, >> > >> > On Wed, 11 Nov 2015 14:49:05 -0700, Simon Glass >>

Re: [U-Boot] [PATCH V2 07/12] board: LaCie: Move common headers to board-common directory

2015-11-13 Thread Simon Glass
Hi Nishanth, On 13 November 2015 at 16:57, Nishanth Menon wrote: > On 11/13/2015 09:32 AM, Simon Guinot wrote: >> On Fri, Nov 13, 2015 at 09:06:45AM -0500, Tom Rini wrote: >>> On Fri, Nov 13, 2015 at 11:30:43AM +0100, Simon Guinot wrote: Hi Nishanth, On Thu, Nov 12, 2015 at 11:43:3

Re: [U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-13 Thread Simon Glass
Hi, On 13 November 2015 at 11:10, Alexey Brodkin wrote: > Similarly to Linux kernel it's nice to have generic driver for > EHCI-compatible host controllers. > > This implementation is very minimalistic and doesn't have any > platform-specific glue code nor phy-related operations. > > For example

Re: [U-Boot] [PATCH] sandbox: cros_ec: fix uninitialized use of len

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 6/6] x86: qemu: Convert to use driver model keyboard

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/6] input: Call keyboard's update_leds() method when the LEDs change

2015-11-13 Thread Simon Glass
Updated to fix build errors when CONFIG_DM_KEYBOARD is not enabled, and Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/6] x86: crownbay: Convert to use driver model keyboard

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/6] input: Change LED state bits to conform i8042 compatible keyboard

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/6] input: Ban digit numbers if 'Num Lock' is not on

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/6] input: Save keyboard's LED state to correct place

2015-11-13 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 12/12] input: Convert 'keyboard' driver to use input library

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 10/12] i8042: Handle a duplicate power-on-reset response

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 11/12] video: input: Clean up after i8042 conversion

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 09/12] input: Convert i8042 to driver model

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 07/12] x86: Add an i8042 device for boards that have it

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 08/12] Drop CONFIG_ISA_KEYBOARD

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 06/12] input: Add a Kconfig option for the i8042 keyboard

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 05/12] input: i8042: Convert to use the input library

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 04/12] input: Allow updating of keyboard LEDs

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 02/12] input: Adjust structure of code in process_modifier()

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 03/12] input: Handle caps lock

2015-11-13 Thread Simon Glass
Applied to u-boot-dm. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 01/12] input: Support the German keymap

2015-11-13 Thread Simon Glass
On 11 November 2015 at 20:51, Bin Meng wrote: > Hi Simon, > > On Thu, Nov 12, 2015 at 1:05 AM, Simon Glass wrote: >> Add support for the German keymap, taken from i8042.c. This can be selected >> when the input library it initialised. >> >> Signed-off-by: Simon Glass >> --- >> > > Reviewed-by: B

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-13 Thread Simon Glass
Hi Bin, On 13 November 2015 at 01:11, Bin Meng wrote: > There are timers with a 64-bit counter value but current timer > uclass driver assumes a 32-bit one. Modify timer_get_count() > to ask timer driver to always return a 64-bit counter value, > and provide an inline helper function timer_conv_6

Re: [U-Boot] [RFC PATCH] lib/tiny-printf.c: Add tiny printf function for space limited environments

2015-11-13 Thread Simon Glass
Hi Stefan, On 11 November 2015 at 07:25, Stefan Roese wrote: > This patch adds a small printf() version that supports all basic formats. > Its intented to be used in U-Boot SPL versions on platforms with very > limited internal RAM sizes. > > To enable it, just define CONFIG_USE_TINY_PRINTF in yo

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-13 Thread Simon Glass
On 13 November 2015 at 11:23, Alexey Brodkin wrote: > Hi Simon, > > On Fri, 2015-11-13 at 11:14 -0700, Simon Glass wrote: >> Hi Alexey, >> >> On 12 November 2015 at 14:56, Alexey Brodkin >> wrote: >> > Up until now there was no need in those stubs. >> > >> > But since following commit compilation

Re: [U-Boot] [PATCH] board: axs10x switch serial port and Ethernet to driver model

2015-11-13 Thread Simon Glass
On 13 November 2015 at 11:26, Alexey Brodkin wrote: > With this change Synopsys DesignWare SDP board is switched to driver > model for both serial port (serial_dw) and Ethernet (Designware GMAC). > > This simplifies include/configs/axs101.h and allows for reuse of Linux's > Device Tree description

Re: [U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 09:34:09 PM, Stephen Warren wrote: > From: Stephen Warren > > When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a > GET_REPORT control transfer to retrieve the initial state of the > keyboard. This matches the technique used to poll the keyboard state.

Re: [U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 07:10:42 PM, Alexey Brodkin wrote: > Similarly to Linux kernel it's nice to have generic driver for > EHCI-compatible host controllers. > > This implementation is very minimalistic and doesn't have any > platform-specific glue code nor phy-related operations. > > F

Re: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 05:03:01 PM, Stephen Warren wrote: > From: Ted Chen Hi, > This patch adds driver support for the Realtek RTL8152B/RTL8153 USB > network adapters. > > Signed-off-by: Ted Chen > [swarren, fixed a few compiler warnings] > [swarren, with permission, converted licens

Re: [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy()

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 05:03:00 PM, Stephen Warren wrote: > From: Stephen Warren > > The Linux kernel, from which checkpatch originates, contains function > ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns > that it should be used in preference to memcpy() where app

Re: [U-Boot] [PATCH V2 07/12] board: LaCie: Move common headers to board-common directory

2015-11-13 Thread Nishanth Menon
On 11/13/2015 09:32 AM, Simon Guinot wrote: > On Fri, Nov 13, 2015 at 09:06:45AM -0500, Tom Rini wrote: >> On Fri, Nov 13, 2015 at 11:30:43AM +0100, Simon Guinot wrote: >>> Hi Nishanth, >>> >>> On Thu, Nov 12, 2015 at 11:43:37PM -0600, Nishanth Menon wrote: Header files can be located in a gen

Re: [U-Boot] [PATCH v5 12/21] rockchip: rk3036: Add pinctrl driver

2015-11-13 Thread Ariel D'Alessandro
Hi Lin, El 10/11/15 a las 07:24, Lin Huang escribió: > Add a driver which support pin multiplexing setup for rk3036 > > Signed-off-by: Lin Huang > Acked-by: Simon Glass > --- > Changes in v1: > - clean copyright announcement > Changes in v2: None > Changes in v3: > - fix some coding style error

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-13 Thread Simon Glass
Hi Hans, On 12 November 2015 at 07:08, Hans de Goede wrote: > Hi, > > On 11-11-15 19:15, Simon Glass wrote: >> >> Hi Hans, >> >> On 11 November 2015 at 10:02, Hans de Goede >> wrote: > > > > >>> Ok, I've ran a whole battery of tests on your u-boot-dm/usb-working >>> branch. >> >> >> Thanks! >>

[U-Boot] [PATCH] usb: kbd: don't use int xfers when polling via ctrl xfers

2015-11-13 Thread Stephen Warren
From: Stephen Warren When CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP is enabled, use a GET_REPORT control transfer to retrieve the initial state of the keyboard. This matches the technique used to poll the keyboard state. This is useful since it eliminates the remaining use of interrupt transfers f

[U-Boot] Hang on Test: dm_test_net_retry Using eth@10004000 device

2015-11-13 Thread Simon Glass
Hi Joe, This test is hanging for me: $ ./test/dm/test-dm.sh ... Test: dm_test_net_retry Using eth@10004000 device (hangs here) Do you know what might be going on? Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman

Re: [U-Boot] [U-Boot, v2] vexpress64: use 2nd DRAM bank only on juno

2015-11-13 Thread Linus Walleij
On Fri, Nov 13, 2015 at 2:36 PM, Ryan Harkin wrote: >> Didn't I ask for some changes on that PCIe patch? >> > > Good point. I thought you'd grudgingly accepted it, but I see your > last comment was: > > "Yes, thanks. I think it's just a style thing then. We don't do a lot > of static inline no

[U-Boot] [RESEND PATCH v5 6/6] cgtqmx6eval: Add DFU support

2015-11-13 Thread Otavio Salvador
Add MMC and SPI DFU support. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None include/configs/cgtqmx6eval.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/cgtqmx6eval.h b/include/configs/cgtqmx6eval.h index 79fc0f6..487c011 100644 ---

[U-Boot] [RESEND PATCH v5 3/6] cgtqmx6eval: Add fastboot support

2015-11-13 Thread Otavio Salvador
Tested basic fastboot commands, such as: On the U-boot prompt: => fastboot 0 On the host PC: $ fastboot getvar bootloader-version -i 0x0525 bootloader-version: U-Boot 2015.10-rc2-09654-g8f41d27 finished. total time: 0.000s $ fastboot reboot -i 0x0525 --> board reboots fine. Signed-off-by: Ota

[U-Boot] [RESEND PATCH v5 5/6] iomux-v3: Take MX6D in consideration for imx_iomux_v3_setup_pad()

2015-11-13 Thread Otavio Salvador
We should also take MX6D option in consideration when defining imx_iomux_v3_setup_pad(). Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None arch/arm/include/asm/imx-common/iomux-v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/as

[U-Boot] [RESEND PATCH v5 2/6] cgtqmx6eval: Use SPI NOR to store the environment

2015-11-13 Thread Otavio Salvador
Congatec boards boot from SPI NOR, so it makes more sense to use SPI NOR to store the environment variables. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None include/configs/cgtqmx6eval.h | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff

[U-Boot] [RESEND PATCH v5 4/6] cgtqmx6eval: Add SPL support

2015-11-13 Thread Otavio Salvador
Congatec has several MX6 boards based on quad, dual, dual-lite and solo. Add SPL support so that all the variants can be supported Signed-off-by: Otavio Salvador --- Changes in v5: - Add missing CONFIG_BOARD_LATE_INIT - Fix checkpatch error - Use erase/write as update seems to not work Changes

[U-Boot] [RESEND PATCH v5 1/6] cgtqmx6eval: Add SPI NOR flash support

2015-11-13 Thread Otavio Salvador
Add SPI NOR support: => sf probe SF: Detected SST25VF032B with page size 256 Bytes, erase size 4 KiB, total 4 MiB Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 23 +++ include/configs/cgtqmx6eval.h

[U-Boot] [PATCH] board: axs10x switch serial port and Ethernet to driver model

2015-11-13 Thread Alexey Brodkin
With this change Synopsys DesignWare SDP board is switched to driver model for both serial port (serial_dw) and Ethernet (Designware GMAC). This simplifies include/configs/axs101.h and allows for reuse of Linux's Device Tree description. For simplicity Linux's .dts files are not blindly copied bu

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-13 Thread Alexey Brodkin
Hi Simon, On Fri, 2015-11-13 at 11:14 -0700, Simon Glass wrote: > Hi Alexey, > > On 12 November 2015 at 14:56, Alexey Brodkin > wrote: > > Up until now there was no need in those stubs. > > > > But since following commit compilation of U-Boot on ARC is broken: > > >8

Re: [U-Boot] [PATCH v2] common: add CMD_GPIO to Kconfig

2015-11-13 Thread Simon Glass
On 11 November 2015 at 06:39, Thomas Chou wrote: > Add CMD_GPIO to Kconfig and run tools/moveconfig.py . > > Signed-off-by: Thomas Chou > --- > v2 > run tools/moveconfig.py. Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH v3 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-13 Thread Simon Glass
Hi Stephen, On 13 November 2015 at 09:41, Stephen Warren wrote: > On 11/12/2015 09:57 AM, Simon Glass wrote: >> >> This series converts all Tegra boards to use driver model for PCI. The net >> effect should be no change in functionality. > > > I applied this series on top of current u-boot/master

Re: [U-Boot] [PATCH] arc: add stubs for map_physmem() and unmap_physmem()

2015-11-13 Thread Simon Glass
Hi Alexey, On 12 November 2015 at 14:56, Alexey Brodkin wrote: > Up until now there was no need in those stubs. > > But since following commit compilation of U-Boot on ARC is broken: > >8-- > commit 7861204c9af7fec1ea9b41541c272516235a6c93 > Author: Ste

Re: [U-Boot] [PATCH] buildman: README: add links for toolchains not available on kernel.org

2015-11-13 Thread Simon Glass
On 11 November 2015 at 19:23, Bin Meng wrote: > On Thu, Nov 12, 2015 at 10:19 AM, Marek Vasut wrote: >> On Thursday, November 12, 2015 at 02:16:05 AM, Thomas Chou wrote: >>> Hi Marek, >> >> Hi! >> >>> On 2015年11月11日 23:54, Marek Vasut wrote: >>> > On Wednesday, November 11, 2015 at 02:37:08 PM, T

Re: [U-Boot] [PATCH v5 21/21] rockchip: doc: show packet rk3036 uboot image

2015-11-13 Thread Simon Glass
On 10 November 2015 at 03:24, Lin Huang wrote: > show how to packet rk3036 uboot image and boot from SD > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: > - fix some spell error > Changes in v5: > - Adviced by Simon: > - add evb

Re: [U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > This series patch bring up rk3036 uboot, since rk3036 only 4K size > SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, > and back to bootrom when finish ddr initial, and boot up second stage > from bootrom.You can boot t

Re: [U-Boot] [PATCH v5 15/21] rockchip: add early uart driver

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > add early uart driver so we can print debug message in > SPL stage > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - pass uart base address to rk_uart_init() function > Changes in v4: None

Re: [U-Boot] [PATCH v5 16/21] rockchip: add rk3036 sdram driver

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > add rk3036 sdram driver so we can set up sdram in SPL > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - fix some code style error > Changes in v4: > - modify code advice by Simon Glass > Ch

Re: [U-Boot] [PATCH v5 17/21] rockchip: rk3036: Add core Soc start-up code

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > rk3036 only 4K size SRAM for SPL, so only support > timer, uart, sdram driver in SPL stage, when finish > initial sdram, back to bootrom.And in rk3036 sdmmc and > debug uart use same iomux, so if you want to boot from > sdmmc, you must disa

Re: [U-Boot] [PATCH v5 19/21] rockchip: Add max init size & chip tag configs

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > From: Jeffy Chen > > Our chips may have different sram size limits and chip tag, so > we need to add configs for that. > > Signed-off-by: Jeffy Chen > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4:

Re: [U-Boot] [PATCH v5 18/21] rockchip: Add basic support for evb-rk3036 board

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > This add some basic files required to allow the board to dispaly > serial message and can run command(mmc info etc) > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - get sdram info fr

Re: [U-Boot] [PATCH v5 14/21] rockchip: mmc: get the fifo mode and fifo depth property from dts

2015-11-13 Thread Simon Glass
Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > rk3036 mmc do not have internal dma, so we use fifo mode when read > and write data, we get the fifo mode and fifo depth property from > dts, pass to dw_mmc driver. > > Signed-off-by: Lin Huang > --- > arch/arm/dts/rk3036.dtsi | 1 +

Re: [U-Boot] [PATCH v5 05/21] dm: core: Add SPL Kconfig for REGMAP and SYSCON

2015-11-13 Thread Simon Glass
On 10 November 2015 at 03:24, Lin Huang wrote: > Add SPL Kconfig for REGMAP and SYSCON, so REGMAP and SYSCON can > remove from SPL stage. > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - fix compile error > Changes in v4: None > Changes in v5: No

Re: [U-Boot] [PATCH v5 13/21] mmc: dw_mmc: support fifo mode in dwc mmc driver

2015-11-13 Thread Simon Glass
+Pantelis (mmc maintainer) Hi Lin, On 10 November 2015 at 03:24, Lin Huang wrote: > some soc(rk3036 etc) use dw_mmc but do not have internal dma, > so we implement fifo mode to read and write data. > > Signed-off-by: Lin Huang > --- > drivers/mmc/dw_mmc.c | 81 > ++

[U-Boot] [PATCH] usb: add support for generic EHCI devices

2015-11-13 Thread Alexey Brodkin
Similarly to Linux kernel it's nice to have generic driver for EHCI-compatible host controllers. This implementation is very minimalistic and doesn't have any platform-specific glue code nor phy-related operations. For example this allows usage of USB-storage devices with Synopsys DesignWare AXS1

Re: [U-Boot] [PATCH 10/10] sunxi: Add suport for A83T HomletV2 Board by Allwinner

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Add dts and defconfig for h8homletv2 board. H8Homlet Proto v2.0 Board is A83T Dev Board by Allwinner. It has UART, ethernet, USB, HDMI, etc ports on it. A83T patches are tested on this board. For FEL mode it needs USB A-A(Male) cable. I used uart0

Re: [U-Boot] [PATCH 09/10] sunxi: dts: sun8i: Add Allwinner A83T dtsi

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Allwinner A83T is new octa-core cortex-a7 SOC. This adds the basic dtsi, the clocks differs from earlier sun8i SOCs. This is not yet included in kernel. Signed-off-by: Vishnu Patekar --- arch/arm/dts/sun8i-a83t.dtsi | 247

Re: [U-Boot] [PATCH 07/10] sunxi: Add support for Allwinner A83T DRAM

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Add support for A83T dram. Register are different from sun8i A33. init code is similar to A33 dram init. hope we'll shift duplicate code in dram_sun8i_* to dram helper in future. Signed-off-by: Vishnu Patekar This one looks good as is. Regards,

Re: [U-Boot] [PATCH 08/10] sunxi: do not include display for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Currently, there no display support for A83T. Signed-off-by: Vishnu Patekar Please merge this one into the "sunxi: Add Machine Support for A83T SOC" commmit. Regards, Hans --- board/sunxi/Kconfig | 1 + 1 file changed, 1 insertion(+) diff

Re: [U-Boot] [PATCH 05/10] sunxi: do not enable smp for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: When smp is enabled for A83T, intermittent hang is observed after booting kernel. for now do not enable the smp for CPU0. This has to be fixed. Also, fixed the space at line start warning at these two lines. Signed-off-by: Vishnu Patekar --- arch

Re: [U-Boot] [PATCH 06/10] sunxi: clk: add basic clocks for A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Add basic clocks pll1, pll5, and some default values from allwinner u-boot. Signed-off-by: Vishnu Patekar This one looks good as is. Regards, Hans --- arch/arm/cpu/armv7/sunxi/Makefile | 4 + arch/arm/cpu/armv7/sunxi/cloc

Re: [U-Boot] [PATCH 04/10] sunxi: power: enabled support for axp818

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Enabled support for AXP818 in SPL and u-boot. DCDC1, DCDC2, DCDC3 and DCSC5 are enabled. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/pmic_bus.c | 15 +++ board/sunxi/board.c

Re: [U-Boot] [PATCH 03/10] sunxi: power: axp818: add support for axp818 driver

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: AXP818 is rsb based PMIC and used on Allwinner A83T H8 Homlet dev board. It's registers are different and calculating reg config is different than that of earlier axp power ICs. DCDC1, DCDC2, DCDC3 and DCDC5 is implemented at the moment. all other vo

Re: [U-Boot] [PATCH 01/10] sunxi: Add Machine Support for A83T SOC

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: Allwinner A83T is octa-core cortex-a7 SOC. This enables support for A83T. Signed-off-by: Vishnu Patekar --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 2 ++ board/sunxi/Kconfig | 11 ++- include/configs/sun8i.h

Re: [U-Boot] [PATCH 02/10] sunxi: Add support for UART0 in PB pin group on A83T

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: On A83T, PB9,PB10 are UART0 pins. On allwinner A83T Dev board(h8homlet), this uart0 serial connector is exposed. Signed-off-by: Vishnu Patekar This one looks good as is. Regards, Hans --- arch/arm/cpu/armv7/sunxi/board.c | 4 arc

Re: [U-Boot] [PATCH 00/10] basic support for Allwinner A83T SOC.

2015-11-13 Thread Chen-Yu Tsai
On Sat, Nov 14, 2015 at 12:52 AM, Hans de Goede wrote: > Hi, > > On 12-11-15 19:09, Vishnu Patekar wrote: >> >> This patch series adds basic support for Allwinner A83T SOC. >> >> Allwinner A83T is octa-core cortex-a7 based SoC. >> It's clock control unit and prcm, pinmux are different from previou

Re: [U-Boot] [PATCH 00/10] basic support for Allwinner A83T SOC.

2015-11-13 Thread Hans de Goede
Hi, On 12-11-15 19:09, Vishnu Patekar wrote: This patch series adds basic support for Allwinner A83T SOC. Allwinner A83T is octa-core cortex-a7 based SoC. It's clock control unit and prcm, pinmux are different from previous sun8i series. Its processor cores are arragned in two clusters 4 cores

Re: [U-Boot] [PATCH v3 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-13 Thread Stephen Warren
On 11/12/2015 09:57 AM, Simon Glass wrote: This series converts all Tegra boards to use driver model for PCI. The net effect should be no change in functionality. I applied this series on top of current u-boot/master. On Jetson TK1 (T124), I see the following errors when U-Boot starts: Net:

  1   2   >