[U-Boot] [PATCH v2 08/11] x86: tsc: Add driver model timer support

2015-11-12 Thread Bin Meng
This adds driver model timer support to x86 tsc timer driver. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/lib/tsc_timer.c | 65 1 file changed, 65 insertions(+) diff --git a/arch/x86/lib/tsc_timer.c b/arch/x8

[U-Boot] [PATCH v2 09/11] x86: Convert to use driver model timer

2015-11-12 Thread Bin Meng
Convert all x86 boards to use driver model tsc timer. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: - Remove "counter-64bit" property arch/x86/cpu/baytrail/valleyview.c | 3 --- arch/x86/cpu/coreboot/timestamp.c | 22 -- arch/x86/cpu/efi/efi.c

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

2015-11-12 Thread Bin Meng
There are timers with a 64-bit counter value but current timer uclass driver assumes a 32-bit one. Introduce a device tree property "counter-64bit", and modify timer_get_count() in the timer uclass driver to handle the 32-bit/64-bit conversion automatically. Signed-off-by: Bin Meng --- Changes

[U-Boot] [PATCH v2 10/11] x86: tsc: Remove legacy timer codes

2015-11-12 Thread Bin Meng
Now that we have converted all x86 boards to use driver model timer, remove these legacy timer codes in the tsc driver. Note this also removes the TSC_CALIBRATION_BYPASS Kconfig option, as it is not needed with driver model. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None

[U-Boot] [PATCH v2 11/11] x86: tsc: Move tsc_timer.c to drivers/timer

2015-11-12 Thread Bin Meng
To group all dm timer drivers together, move tsc timer to drivers/timer directory. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/lib/Makefile | 1 - drivers/timer/Kconfig | 7 +++ drivers/timer/Makefile

[U-Boot] [PATCH v2 04/11] timer: sandbox: Use device tree to pass the clock frequency

2015-11-12 Thread Bin Meng
We should use device tree to pass the clock frequency of the timer instead of hardcoded in the driver codes. Signed-off-by: Bin Meng --- Changes in v2: - New patch to use device tree to pass the clock frequency arch/sandbox/dts/sandbox.dts | 1 + drivers/timer/sandbox_timer.c | 4 2 fil

[U-Boot] [PATCH v2 06/11] x86: Reomve MIN_PORT80_KCLOCKS_DELAY

2015-11-12 Thread Bin Meng
This is not referenced anywhere. Remove it, as well as tsc_base_kclocks and tsc_prev in the global data. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/cpu/cpu.c | 18 -- arch/x86/include/asm/global_data.h | 2 -- 2 files change

[U-Boot] [PATCH v2 03/11] timer: altera: Remove the codes to get clock frequency

2015-11-12 Thread Bin Meng
Since we have timer uclass to get clock frequency for us, remove the custom version in the altera timer driver. Signed-off-by: Bin Meng Acked-by: Thomas Chou Acked-by: Simon Glass --- Changes in v2: None drivers/timer/altera_timer.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/dr

[U-Boot] [PATCH v2 01/11] dm: timer: Fix several nits

2015-11-12 Thread Bin Meng
This changes 'Timer' to 'timer' at several places. Signed-off-by: Bin Meng Acked-by: Thomas Chou Reviewed-by: Simon Glass --- Changes in v2: - Rebase on u-boot-dm/master - Change 'Timer' to 'timer' in the sandbox timer Kconfig drivers/timer/Kconfig| 12 ++-- drivers/timer/ti

[U-Boot] [PATCH v2 07/11] x86: tsc: Use notrace from

2015-11-12 Thread Bin Meng
Replace __attribute__((no_instrument_function)) with notrace from . Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v2: None arch/x86/lib/tsc_timer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/lib/tsc_timer.c b/arch/x86/lib/tsc_timer.c inde

[U-Boot] [PATCH v2 02/11] dm: timer: Implement pre_probe()

2015-11-12 Thread Bin Meng
Every timer device needs to have a valid clock frequency and it can be specified in the device tree. Use pre_probe() to get this in the timer uclass driver. Signed-off-by: Bin Meng Acked-by: Thomas Chou Acked-by: Simon Glass --- Changes in v2: None drivers/timer/timer-uclass.c | 13 +

[U-Boot] [PATCH v2 00/11] dm: timer: x86: 64-bit counter support and tsc timer dm conversion

2015-11-12 Thread Bin Meng
This series enhances timer uclass driver to support 64-bit counter value, and convert tsc timer to driver model to be used by all x86 boards. As a result of dm conversion, the TSC_CALIBRATION_BYPASS Kconfig option is no longer needed, and the TSC frequency can be specified in the board device tree

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

