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

2015-11-13 Thread Philipp Rosenberger
Hi Marek, On 13.11.2015 08:13, Marek Vasut wrote: > 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

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

2015-11-13 Thread Marek Vasut
On Friday, November 13, 2015 at 09:02:43 AM, Philipp Rosenberger wrote: > Hi Marek, > > On 13.11.2015 08:13, Marek Vasut wrote: > > 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

[U-Boot] [PATCH] PCI: fix search for suitable memory region

2015-11-13 Thread Andre Przywara
Binary ANDing a value with 0 and comparing it against 0 always yields true, I guess that's not intended here. Use the proper mask value for the memory region type bit. Signed-off-by: Andre Przywara --- drivers/pci/pci_common.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH] PCI: fix search for suitable memory region

2015-11-13 Thread Bin Meng
Hi Andre, On Fri, Nov 13, 2015 at 6:06 PM, Andre Przywara wrote: > Binary ANDing a value with 0 and comparing it against 0 always > yields true, I guess that's not intended here. > Use the proper mask value for the memory region type bit. > > Signed-off-by: Andre Przywara

Re: [U-Boot] [PATCH] sf: Fix NULL pointer exception for flashes without lock methods

2015-11-13 Thread Fabio Estevam
On Fri, Nov 13, 2015 at 8:46 AM, Bin Meng wrote: > commit c3c016c "sf: Add SPI NOR protection mechanism" introduced > flash_lock()/flash_unlock()/flash_is_locked() methods for SPI flash, > but not every flash driver supplies these. We should test these > methods against NULL

Re: [U-Boot] [PATCH] PCI: fix search for suitable memory region

2015-11-13 Thread Andre Przywara
Hi Bin, On 13/11/15 10:34, Bin Meng wrote: > Hi Andre, > > On Fri, Nov 13, 2015 at 6:06 PM, Andre Przywara > wrote: >> Binary ANDing a value with 0 and comparing it against 0 always >> yields true, I guess that's not intended here. >> Use the proper mask value for the

[U-Boot] [PATCH] Juno: don't print PCI debug information by default

2015-11-13 Thread Andre Przywara
On a Juno r1 the PCI controller init routine outputs the rather boring ATR entry information. Do this only with DEBUG defined to avoid cluttering the user's terminal. Signed-off-by: Andre Przywara --- board/armltd/vexpress64/pcie.c | 2 +- 1 file changed, 1 insertion(+),

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

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

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

2015-11-13 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 v3: None Changes in v2: None arch/x86/lib/tsc_timer.c | 65 1 file changed, 65

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

2015-11-13 Thread Bin Meng
Convert all x86 boards to use driver model tsc timer. Signed-off-by: Bin Meng Acked-by: Simon Glass --- Changes in v3: - Really remove "counter-64bit" property from tsc_timer.dtsi Changes in v2: - Remove "counter-64bit" property

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

2015-11-13 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

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

2015-11-13 Thread Thomas Chou
Hi Albert, On 2015年11月13日 14:41, Albert ARIBAUD wrote: 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

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

2015-11-13 Thread ELSOFT AG
Hello Nishanth Menon wrote: > Header files can be located in a generic location without needing to > reference them with ../common/ > > board/mpl/common/{ => include/board-common}/common_util.h (100%) > rename board/mpl/common/{ => include/board-common}/isa.h (100%) Correct me if I'm missing

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

2015-11-13 Thread Ryan Harkin
Hi Tom, Thanks for coming back to this. On 12 November 2015 at 20:58, Tom Rini wrote: > 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. >>

[U-Boot] [PATCH v2 09/12] sparc: leon3: Added memory controller initialization using new AMBA PnP routines.

2015-11-13 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/Makefile | 2 +- arch/sparc/cpu/leon3/memcfg.c | 237 +++

[U-Boot] [PATCH v2 11/12] sparc: ambapp: Removed warning and unnecessary printout.

