[U-Boot] [PATCH v1] armv8: fsl-layerscape: Fix "cpu release" command

2015-11-12 Thread York Sun
When one core is released, other cores may not have valid entry address. Those cores are trapped by "wfe" and wait for further instruction. When their address is set, they need to be kicked off by "sev". Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/mp.c

[U-Boot] [PATCH 13/14] dm: pci: Convert 'pci' command to driver model

2015-11-12 Thread Simon Glass
Adjust this command to use the correct PCI functions, instead of the compatibility layer. Signed-off-by: Simon Glass --- common/cmd_pci.c | 126 --- include/common.h | 1 - 2 files changed, 121 insertions(+), 6

[U-Boot] [PATCH 07/14] dm: pci: Move common auto-config functions to a common file

2015-11-12 Thread Simon Glass
Some functions will be used by driver model and legacy PCI code. To avoid duplication, put these in a separate, shared file. Signed-off-by: Simon Glass --- drivers/pci/Makefile | 2 +- drivers/pci/pci_auto_common.c | 128 ++

[U-Boot] [PATCH 12/14] pci: Move PCI header output code into its own function

2015-11-12 Thread Simon Glass
We want to share this code with the driver model version, so put it in a separate function. Signed-off-by: Simon Glass --- common/cmd_pci.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/common/cmd_pci.c b/common/cmd_pci.c index

[U-Boot] [PATCH 08/14] dm: pci: Reorder functions in cmd_pci.c

2015-11-12 Thread Simon Glass
Before converting this to driver model, reorder the code to avoid forward function declarations. Signed-off-by: Simon Glass --- common/cmd_pci.c | 216 +++ 1 file changed, 106 insertions(+), 110 deletions(-) diff --git

[U-Boot] [PATCH 11/14] pci: Use a separate 'dev' variable for the PCI device

2015-11-12 Thread Simon Glass
In the 'pci' command, add a separate variable to hold the PCI device. When this code is converted to driver model, this variable will be used to hold a struct udevice instead. Signed-off-by: Simon Glass --- common/cmd_pci.c | 18 +- 1 file changed, 9

[U-Boot] [PATCH 14/14] dm: pci: Disable PCI compatibility functions by default

2015-11-12 Thread Simon Glass
We eventually need to drop the compatibility functions for driver model. As a first step, create a configuration option to enable them and hide them when the option is disabled. Signed-off-by: Simon Glass --- arch/arm/mach-tegra/Kconfig | 2 ++ arch/x86/Kconfig|

Re: [U-Boot] mmc erase fails from U-Boot command line

2015-11-12 Thread Fabio Estevam
Hi Hector and Cliff, On Mon, Oct 19, 2015 at 9:06 AM, Hector Palacios wrote: > This issue is reproducible on Freescale's SABRESD on both SD card and eMMC > with > v2015.04. The issue has been there always, I believe. > Apparently the command erases the first block,

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

2015-11-12 Thread Tom Rini
On Mon, Oct 26, 2015 at 11:00:22AM +, Ryan Harkin wrote: > This patch makes the 2nd DRAM bank available on Juno only and not on > other vexpress64 targets, eg. the FVP models. > > The commit below added a 2nd bank of NOR flash for Juno, but also for > all vexpress64 targets: > > commit

[U-Boot] [PATCH] arc: add empty asm/processor.h to satisfy compilation of USB code

2015-11-12 Thread Alexey Brodkin
common/usb.c unconditionally includes And now to allow USB support on ARC boards we have to have that header. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/processor.h | 12 1 file changed, 12 insertions(+) create mode 100644

[U-Boot] [PATCH 04/14] pci: Refactor the pciinfo() function

2015-11-12 Thread Simon Glass
This function uses macros to output data. It seems better to use a table of registers rather than macro-based code generation. It also reduces the code/data size by 2KB on ARM. Signed-off-by: Simon Glass --- common/cmd_pci.c | 235

[U-Boot] [PATCH 06/14] dm: pci: Rename pci_auto.c to pci_auto_old.c

2015-11-12 Thread Simon Glass
This file should not be used with driver model as it has lots of legacy/ compatibility functions. Rename it to make this clear. Signed-off-by: Simon Glass --- drivers/pci/Makefile | 2 +- drivers/pci/{pci_auto.c => pci_auto_old.c} | 0 2 files changed,