2015-11-12 Thread Marek Vasut
On Friday, November 13, 2015 at 07:11:18 AM, Stefan Roese wrote: > Hi Philipp, > > On 12.11.2015 18:23, 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 tstsc

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

2015-11-12 Thread Joakim Tjernlund
On Thu, 2015-11-12 at 14:20 -0800, York Sun wrote: > Introduce a new function to calculate reserved memory to replace macro > CONFIG_SYS_MEM_TOP_HIDE for more flexibility. Legacy use of this macro is > still supported. MC and debug server are not board-specific. Move the > reservation function to S

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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/commo

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > Currently we using switch() and access PCI configuration via several using -> use > 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

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > This should return 8, not 32. Fix it. > > Signed-off-by: Simon Glass > --- > This patch should be squashed into the patch#4 where this bug was introduced in the first place. > common/cmd_pci.c | 2 +- > 1 file changed, 1 insertio

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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

[U-Boot] [PATCH 2/6] gpt: command: cosmetic: Replace printf with puts

2015-11-12 Thread Lukasz Majewski
This code is not processing any data to serial console output and hence can be replaced with puts. Signed-off-by: Lukasz Majewski --- common/cmd_gpt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c index 4da2de7..4c71125 100644 --- a

[U-Boot] [PATCH 4/6] gpt: doc: Update gpt command's help description

2015-11-12 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- common/cmd_gpt.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c index 4c71125..be54eae 100644 --- a/common/cmd_gpt.c +++ b/common/cmd_gpt.c @@ -350,7 +350,10 @@ static int do_gpt(cmd_tbl_t *cmdtp, i

[U-Boot] [PATCH 0/6] gpt: command: Add support for "gpt verify" command

2015-11-12 Thread Lukasz Majewski
Up till now "gpt" command was only able to write (i.e. restore) GPT partition on specified medium with information provided at "$partitions" env variable. This patch series adds complementary feature - namely "gpt verify", which allows checking (at e.g. boot time) if previously created GPT layout

[U-Boot] [PATCH 6/6] gpt: command: Extend gpt command to support GPT table verification

2015-11-12 Thread Lukasz Majewski
This commit adds support for "gpt verify" command, which verifies correctness of on-board stored GPT partition table. As the optional parameter one can provide '$partitons' environment variable to check if partition data (size, offset, name) is correct. This command should be regarded as complemen

[U-Boot] [PATCH 3/6] gpt: doc: README: Update README entry for gpt verify extension

2015-11-12 Thread Lukasz Majewski
./doc/README.gpt entry has been updated to explain usage of "gpt verify" command. Signed-off-by: Lukasz Majewski --- doc/README.gpt | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/doc/README.gpt b/doc/README.gpt index 59fdeeb..9fe97b0 100644 --- a/d

[U-Boot] [PATCH 5/6] gpt: part: Definition and declaration of GPT verification functions

2015-11-12 Thread Lukasz Majewski
This commit provides definition and declaration of GPT verification functions - namely gpt_verify_headers() and gpt_verify_partitions(). The former is used to only check CRC32 of GPT's header and PTEs. The latter examines each partition entry and compare attributes such as: name, start offset and s

[U-Boot] [PATCH 1/6] gpt: command: Remove duplicated check for empty partition description

2015-11-12 Thread Lukasz Majewski
Exactly the same check is performed in set_gpt_info() function executed just after this check. Signed-off-by: Lukasz Majewski --- common/cmd_gpt.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/common/cmd_gpt.c b/common/cmd_gpt.c index c56fe15..4da2de7 100644 --- a/common/cmd_gpt.c +++ b/

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 13:59:28 +0800, Thomas Chou wrote: > Hi Albert, > - /* Update stack- and frame-pointers */ > - mov sp, r2 > - mov fp, sp Just a sec here on second thought. I understand the 'mov sp, r2' must be removed as it is replaced by a 'sub sp, sp, r2

Re: [U-Boot] QSPI XIP boot on am437x

2015-11-12 Thread Albert ARIBAUD
Hello Vignesh, On Fri, 13 Nov 2015 11:22:19 +0530, Vignesh R wrote: > Hi, > > On 11/11/2015 02:33 PM, Albert ARIBAUD wrote: > > [...] > > > Alternatively, you could test the patch at > > > > http://patchwork.ozlabs.org/patch/542558/ > > > > Let us know if this solves your issue. If it do

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

2015-11-12 Thread Stefan Roese
Hi Philipp, On 12.11.2015 18:23, 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 System Technical Refe

Re: [U-Boot] MPC83xx maintainership

2015-11-12 Thread Stefan Roese
On 28.10.2015 16:17, Sinan Akman wrote: On 28/10/15 07:53 AM, Stefan Roese wrote: Hi Dirk, On 28.10.2015 12:03, Dirk Eibach wrote: is Kim Philipps still active as MPC83xx maintainer? Is he active at freescale at all? His mails are bouncing with "User unknown"... No. He is working for ARM now

[U-Boot] [PATCH RESEND V2 04/12] board: freescale: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/freescale common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git gre

[U-Boot] [PATCH V2 06/12] board: keymile: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/keymile common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep

[U-Boot] [PATCH V2 03/12] board: compulab: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/compulab common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep

[U-Boot] [PATCH V2 11/12] board: varisys: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/varisys common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep

[U-Boot] [PATCH V2 05/12] board: gdsys: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/gdsys common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep ".

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

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/xes common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep "../

[U-Boot] [PATCH V2 10/12] board: siemens: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/siemens common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep

[U-Boot] [PATCH V2 08/12] board: mpl: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/mpl common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep "../

[U-Boot] [PATCH V2 09/12] board: seco: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/seco common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep "..

[U-Boot] [PATCH V2 02/12] board: BuR: Move common headers to board-common directory

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/BuR common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep "../

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

2015-11-12 Thread Nishanth Menon
Header files can be located in a generic location without needing to reference them with ../common/ Generated with the following script #!/bin/bash vendor=board/LaCie common=$vendor/common cfiles=`git grep "../common" $vendor|grep "#include"|cut -d '"' -f2|sort -u|grep c$` headers=`git grep ".

[U-Boot] [PATCH V2 00/12] Series to move headers to a consistent include location

2015-11-12 Thread Nishanth Menon
Hi, This series is hopefully to setup the stage for consolidation of board/vendor/common include header organization in u-boot. Discussion thread: https://patchwork.ozlabs.org/patch/540280/ https://patchwork.ozlabs.org/patch/541068/ https://patchwork.ozlabs.org/patch/54242

[U-Boot] [PATCH V2 01/12] Makefile: Include vendor common library in include search path

2015-11-12 Thread Nishanth Menon
When the vendor common libraries exists, then board should be able to reference headers located from a generic base, rather than having to do weird logic such as '#include "../common/xyz.h"'. There are multiple options of implementation, the current strategy expects that: a) Vendor boards that nee

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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_a

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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/includ

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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_

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