2015-11-13 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/ambapp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/sparc/cpu/leon3/ambapp.c

[U-Boot] [PATCH v2 12/12] sparc: leon3: Add debug_uart support to LEON3 serial driver.

2015-11-13 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/cpu_init.c | 5 - arch/sparc/cpu/leon3/serial.c | 27 ++- configs/grsim_defconfig | 4 drivers/serial/Kconfig | 8 4 files changed, 42 insertions(+),

[U-Boot] [PATCH v2 10/12] sparc: leon3: Moved GRLIB core header files to common include/grlib directory

2015-11-13 Thread Francois Retief
From: Daniel Hellstrom Signed-off-by: Daniel Hellstrom Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/cpu_init.c | 10 ++- arch/sparc/cpu/leon3/interrupts.c | 7 +- arch/sparc/cpu/leon3/prom.c | 7 +-

[U-Boot] [PATCH v2 08/12] sparc: Kconfig: Move the CMD_AMBAPP command to Kconfig

2015-11-13 Thread Francois Retief
Add an initr function in the board_r.c file for the AMBA Plug command. Add a Kconfig entry for the ambapp command and remove all CONFIG_CMD_AMBAPP defines from the board configuration headers. Add a Kconfig entry to display the AMBA Plug information on startup. This option is off by default.

[U-Boot] [PATCH v2 06/12] sparc: Update startup code to take PIC mode into account

2015-11-13 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/cpu/leon2/start.S | 60 ++-- arch/sparc/cpu/leon3/start.S | 60 ++-- 2 files changed, 82 insertions(+), 38 deletions(-) diff --git

[U-Boot] [PATCH v2 05/12] sparc: Update GRSIM board with memory settings for TSIM eval

2015-11-13 Thread Francois Retief
Update the GRSIM board with the memory settings for the evaluation version of TSIM. This free version of TSIM is used for testing. Signed-off-by: Francois Retief --- configs/grsim_defconfig | 1 + include/configs/grsim.h | 57

[U-Boot] [PATCH] armv8: ls2080a: Define CONFIG_ENV_OVERWRITE to overwrite serial and ethaddr

2015-11-13 Thread Alison Wang
As the environment variables "serial#" and "ethaddr" need to be overwriten by the users, CONFIG_ENV_OVERWRITE is defined to disable the write protection. Anybody can change or delete these parameters. Signed-off-by: Alison Wang --- include/configs/ls2085a_common.h | 3

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

2015-11-13 Thread Thomas Chou
Hi Bin, On 2015年11月13日 16:11, Bin Meng wrote: 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

Re: [U-Boot] [PATCH v7 21/21] sf: Add SPI NOR protection mechanism

2015-11-13 Thread Bin Meng
On Thu, Nov 12, 2015 at 12:25 AM, Jagan Teki wrote: > On 11 November 2015 at 15:13, Fabio Estevam wrote: >> On Wed, Nov 11, 2015 at 12:56 AM, Simon Glass wrote: >> >>> It crashes reading the environment: >>> >>> U-Boot

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

2015-11-13 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 v3: None Changes in v2: None

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

2015-11-13 Thread Bin Meng
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_64() to handle the 32-bit/64-bit conversion automatically.

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

2015-11-13 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 ---

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

2015-11-13 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

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

2015-11-13 Thread Bin Meng
Hi Albert, On Wed, Nov 11, 2015 at 2:30 AM, 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. > > Split board_init_f_mem into C functions which do not > alter

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

2015-11-13 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 v3: None Changes in v2: None arch/x86/cpu/cpu.c | 18 --

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

2015-11-13 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 v3: None Changes in v2: - Rebase on u-boot-dm/master - Change 'Timer' to 'timer' in the

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

2015-11-13 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 v3: None Changes in v2: - New patch to use device tree to pass the clock frequency arch/sandbox/dts/sandbox.dts | 1 +

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