[U-Boot] [PATCH 09/14] pci: Use common functions to read/write config

2015-11-12 Thread Simon Glass
Currently we using switch() and access PCI configuration via several functions, one for each data size. Adjust the code to use generic functions, where the data size is a parameter. Signed-off-by: Simon Glass --- common/cmd_pci.c | 49

[U-Boot] [PATCH 10/14] pci: Fix pci_field_width() for 32-bit values

2015-11-12 Thread Simon Glass
This should return 8, not 32. Fix it. Signed-off-by: Simon Glass --- common/cmd_pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 306e734..747d6b9 100644 --- a/common/cmd_pci.c +++ b/common/cmd_pci.c @@ -36,7

[U-Boot] [PATCH 03/14] pci: Use a separate variable for the bus number

2015-11-12 Thread Simon Glass
At present in do_pci(), bdf can either mean a bus number or a PCI bus number. Use separate variables instead to reduce confusion. Signed-off-by: Simon Glass --- common/cmd_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_pci.c

[U-Boot] [PATCH 02/14] pci: Use a common return in command processing

2015-11-12 Thread Simon Glass
Adjust the commands to return from the same place. Signed-off-by: Simon Glass --- common/cmd_pci.c | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/common/cmd_pci.c b/common/cmd_pci.c index 4f4c341..5762769 100644 ---

Re: [U-Boot] [PATCH] rockchip: Turn on CONFIG_DEBUG_LL for firefly