2015-11-12 Thread Bin Meng
Hi Simon, On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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/cm

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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 del

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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 >

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

2015-11-12 Thread Bin Meng
On Fri, Nov 13, 2015 at 5:45 AM, Simon Glass wrote: > 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 > --- > > co

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] [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. > > R

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, 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 dfu-ut

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: 3d3f60cb7a6bb6c338e00a9769fa918a

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 ca

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 > Cc: Bin Meng > Cc: Alexey Brodkin > Cc: "ang...@sy

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 signature.asc Description: Digital signature _

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 > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -

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] [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 u-boot/master, thanks! -- Tom signature.asc Descri

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 ___ U-Boot mailing list U-Boot@lists.denx.de htt

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 ___ U-Boot mailing list U-Boot@lists.denx.de htt

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 u-boot/master, thanks! -- Tom signature.asc Descr

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 signature ___

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: Digital signature ___

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, thanks! -- Tom signature.asc Description: Digi

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 signature.asc Description: Digital signature __

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 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 signature.asc Description: Digital signature __

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 Ethernet (optional) > -

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 ___ U-Boot mailin

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 u-boot/master, thanks! -- Tom signature.asc Descri

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: 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 ___ U-Boot mailing list U-Boot@lists.denx.de htt

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 > Reviewed-by: Heiko Schocher App

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 signature.asc Description: Digital signature _

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 u-boot/master, thanks! -- Tom signature.asc Description: Digi

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 [-Wpointer-to-int-ca

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", __func

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 u-boot/master, thanks! -- Tom signature.asc Description:

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 [-Wpointer-to-int-

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, 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; \ >name=root,size=0x7538ba00,type=

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 U-Boo

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}; \ > name=boot,size=0x6bc00,uuid=${uuid_gp

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 GUID

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: Maxim

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! -- Tom signature.as

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: Ma

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 defi

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: https://e2e.ti.com/support/arm/sitara_arm/f/791/p/3138

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 he

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 > whic

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 t

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 Applied to u-boot/master, thanks

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 th

  1   2   3   >