2015-11-13 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 v3: None Changes in v2: None arch/x86/lib/Makefile | 1 - drivers/timer/Kconfig

[U-Boot] [PATCH] imx6: fix warnings due to switch to distro environment

2015-11-13 Thread Stefano Babic
wandboard and mx6cuboxi have warnings because BOOT_DELAY is defined twice. Signed-off-by: Stefano Babic CC: Vagrant Cascadian CC: Otavio Salvador CC: Fabio Estevam --- include/configs/mx6cuboxi.h | 2 +-

[U-Boot] [PATCH v2 00/12] sparc: Updates to SPARC architecture in preperation for generic board

2015-11-13 Thread Francois Retief
This patch series is a backlog of preparation work for upcomming generic board changes. I first want to get these reviewed and submitted to mainline before sending out more patches. Daniel Hellstrom (4): sparc: leon3: Reimplemented AMBA Plug scanning routines. sparc: leon3: Added memory

[U-Boot] [PATCH v2 02/12] sparc: Update the maintainer for SPARC architecture

2015-11-13 Thread Francois Retief
Signed-off-by: Francois Retief --- MAINTAINERS| 2 +- doc/git-mailrc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index bf60c67..b3a45cc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -370,7 +370,7 @@ T: git

[U-Boot] [PATCH v2 04/12] sparc: Update LEON serial drivers to use readl/writel macros

2015-11-13 Thread Francois Retief
Update the LEON2/3 serial driver to make use of the readl and writel macros as well as the WATCHDOG_RESET() macro. Add readl/writel and friends to the asm/io.h file. Introduce the gd->arch.uart variable to store register address. Lastly, remove baudrate scaler macro variables from board config.

[U-Boot] [PATCH v2 01/12] sparc: Fix broken files during license changes

2015-11-13 Thread Francois Retief
From: Francois Retief Fixes broken search and replaced license changes in files cpu/leon3/start.S and include/asm/winmacro.h from commit 1a4596601fd395f3afb8f82f3f840c5e00bdd57a Signed-off-by: Francois Retief --- arch/sparc/cpu/leon3/start.S

[U-Boot] [PATCH v2 03/12] sparc: Add -mcpu= compiler flags for LEON2/LEON3

2015-11-13 Thread Francois Retief
Signed-off-by: Francois Retief --- arch/sparc/config.mk | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/arch/sparc/config.mk b/arch/sparc/config.mk index d615f29..43faad4 100644 --- a/arch/sparc/config.mk +++ b/arch/sparc/config.mk @@

[U-Boot] [PATCH 09/17] powerpc/km8321: define CONFIG_SYS_DDRCDR

2015-11-13 Thread Valentin Longchamp
On the km8321 boards is CONFIG_SYS_DDRCDR not defined, which leads to the DDRCDR not being configured at startup and still containing the reset value. The required settings for our km8321 hardware designs are different than the reset value and must be set with CONFIG_SYS_DDRCDR, that is used by

[U-Boot] [PATCH 05/17] km/powerpc: increase space for kernel imange and FDT blob

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck 128kByte and 3,986MB may be in the future too little for kernel the fdt blob respectively the kernel image. So increase the reserved areas here, we have the space for this. Signed-off-by: Holger Brunck Signed-off-by:

[U-Boot] [PATCH 2/4] km: update the boot script to check for a DTB

2015-11-13 Thread Valentin Longchamp
If a DTB is found with cramfsls, the bootscript continues as expected. If none is found, the cramfsloadfdt and boot subbootcmds are updated to not load the DTB from cramfs and not pass it to the kernel. The kernel thus must have an appended DTB otherwise the boot will fail. This is required for

[U-Boot] [PATCH 4/4] km/scripts: search for kernel/DTBs at serverip:/PRODUCTNAME via TFTP in develop mode