2015-11-12 Thread Ezequiel Garcia
On 12 November 2015 at 18:42, Ariel D'Alessandro wrote: > CONFIG_DEBUG_UART is enabled in defconfig, but there's no Low-level > debugging functions implemented, so build fails because of undefined > references to `printch' in common/console.c. > In order to fix this,

[U-Boot] [PATCH 01/14] pci: Move 'pci scan' code in with other commands

2015-11-12 Thread Simon Glass
At present the 'pci scan' code has its own code path. Adjust it so that it can be placed with the rest of the command processing code. This will allow us to use common set code for all commands. Signed-off-by: Simon Glass --- common/cmd_pci.c | 9 ++--- 1 file changed, 6

[U-Boot] [PATCH 00/14] dm: pci: Support native driver model calls

2015-11-12 Thread Simon Glass
At present driver model supports PCI, but most of the code in U-Boot still uses the old API. This series changes the 'pci' command so that the new API is used. The old API is placed behind a 'compatibility' option. The overall goal is to deprecate the old API and remove all use of it. The

Re: [U-Boot] [PATCH] arm: socfpga: reset: FIX address of tstscratch register

2015-11-12 Thread Marek Vasut
On Thursday, November 12, 2015 at 06:23:10 PM, Philipp Rosenberger wrote: > The Cyclone V Hard Processor System Technical Reference Manual in the > chapter about the Reset Manager Module Address Map stats that the offset > of the tstscratch register ist 0x54 not 0x24. > > Cyclone V Hard Processor

[U-Boot] Pull request, u-boot-tegra/master

2015-11-12 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All tegra builds are OK (32-bit and 64-bit), and P2571 T210 64-bit boots to cmd prompt OK. The following changes since commit 038be18fd95aa6283eafb85ceabc0b880976424b: nios2: add 3c120 and 10m50 devboards MAINTAINERS

[U-Boot] [PATCH 05/14] dm: pci: Add a comment about how to find struct pci_controller

2015-11-12 Thread Simon Glass
With driver mode, struct pci_controller is stored as uclass-private data. Add a comment to that effect. Signed-off-by: Simon Glass --- include/pci.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/pci.h b/include/pci.h index 9c19482..c4f6577 100644 ---

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > We should request keyboard to turn on/off its LED when detecting > any changes on the LEDs. > > Signed-off-by: Bin Meng > --- > > drivers/input/input.c | 9 + > 1 file changed, 9 insertions(+)

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > When 'Num Lock' is not on, we should not send these digit numbers > (0-9 and dot) to the output buffer. > > Signed-off-by: Bin Meng > --- > > drivers/input/input.c | 6 ++ > 1 file changed, 6

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > When sending LED update command to an i8042 compatible keyboard, > bit1 is 'Num Lock' and bit2 is 'Caps Lock' in the data byte. But > input library defines bit1 as 'Caps Lock' and bit2 as 'Num Lock'. > This causes a wrong LED to

Re: [U-Boot] [PATCH v2 15/16] arm: dts: am4372: add qspi register maps for memory map

2015-11-12 Thread Mugunthan V N
On Sunday 08 November 2015 07:02 PM, Tom Rini wrote: > On Wed, Nov 04, 2015 at 01:46:23PM +0530, Mugunthan V N wrote: >> Add qspi memory map address to device tree. >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH] dm: core: Kconfig: set OF_TRANSLATE default value to n

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 09:11 PM, Stephen Warren wrote: > On 11/06/2015 05:19 AM, Stefan Roese wrote: >> +Stephan Warren & Thomas Chou >> >> On 06.11.2015 13:08, Simon Glass wrote: >>> +Stefan >>> >>> Hi Mugunthan, >>> >>> On 4 November 2015 at 07:25, Mugunthan V N wrote:

Re: [U-Boot] [PATCH 2/2] ARM: am43xx: Enable QUAD read and EDMA support for ti_qspi

2015-11-12 Thread Mugunthan V N
On Tuesday 10 November 2015 11:52 AM, Vignesh R wrote: > Enable TI_EDMA3 and QUAD read support for ti_qspi on am43xx, this > increases read performance to 4 MB/s. > > Signed-off-by: Vignesh R > --- Reviewed-by: Mugunthan V N Regards Mugunthan V N

Re: [U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N wrote: >> Add compatible for spansion 32MiB spi flash s25fl256s1. >> >> Signed-off-by: Mugunthan V N >> --- >>

Re: [U-Boot] aarch64-linux-gnu-objdump gives all zeros in init_sequence_f[]

2015-11-12 Thread Shawn Guo
Hi Albert, On Thu, Nov 12, 2015 at 08:20:18AM +0100, Albert ARIBAUD wrote: > Can you provide the target name and commit ID that you are building, > s well as the version of the toolchain that you are building with? > Without being able to reproduce your issue, it's kind of hard to > diagnose it.

Re: [U-Boot] [PATCH v2 14/16] am43xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > Since spl doesn't support DM currently on

Re: [U-Boot] [PATCH v2 06/16] dra7xx_evm: qspi: do not define DM_SPI and DM_SPI_FLASH for spl

2015-11-12 Thread Mugunthan V N
On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > Hi Mugunthan, > > On 4 November 2015 at 01:16, Mugunthan V N wrote: >> > Since spl doesn't support DM currently, do not define DM_SPI and >> > DM_SPI_FLASH for spl build. > Do you mean 'Since OMAP's SPL doesn't

Re: [U-Boot] [PATCH 1/2] spi: ti_qspi: Add dummy readl for bus sync

2015-11-12 Thread Mugunthan V N
On Tuesday 10 November 2015 11:52 AM, Vignesh R wrote: > Add dummy readl after invalidating cmd field of QSPI_CMD_REG to ensure > bus sync. Without this device's CS is not deactivated reliably leading > to failure to enumerate flash or failure to set quad enable bit on > Macronix flash present on

Re: [U-Boot] aarch64-linux-gnu-objdump gives all zeros in init_sequence_f[]

2015-11-12 Thread Shawn Guo
On Thu, Nov 12, 2015 at 07:36:02AM +0100, Ard Biesheuvel wrote: > On 12 November 2015 at 06:43, Shawn Guo wrote: > > Here are my questions: > > > > - Is this only because that ARM 64-bit toolchain doesn't show the real > > value of the pointers, or there are some linking

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

2015-11-12 Thread Thomas Chou
Hi Albert, On 2015年11月12日 15:17, Albert ARIBAUD wrote: diff --git a/common/init/board_init.c b/common/init/board_init.c index 8839a4a..703e6d8 100644 --- a/common/init/board_init.c +++ b/common/init/board_init.c @@ -46,6

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

2015-11-12 Thread Mugunthan V N
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 maps to device tree. >> >> Signed-off-by: Mugunthan V N >> Reviewed-by: Simon Glass

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

2015-11-12 Thread Ben Chan
On Tue, Nov 10, 2015 at 2:24 AM, 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: > -

Re: [U-Boot] [U-Boot, v2, 13/14] sunxi: A13-Olinuxino: Enable the USB OTG controller

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:21PM +0200, Maxime Ripard wrote: > The A13-Olinuxino has a mini-USB connector that can be used to power up > the board and as an OTG connector. > > Since we have already some USB host-only ports right beside this one, > enable it in gadget mode > > Signed-off-by:

Re: [U-Boot] [U-Boot, v2, 14/14] sunxi: cubietruck: Enable the USB OTG controller

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:22PM +0200, Maxime Ripard wrote: > The Cubietruck has a mini-USB connector that can be used to power up the > board and as an OTG connector. > > Since we have already some USB host-only ports right beside this one, > enable it in gadget mode > > Signed-off-by:

Re: [U-Boot] include/linux/mtd: Update copyright notices

2015-11-12 Thread Tom Rini
On Fri, Oct 23, 2015 at 09:37:47AM -0400, Tom Rini wrote: > Condense these updates down to SPDX tags too while doing this. This is > a port of a1452a3771c4eb85bd779790b040efdc36f4274e from the Linux > Kernel. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 1/5] driver: gpio: hikey: Fix pointer conversion warnings for hikey

2015-11-12 Thread Tom Rini
On Sun, Oct 25, 2015 at 01:18:12PM +0530, Prabhakar Kushwaha wrote: > Fix below compilation warnings- > drivers/gpio/hi6220_gpio.c: In function ‘hi6220_gpio_probe’: > drivers/gpio/hi6220_gpio.c:82:15: warning: cast to pointer from integer > of different size [-Wint-to-pointer-cast] > bank->base

Re: [U-Boot] [U-Boot, 2/5] driver: dwmmc: Fix pointer conversion warnings for hikey

2015-11-12 Thread Tom Rini
On Sun, Oct 25, 2015 at 01:18:25PM +0530, Prabhakar Kushwaha wrote: > Fix below compilation warings happening for hikey_defconfig > > drivers/mmc/dw_mmc.c: In function ‘dwmci_set_idma_desc’: > drivers/mmc/dw_mmc.c:43:20: warning: cast from pointer to integer > of different size

Re: [U-Boot] [U-Boot, v3, 3/3] uuid: add selection by string for known partition type GUID

2015-11-12 Thread Tom Rini
On Tue, Oct 27, 2015 at 11:00:28AM +0100, Patrick Delaunay wrote: > short strings can be used in type parameter of gpt command > to replace the guid string for the types known by u-boot > > partitions = name=boot,size=0x6bc00,type=data; \ >

Re: [U-Boot] pci: fix checking PCI_REGION_MEM in pci_hose_phys_to_bus()

2015-11-12 Thread Tom Rini
On Fri, Oct 23, 2015 at 09:48:01PM +, Cheng Gu wrote: > When converting between PCI bus and phys addresses, a two pass search > was introduced with preference to non-PCI_REGION_SYS_MEMORY regions. > See commit 2d43e873a29ca4959ba6a30fc7fb396d3fd0dccf. > > However, since PCI_REGION_MEM is

Re: [U-Boot] board/ti/am335x: beaglebone stop muxing i2c1_pin_mux

2015-11-12 Thread Tom Rini
On Wed, Oct 21, 2015 at 09:25:55AM -0500, robertcnel...@gmail.com wrote: > On the BeagleBone these i2c1 pins are routed to the expanasion header, where > they can be defined as either pr1_usart0_Xxd/pwm0/spi0/i2c1, dont assume i2c1 > > Fixes:

Re: [U-Boot] mmc: Use lldiv() for 64-bit division in write_raw_image()

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 06:24:16AM +0200, Siarhei Siamashka wrote: > This fixes compilation problems when using a hardfloat toolchain on > ARM, which manifest themselves as "libgcc.a(_udivmoddi4.o) uses > VFP register arguments, u-boot does not". > > These problems have been reported in the

Re: [U-Boot] [U-Boot, v3, 2/3] gpt: add optional parameter type in gpt command

2015-11-12 Thread Tom Rini
On Tue, Oct 27, 2015 at 11:00:27AM +0100, Patrick Delaunay wrote: > code under flag CONFIG_PARTITION_TYPE_GUID > add parameter "type" to select partition type guid > > example of use with gpt command : > > partitions = uuid_disk=${uuid_gpt_disk}; \ >

Re: [U-Boot] [U-Boot, v3, 1/3] part:efi: add GUID for linux file system data

2015-11-12 Thread Tom Rini
On Tue, Oct 27, 2015 at 11:00:26AM +0100, Patrick Delaunay wrote: > Previously, Linux used the same GUID for the data partitions as Windows > (Basic data partition: EBD0A0A2-B9E5-4433-87C0-68B6B72699C7). > This created problems when dual-booting Linux and Windows in UEFI-GPT > Setup, so a new

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > Convert to use driver model keyboard on Intel Crown Bay. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/crownbay.dts | 1 + > include/configs/crownbay.h | 2 +- > 2 files changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH v3] board_init: Change the logic to setup malloc_base

2015-11-12 Thread Simon Glass
On 12 November 2015 at 07:30, Fabio Estevam wrote: > Prior to commit 5ba534d247d418 ("arm: Switch 32-bit ARM to using generic > global_data setup") we used to have assembly code that configured the > malloc_base address. > > Since this commit we use the

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > Currently keyboard's LED state is wrongly saved to config->leds in > process_modifier(). It should really be config->flags. > > Signed-off-by: Bin Meng > --- > > drivers/input/input.c | 2 +- > 1 file

Re: [U-Boot] [PATCH v3 00/12] dm: input: Move keyboard drivers to driver model

2015-11-12 Thread Simon Glass
Hi Bin, On 12 November 2015 at 06:33, Bin Meng wrote: > Hi Simon, > > On Thu, Nov 12, 2015 at 11:56 AM, Bin Meng wrote: >> Hi Simon, >> >> On Thu, Nov 12, 2015 at 5:56 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 11 November 2015 at

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

2015-11-12 Thread Simon Glass
On 12 November 2015 at 06:33, Bin Meng wrote: > Convert to use driver model keyboard on QEMU. > > Signed-off-by: Bin Meng > --- > > arch/x86/dts/qemu-x86_i440fx.dts | 1 + > arch/x86/dts/qemu-x86_q35.dts| 1 + > include/configs/qemu-x86.h | 2 +-

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

2015-11-12 Thread Alexey Brodkin
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: Stephen Warren Date: Sat Oct 3 13:56:46 2015 -0600

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

2015-11-12 Thread Stephen Warren
On 11/12/2015 02:56 PM, 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: commit 7861204c9af7fec1ea9b41541c272516235a6c93 itest: make memory access work under sandbox ... That's because CMD_ITEST is

Re: [U-Boot] [U-Boot,v1,18/18] i2c: soft_i2c: Fix bus indizes

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:39AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Since busses are sorted in alphabetical order, introducing more > than nine busses led to unexpected behaviour. > > Signed-off-by: Dirk Eibach Applied to

Re: [U-Boot] [U-Boot,v1,11/18] mpc83xx: Add strider board

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:32AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > The gdsys strider board is based on a Freescale MPC8308 SOC. > It boots from NOR-Flash, kernel and rootfs are stored on > SD-Card. > > On board peripherals include: > - 1x 10/100 Mbit/s

Re: [U-Boot] [U-Boot, v1, 09/18] iocon: reset FPGAs in last_stage_init()

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:30AM +0100, Dirk Eibach wrote: > From: Reinhard Pfau > > - Reset FPGAs in last_stage_init() > > Signed-off-by: Reinhard Pfau > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v1,10/18] hrcon: Remove CH7301 configuration

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:31AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > hrcon has no CH7301 DVI-transmitter. > Probably not removed when copying from iocon. > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v1, 12/18] hrcon: Use generic ioep-fpga support

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:33AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > The strider platform moved some generic code into ioep-fpga.c. > Make use of that on hrcon platform. > > Signed-off-by: Dirk Eibach Applied to u-boot/master,

Re: [U-Boot] [U-Boot,v1,16/18] board: gdsys: Add osdsize command

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:37AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > osdsize adjusts the gdsys IHS osd dimensions in characters. > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot,v1,15/18] hrcon: Add fan controllers

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:36AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v1,13/18] hrcon: Fix videoboard i2c setup

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:34AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > - i2c addresses for the videoboard port expanders were > wrong. > - the fpga reset signal was not initialized. > > Signed-off-by: Dirk Eibach Applied to

Re: [U-Boot] [U-Boot, v1, 14/18] hrcon: Add support for the DH variant

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:35AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > hrcon DH(dual head) has two video outputs per FPGA. > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v1, 17/18] board: gdsys: Enable osd on output only

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:38AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v1, 09/18] iocon: reset FPGAs in last_stage_init()

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:30AM +0100, Dirk Eibach wrote: > From: Reinhard Pfau > > - Reset FPGAs in last_stage_init() > > Signed-off-by: Reinhard Pfau > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v1,03/18] i2c: ihs_i2c: Fix hold_bus control

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:24AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Bus has to be held for repeated start regardless of > read/write access. > > Signed-off-by: Dirk Eibach > Acked-by: Heiko Schocher Applied to

Re: [U-Boot] [U-Boot,v1,01/18] i2c: ihs_i2c: Dual channel support

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:22AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Support two i2c masters per FPGA. > > Signed-off-by: Dirk Eibach > Acked-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 3/5] driver: usb: Fix pointer conversion warnings for hikey

2015-11-12 Thread Tom Rini
On Sun, Oct 25, 2015 at 01:18:41PM +0530, Prabhakar Kushwaha wrote: > Fix below compilation warings happening for hikey_defconfig > > drivers/usb/eth/smsc95xx.c:698:56: warning: cast from pointer to integer > of different size [-Wpointer-to-int-cast] > debug("** %s(), len %d, buf %#x\n",

Re: [U-Boot] [U-Boot, 4/5] driver: net: Fix pointer conversion warnings for xilinx_zynqmp_ep

2015-11-12 Thread Tom Rini
On Sun, Oct 25, 2015 at 01:18:54PM +0530, Prabhakar Kushwaha wrote: > Fix below warnings happening for xilinx_zynqmp_ep_defconfig > > drivers/net/zynq_gem.c: In function ‘zynq_gem_init’: > drivers/net/zynq_gem.c:330:7: warning: cast from pointer to integer > of different size

Re: [U-Boot] [U-Boot, v1, 02/18] i2c: ihs_i2c: Use macro bestpractices

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:23AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Reinhard Pfau complained that macros in ihs_i2c do not follow best practices. > > Signed-off-by: Dirk Eibach > Acked-by: Heiko Schocher Applied to

Re: [U-Boot] [U-Boot, v1, 06/18] board: gdsys: Consider DP501 limits on link training

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:27AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > DP501 only supports DP 1.1a. > Limit settings for link bandwidth and lane count to > values allowed by DP 1.1a. > > Signed-off-by: Dirk Eibach Applied to

Re: [U-Boot] [U-Boot,v1,07/18] dlvision-10g: Support displayport

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:28AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Support dlvision-10g hardware with displayport output. > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v1, 04/18] board: gdsys: Configure DP501 SPDIF input

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:25AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Signed-off-by: Dirk Eibach > Reviewed-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v1, 08/18] controlcenterd: Disable sideband clocks

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:29AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v1, 05/18] board: gdsys: Increase DP501 I2C retry interval

2015-11-12 Thread Tom Rini
On Wed, Oct 28, 2015 at 11:46:26AM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > With Club 3D dual link adapter there are AUX-channel timeouts > when EDID is read. Increasing retry interval time to max (400us) > fixes this. > > Signed-off-by: Dirk Eibach

Re: [U-Boot] [PATCH v1] armv8: fsl-layerscale: Rewrite reserving memory for MC and debug server

2015-11-12 Thread York Sun
Yes, pram is used to reserve small memory from the top of u-boot memory, not necessarily the top of total memory. For example, a 32-bit u-boot with large memory. York Sent on a Sprint Samsung Galaxy Note® II Original message From: Joakim Tjernlund Date:11/12/2015 2:55 PM

Re: [U-Boot] [U-Boot,v2,04/14] sparse: Simplify multiple logic

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:12PM +0200, Maxime Ripard wrote: > To check the alignment of the image blocks to the storage blocks, the > current code uses a convoluted syntax, while a simple mod also does the > work. > > Signed-off-by: Maxime Ripard >

Re: [U-Boot] [U-Boot,v2,09/14] fastboot: Implement NAND backend

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:17PM +0200, Maxime Ripard wrote: > So far the fastboot code was only supporting MMC-backed devices for its > flashing operations (flash and erase). > > Add a storage backend for NAND-backed devices. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [U-Boot, v2, 08/14] sparse: Implement several chunks flashing

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:16PM +0200, Maxime Ripard wrote: > The fastboot client will split the sparse images into several chunks if the > image that it tries to flash is bigger than what the device can handle. > > In such a case, the bootloader is supposed to retain the last offset to >

Re: [U-Boot] [U-Boot, v2, 10/14] fastboot: nand: Add pre erase and write hooks

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:18PM +0200, Maxime Ripard wrote: > Some devices might need to do some per-partition initialization > (ECC/Randomizer settings change for example) before actually accessing it. > > Add some hooks before the write and erase operations to let the boards > define what

Re: [U-Boot] [U-Boot, v2, 05/14] fastboot: Move fastboot response functions to fastboot core

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:13PM +0200, Maxime Ripard wrote: > The functions and a few define to generate a fastboot message to be sent > back to the host were so far duplicated among the users. > > Move them all to a common place. > > Signed-off-by: Maxime Ripard

Re: [U-Boot] [U-Boot, v2, 03/14] sparse: Refactor chunk parsing function

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:11PM +0200, Maxime Ripard wrote: > The chunk parsing code was duplicating a lot of code among the various > chunk types, while all of them could be covered by generic and simple > functions. > > Refactor the current code to reuse as much code as possible and

Re: [U-Boot] [U-Boot, v2, 06/14] sparse: Implement storage abstraction

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:14PM +0200, Maxime Ripard wrote: > The current sparse image parser relies heavily on the MMC layer, and > doesn't allow any other kind of storage medium to be used. > > Rework the parser to support any kind of storage medium, as long as there > is an implementation

Re: [U-Boot] [U-Boot, v2, 07/14] fastboot: Implement flashing session counter

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:15PM +0200, Maxime Ripard wrote: > The fastboot flash command that writes an image to a partition works in > several steps: > > 1 - Retrieve the maximum size the device can download through the > "max-download-size" variable > > 2 - Retrieve the partition type

Re: [U-Boot] [U-Boot,v2,11/14] sparse: Rename the file and header

2015-11-12 Thread Tom Rini
On Thu, Oct 15, 2015 at 02:34:19PM +0200, Maxime Ripard wrote: > The Android sparse image format is currently supported through a file > called aboot, which isn't really such a great name, since the sparse image > format is only used for transferring data with fastboot. > > Rename the file and

Re: [U-Boot] [U-Boot, v2] am43xx_evm: Add DFU support for qspi flash

2015-11-12 Thread Tom Rini
On Thu, Oct 22, 2015 at 11:30:53AM +0530, Vignesh R wrote: > This adds support to update firmware on qspi flash present on > am437x-sk-evm and am43xx-epos-evm via DFU. > > On device: > => setenv dfu_alt_info ${dfu_alt_info_qspi} > => dfu 0 sf 0:0 > > On host: > $ sudo dfu-util -l > $ sudo

Re: [U-Boot] [U-Boot, v2] fdt_support: Check for bank size before updating memory node

2015-11-12 Thread Tom Rini
On Sat, Oct 24, 2015 at 04:52:24PM +0530, Lokesh Vutla wrote: > In case if one of the bank that is passed is of size zero, then u-boot > will be updating memory node with a bank of size zero. There is no need > to update memory node if size is zero, so check for bank size before > updating. > >

Re: [U-Boot] block: ahci: Remove dead code

2015-11-12 Thread Tom Rini
On Sun, Nov 01, 2015 at 01:18:27PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_AHCI_SETFEATURES_XFER is not selected by any user, so delete > the dead code. > > Signed-off-by: Fabio Estevam > Reviewed-by: Bin Meng

Re: [U-Boot] [U-Boot,V2] common: Simplify get_clocks() #ifdef

2015-11-12 Thread Tom Rini
On Fri, Oct 30, 2015 at 05:30:02PM +0800, Peng Fan wrote: > get_clocks is wrapped by CONFIG_FSL_CLK and CONFIG_M68K in seperate > piece code. They can be merged into one snippet. > > Signed-off-by: Peng Fan > Cc: Tom Rini > Cc: Simon Glass

Re: [U-Boot] i2c: Fix pca953x endianess issue

2015-11-12 Thread Tom Rini
On Thu, Oct 29, 2015 at 01:51:27PM +0100, Dirk Eibach wrote: > From: Dirk Eibach > > By reading 2 consecutive bytes from i2c to an u16 value > we have an endianess issue. > > Signed-off-by: Dirk Eibach Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] configs: Use config_distro_defaults.h in ti_armv7_common.h

2015-11-12 Thread Tom Rini
On Thu, Oct 29, 2015 at 09:54:15PM +0300, matwey.korni...@gmail.com wrote: > CONFIG_BOOTDELAY is defined in config_distro_defaults.h > > Signed-off-by: Matwey V. Kornilov Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] pengwyn: nand and ethernet fixes

2015-11-12 Thread Tom Rini
On Mon, Nov 02, 2015 at 06:50:23PM +0100, Vincent BENOIT wrote: > -> Add National instrument ethernet transceiver configuration used (DP83848) > -> Change cpsw slave phy address > -> modify nand configuration to use the correct ECC and correct nand features Applied to u-boot/master, thanks! --

Re: [U-Boot] Fix trini email in the get_maintainer.pl script

2015-11-12 Thread Tom Rini
On Wed, Nov 04, 2015 at 03:55:27PM -0600, Andy Fleming wrote: > Looks like one spot got missed. Probably due to the backslash. > > Signed-off-by: Andy Fleming Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3] board_init: Change the logic to setup malloc_base

2015-11-12 Thread Tom Rini
On Thu, Nov 12, 2015 at 12:30:19PM -0200, Fabio Estevam wrote: > Prior to commit 5ba534d247d418 ("arm: Switch 32-bit ARM to using generic > global_data setup") we used to have assembly code that configured the > malloc_base address. > > Since this commit we use the board_init_f_mem() function in

Re: [U-Boot] spl: Add support for CONFIG_OF_EMBED=y

2015-11-12 Thread Tom Rini
On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote: > CONFIG_OF_EMBED=y is the option which is here only for testing purpose > and shouldn't be enabled by default as is describe at: > "dts: Add a comment about CONFIG_OF_EMBED being for local use" > (sha1:

Re: [U-Boot] openrisc: updating build tools naming convention

2015-11-12 Thread Tom Rini
On Sun, Nov 08, 2015 at 02:37:15PM +, Guillaume REMBERT wrote: > Dear u-boot community, > > I just made a small change on the openrisc-generic platform > configuration to take in account the new naming convention (or1k instead > of or32, so the build process gets fine). > > Could you take

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

2015-11-12 Thread Tom Rini
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 maps to device tree. > >> > >> Signed-off-by: Mugunthan

Re: [U-Boot] [PATCH v2 10/16] drivers: mtd: spi: sf_probe: add compatible for spansion spi flash

2015-11-12 Thread Tom Rini
On Thu, Nov 12, 2015 at 02:42:41PM +0530, Mugunthan V N wrote: > On Friday 06 November 2015 05:37 PM, Simon Glass wrote: > > Hi Mugunthan, > > > > On 4 November 2015 at 01:16, Mugunthan V N wrote: > >> Add compatible for spansion 32MiB spi flash s25fl256s1. > >> > >>

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

2015-11-12 Thread Albert ARIBAUD
Hello Thomas, On Thu, 12 Nov 2015 16:28:38 +0800, Thomas Chou wrote: > Hi Albert, > > On 2015年11月12日 15:17, Albert ARIBAUD wrote: > >> > >> diff --git a/common/init/board_init.c

  1   2   3   >