2015-11-13 Thread Valentin Longchamp
From: Tobias Müller Search for the kernel and DTBs in a folder named PRODUCTNAME (found in the IVM) at the TFTP server instead of the u-boot boardname. Signed-off-by: Tobias Müller Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 3/4] km/scripts: load fdt_bid_kwkey.dtb when working with tftp

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck When loading the dtb file via tftp we should load the one which matches boardId and hwKey and not a common one for the boardname. We have boards were different hwKeys are used and then we may load an incorrect dtb file. If no fdt_bid_kwkey.dtb file

[U-Boot] [PATCH 1/4] km/common: stop u-boot only if someone press

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck To prevent u-boot to stop accidently e.g. due to line noise on the serial line, we now use the option CONFIG_AUTOBOOT_KEYED. We choose the key for this. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp

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

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

[U-Boot] [PATCH 04/17] powerpc/82xx/km: add testpin detection for mgcoge3ne

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck On mgcoge3ne we also want to start the test application if the testpin is asserted. But we don't have a full POST test support yet. So simply add a function to read the testpin value. Signed-off-by: Holger Brunck

[U-Boot] [PATCH 0/4] Keymile common changes

2015-11-13 Thread Valentin Longchamp
This is the last part of the changes for the Keymile boards. This series contains all the changes that are common to all boards and architectures (that's why they are sent as an independant series) and mostly target our environment scripts. Holger Brunck (2): km/common: stop u-boot only if

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

[U-Boot] [PATCH 08/17] km/powerpc82xx: remove unused function

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck commit 0a4f88b98 removed the usage of our setports function, but the function itself were not removed. So toss it it's dead code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 03/17] powerpc/82xx: make set/get_pin for km82xx more flexible

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck The get_pin and set_pin funciton was only used for pins on Port D and therefore the value was hard coded in the function. Enhance this with a parameter, that we are able to use this functions for other ports too. Signed-off-by: Holger Brunck

[U-Boot] [PATCH 10/17] powerpc/km8321: set the DDRCDR impedance settings back to half strength

2015-11-13 Thread Valentin Longchamp
The impedance settings have been changed with commit 2ea8ae99595ca11dd228726e854ebc6268208601 (whose goal was to set the internal voltage level to the DDR2 value - and not DDR1). There was no other good reason to set them to nominal strength than "the others do it like that" according to Ludger.

[U-Boot] [PATCH 11/17] powerpc/km8309: define CONFIG_SYS_DDRCDR

2015-11-13 Thread Valentin Longchamp
For consistency with all the other km83xx plaforms, this should also be defined for km8309. The same settings as for km8321 are taken. Signed-off-by: Valentin Longchamp --- include/configs/km/km8309-common.h | 6 ++ 1 file changed, 6 insertions(+) diff

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

2015-11-13 Thread Stephen Warren
On 11/13/2015 06:40 AM, Alexey Brodkin wrote: Hi Stephen, On Thu, 2015-11-12 at 16:00 -0700, Stephen Warren wrote: 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

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

[U-Boot] Please pull u-boot-x86

2015-11-13 Thread Bin Meng
Hi Tom, The following changes since commit 9ac4fc82071ce346e3885118242ff45d22f69b82: board_init: Change the logic to setup malloc_base (2015-11-12 20:34:07 -0500) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to

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

2015-11-13 Thread Simon Guinot
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 generic location without > > > needing to

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:

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 +

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

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

[U-Boot] [PATCH 07/17] km/powerpc: remove unneeded defines

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck We use CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP on all our powerpc targets, so there is no need to check these defines within our C code. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 12/17] powerpc/km8360: fix the ODT parameters for CS0

2015-11-13 Thread Valentin Longchamp
The ODT parameters for km8360 set the ODT_WR_ACS bit in u-boot KM-2011.09 that is used in the release bootpackage for kmcoge5ne. During the transition from the kmeter1 to km8360 and with the migration to KM-2012.10 (commit 0f2b721c80fa50c8e09548f0ad1b4210d2197bf9), this was changed to

[U-Boot] [PATCH 15/17] km8309: change the default QE_FW address

2015-11-13 Thread Valentin Longchamp
It should be after the u-boot reserved sectors and before the env sectors, since the solution used for kmvect1 (tell the linker to put the firmware into the u-boot produced binary, at the end of the area) should be the exception. The #define is only "conditional" so that we can still support

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

[U-Boot] [PATCH 06/17] km/powerpc: move open firmware defines to km-powerpc.h

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck We use the same settings for open firmware defines on all our powerpc targets, so move them from the CPU specific headers to the common powerpc header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 02/17] powerpc/83xx: add support for kmtepr2 board

2015-11-13 Thread Valentin Longchamp
From: Christoph Dietrich This board is similar to TUXX1, but it has differend FPGAs. Signed-off-by: Christoph Dietrich Signed-off-by: Andreas Huber Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 16/17] powerpc/83xx: add support for kmtegr1 board

2015-11-13 Thread Valentin Longchamp
This board uses the same CPU (8309) as VECT1. The memory however is different since it has NAND Flash, the NOR Flash partitioning is different and of course the FPGAs as well. Signed-off-by: Valentin Longchamp Signed-off-by: Christoph Dietrich

[U-Boot] [PATCH 13/17] board/keymile/km82xx: setting dip_switch 3 and 4 will run bootloader

2015-11-13 Thread Valentin Longchamp
From: Bagavathiannan Palanisamy Setting dip_switch 3 and 4 also will run bootloader in COGE3 and COGE6 It is required remove local mgmt IP address, when DIP Switch PIN3 is enabled. DIP Switch 4 also enabled to avoid u-boot update in future for DIP switch

[U-Boot] [PATCH 14/17] km83xx: use CONFIG_ENV_ADDR for the newenv env command

2015-11-13 Thread Valentin Longchamp
The hardcoded value are bad, since the address could change between different boards. Furthermore, the relevant #defines are set only if #undefined here, so that they can be changed by some boards if required. Signed-off-by: Valentin Longchamp ---

Re: [U-Boot] [PATCH] Juno: don't print PCI debug information by default

2015-11-13 Thread Ryan Harkin
On 13 November 2015 at 11:25, Andre Przywara wrote: > On a Juno r1 the PCI controller init routine outputs the rather boring > ATR entry information. > Do this only with DEBUG defined to avoid cluttering the user's > terminal. Good idea. > > Signed-off-by: Andre Przywara

[U-Boot] [PATCH 17/17] km/powerpc: fix ft_board_setup prototype for km82xx & km83xx

2015-11-13 Thread Valentin Longchamp
Signed-off-by: Valentin Longchamp --- board/keymile/km82xx/km82xx.c | 2 +- board/keymile/km83xx/km83xx.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c index 9e285ec..c2a7a5f

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

[U-Boot] [PATCH 00/17] km/powerpc: various bugfixes and support for 3 new boards

2015-11-13 Thread Valentin Longchamp
A few bugfixes have been done for the km_kirkwood bards in the last months and this series collects them all to be sumbitted to mainline. Furthermore, support for 3 new Keymile ppc boards are added: - kmvect1_p1a: based on 8309, first hw revision of kmvect1 - kmtepr2: based on a 8321, this is

[U-Boot] [PATCH 01/17] powerpc/83xx/km: add support for kmvect1 p1a hw version

2015-11-13 Thread Valentin Longchamp
From: Holger Brunck This first boards have the simple switch connected to a PRST line of the PRIO3. This is not allowed because it releases the PRIO3 watchdog in u-boot which causes problems with the bootloader application. This is fixed in the newer HW releases. To be

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

2015-11-13 Thread Stephen Warren
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 appropriate. U-Boot doesn't contain ether_addr_copy(), so

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

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

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

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 >

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

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

[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

[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

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

[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

[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

[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

[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

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:

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

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

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

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

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,

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

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

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

  1   2   >