Re: [U-Boot] [PATCH] mpc5200: Correct return value of memcpy function

2017-02-07 Thread Thomas Graziadei
On 02/07/2017 05:59 PM, york sun wrote: On 01/24/2017 05:41 AM, thomas.grazia...@omicronenergy.com wrote: From: Mark Marshall The memcpy() function returns a pointer to trg. Signed-off-by: Mark Marshall Reviewed-by: Thomas Graziadei

Re: [U-Boot] [PATCH 2/3] armv8: fsl-lsch3: Update VID support

2017-02-07 Thread Priyanka Jain
> -Original Message- > From: york sun > Sent: Tuesday, February 07, 2017 10:38 PM > To: Priyanka Jain ; u-boot@lists.denx.de > Cc: Arpit Goel > Subject: Re: [PATCH 2/3] armv8: fsl-lsch3: Update VID support > > On 01/29/2017 11:21 PM, Priyanka

[U-Boot] how to trigger DM rescan ?

2017-02-07 Thread Hannes Schmelzer
Hello, i've following trouble on a new custom zynq board: There is a axi4pcie root-complex implemented within the FPGA, i added this to my devicetree: pci_express: axi-pcie@9000 { #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; status

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-07 Thread Yung-Ching LIN
On Tue, Feb 7, 2017 at 12:50 AM, Sekhar Nori wrote: > On Monday 06 February 2017 11:06 PM, Ken.Lin wrote: > The register setting would turn out to be 0x3D47 on our project boards and >>> our signal measurement results show the patch (v2 version, >>>

[U-Boot] [PATCH 1/1] Enable IE (Key extention) Feature in LS2080A

2017-02-07 Thread Udit Agarwal
For validating images from uboot (Such as Kernel Image), either keys from SoC fuses can be used or keys from a verified table of public keys can be used. The latter feature is called IE Key Extension Feature. On ls-ch3 platforms,IE table is validated by Bootrom and address of this table is

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-07 Thread Sekhar Nori
On Wednesday 08 February 2017 12:36 AM, Yung-Ching LIN wrote: > On Tue, Feb 7, 2017 at 12:50 AM, Sekhar Nori wrote: >> On Monday 06 February 2017 11:06 PM, Ken.Lin wrote: >> > The register setting would turn out to be 0x3D47 on our project boards and our signal

Re: [U-Boot] [RFC PATCH 2/2] efi_loader: gop: add support to use cfb_console's framebuffer

2017-02-07 Thread Simon Glass
Hi, On 7 February 2017 at 21:50, Icenowy Zheng wrote: > > 2017年2月8日 10:44于 Bin Meng 写道: >> >> On Tue, Feb 7, 2017 at 8:58 PM, Icenowy Zheng wrote: >> > As cfb_console now can expose its GraphicDevice, use it in the >> > implementation of

Re: [U-Boot] [PATCH 6/6] arm64: rk3399: add SPL support

2017-02-07 Thread Simon Glass
Hi Kever, On 4 February 2017 at 19:01, Kever Yang wrote: > Hi Simon, > > > On 01/26/2017 10:23 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 18 January 2017 at 05:16, Kever Yang wrote: >>> >>> Add spl support for rk3399, default with

Re: [U-Boot] [PATCH 1/6] arm64: rk3399: add ddr controller driver

2017-02-07 Thread Simon Glass
+Tom in case you have some thoughts Hi Kever, On 4 February 2017 at 18:45, Kever Yang wrote: > Hi Simon, > > On 01/26/2017 10:23 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 18 January 2017 at 05:16, Kever Yang wrote: >>> >>> RK3399

Re: [U-Boot] [PATCH 0/6] rk3399: enable SPL driver

2017-02-07 Thread Simon Glass
Hi Kever, On 4 February 2017 at 17:41, Kever Yang wrote: > Hi Simon, > > On 01/24/2017 09:51 PM, Simon Glass wrote: > > Hi Kever, > > On 18 January 2017 at 05:16, Kever Yang wrote: >> This series patch enable basic driver for rk3399 SPL, the

Re: [U-Boot] of-platdata address map decode for 64-bits

2017-02-07 Thread Simon Glass
Hi Kever, On 4 February 2017 at 16:30, Kever Yang wrote: > Hi Simon, > > For rk3399, the data for sdram driver in dts is big, I don't want to do > the copy for it, Are you referring to the call to fdtdec_get_int_array()? Don't you have heaps of SRAM though? So why

Re: [U-Boot] [PATCH 2/2] dts: rk3288: change the dmc configuration to LPDDR3

2017-02-07 Thread Simon Glass
Hi Eddie, On 17 January 2017 at 21:51, Eddie Cai wrote: > Thanks Kever > Hi Simon > > I did some search and found you acked the Jacob's patch, see [0]. But didn't > apply it. Did you lost this patch? > > [0]https://patchwork.ozlabs.org/patch/694820/ Yes I did - will

Re: [U-Boot] [PATCH 1/3] dts: rk3288: correct sdram setting for miniarm

2017-02-07 Thread Simon Glass
On 10 January 2017 at 06:44, Jacob Chen wrote: > > 2016-11-18 9:13 GMT+08:00 Simon Glass : > > On 14 November 2016 at 21:01, Jacob Chen wrote: > >> miniarm board use lpddr3 > >> > >> Signed-off-by: Jacob Chen

Re: [U-Boot] [U-boot] [PATCH 2/2] rockchip: firefly: configs: use spl back to brom

2017-02-07 Thread Simon Glass
On 20 January 2017 at 19:51, Simon Glass wrote: > On 16 January 2017 at 21:19, Jacob Chen wrote: >> Keep it same with other boards otherwise i have to write special script for >> it.. >> >> Signed-off-by: Jacob Chen >>

Re: [U-Boot] [PATCH] rockchip: Correct MAINTAINER entry for chromebook_minnie

2017-02-07 Thread Simon Glass
On 14 January 2017 at 09:26, Simon Glass wrote: > This is wrong at present, so genboardscfg.py gives the following warnings: > > WARNING: no status info for 'chromebook_minnie' > WARNING: no maintainers for 'chromebook_minnie' > > Fix it. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 2/2] rockchip: Enable ETH address randomization for the firefly-rk3288

2017-02-07 Thread Simon Glass
On 20 January 2017 at 19:51, Simon Glass wrote: > On 17 January 2017 at 02:32, Romain Perier > wrote: >> This commit enables ethernet MAC address randomization on the >> firefly-rk3288. It removes the error at startup 'ethernet@ff29 >> address

Re: [U-Boot] [U-boot] [PATCH 1/2] rockchip: configs: move env offset to common header

2017-02-07 Thread Simon Glass
On 20 January 2017 at 19:51, Simon Glass wrote: > On 16 January 2017 at 21:19, Jacob Chen wrote: >> To reduce redundant code. >> >> Signed-off-by: Jacob Chen >> --- >> >> include/configs/evb_rk3288.h | 14

Re: [U-Boot] [PATCH] simple-bus: enable suport for of-platdata

2017-02-07 Thread Simon Glass
Hi Kever, On 4 February 2017 at 17:24, Kever Yang wrote: > > Hi Simon, > > Found 1 typo on the subject, 'suport' should be 'support', > do I need to send a new patch or you can correct it when you apply? I can correct it when I apply, should be soon. - Simon > >

Re: [U-Boot] [PATCH] nand: atmel: add drvice tree support and dm gpio APIs

2017-02-07 Thread Simon Glass
Hi Wenyou, On 3 February 2017 at 18:32, Wenyou Yang wrote: > > In order to use the driver model gpio APIs, add the device tree > support. > > Signed-off-by: Wenyou Yang > --- > > drivers/mtd/nand/atmel_nand.c | 143 >

Re: [U-Boot] [RFC PATCH 2/2] efi_loader: gop: add support to use cfb_console's framebuffer

2017-02-07 Thread Icenowy Zheng
2017年2月8日 10:44于 Bin Meng 写道: > > On Tue, Feb 7, 2017 at 8:58 PM, Icenowy Zheng wrote: > > As cfb_console now can expose its GraphicDevice, use it in the > > implementation of EFI GOP protocol, so that the graphics framebuffer can > > be passed to EFI

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-02-07 Thread york sun
On 02/07/2017 07:30 PM, Y.B. Lu wrote: >> -Original Message- >> From: york sun >> Sent: Wednesday, February 08, 2017 1:03 AM >> To: Scott Wood; Y.B. Lu; u-boot@lists.denx.de >> Cc: Albert Aribaud; Z.Q. Hou >> Subject: Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK >>

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-02-07 Thread Y.B. Lu
> -Original Message- > From: york sun > Sent: Wednesday, February 08, 2017 1:03 AM > To: Scott Wood; Y.B. Lu; u-boot@lists.denx.de > Cc: Albert Aribaud; Z.Q. Hou > Subject: Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK > frequency fixup for ls1012a > > On 01/20/2017 05:13

Re: [U-Boot] [PATCH v2] Add single register pin controller driver

2017-02-07 Thread Masahiro Yamada
Hi. 2017-02-07 22:30 GMT+09:00 Felix Brack : > + > +static int single_set_state_simple(struct udevice *dev, > + struct udevice *periph) > +{ > + const void *fdt = gd->fdt_blob; > + const struct single_fdt_pin_cfg *prop; > + int

Re: [U-Boot] [RFC PATCH 2/2] efi_loader: gop: add support to use cfb_console's framebuffer

2017-02-07 Thread Bin Meng
On Tue, Feb 7, 2017 at 8:58 PM, Icenowy Zheng wrote: > As cfb_console now can expose its GraphicDevice, use it in the > implementation of EFI GOP protocol, so that the graphics framebuffer can > be passed to EFI applications. > > Signed-off-by: Icenowy Zheng >

Re: [U-Boot] [PATCH] fsl-layerscape/ppa: cleanup ppa.h

2017-02-07 Thread Z.Q. Hou
Hi York, Thanks a lot for your comments! > -Original Message- > From: york sun > Sent: 2017年2月8日 0:32 > To: Z.Q. Hou ; u-boot@lists.denx.de; Mingkai Hu > ; Prabhakar Kushwaha > > Subject: Re: [PATCH]

Re: [U-Boot] [PATCH] board: freescale: ls2080a: Intergrate and enable PPA on LS2080A

2017-02-07 Thread york sun
On 01/04/2017 02:14 PM, york sun wrote: > On 12/29/2016 10:01 PM, Prabhakar Kushwaha wrote: >> >>> -Original Message- >>> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Abhimanyu >>> Saini >>> Sent: Thursday, December 29, 2016 9:52 AM >>> To: york sun ;

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-07 Thread Marek Vasut
On 02/08/2017 02:21 AM, Marek Vasut wrote: > On 01/31/2017 07:33 PM, Dinh Nguyen wrote: >> The mpuclk register in the Altera group of the clock manager >> divides the mpu_clk that is generated from the C0 output of the main >> pll. >> >> Without this patch, the default value of the register is 1,

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

2017-02-07 Thread Tom Rini
On Tue, Feb 07, 2017 at 01:51:22PM +0800, Bin Meng wrote: > Hi Tom, > > This is U-Boot x86 64-bit preliminary support, on Google Chromebook > Link and QEMU targets. > > The following changes since commit c83a824e62277162ad35f52879b2316902c0eff5: > > Merge git://git.denx.de/u-boot-fsl-qoriq

Re: [U-Boot] [PATCH] arm: socfpga: set the mpuclk divider in the Altera group register

2017-02-07 Thread Marek Vasut
On 01/31/2017 07:33 PM, Dinh Nguyen wrote: > The mpuclk register in the Altera group of the clock manager > divides the mpu_clk that is generated from the C0 output of the main > pll. > > Without this patch, the default value of the register is 1, so the mpuclk > will always get divided by 2 if

Re: [U-Boot] [PATCH] DTS: Enable top USB port on CEI-TK1-SOM

2017-02-07 Thread Peter.Chubb
> "Allen" == Allen Martin writes: Allen> On Tue, Feb 07, 2017 at 01:57:47PM +1100, Peter Chubb wrote: >> From: Peter Chubb >> >> + usb@7d004000 { >> +status = "okay"; >> + }; >> + >> + usb-phy@7d004000 { >> +status = "okay"; >> + };

[U-Boot] [PATCH] defconfig: am43xx_hs_evm: Sync HS defconfig with non-HS defconfig

2017-02-07 Thread Andrew F. Davis
The non-HS defconfig has been modified without equivalent changes being applied to the HS defconfig. Sync these here. Signed-off-by: Andrew F. Davis --- configs/am43xx_hs_evm_defconfig | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] spl: net: Add FIT image support over network boot

2017-02-07 Thread Andrew F. Davis
FIT support in the net boot case is much like the RAM boot case in that we load our image to "load_addr" and pass a dummy read function into "spl_load_simple_fit()". As the load address is no longer hard-coded to the final execution address, RAW image loading will rely on "load_addr" pointing to

Re: [U-Boot] [PATCH] fsl-layerscape/ppa: cleanup ppa.h

2017-02-07 Thread york sun
On 02/05/2017 07:41 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Moved the ifdef into ppa.h and removed the duplicated macros. > > Signed-off-by: Hou Zhiqiang > --- > arch/arm/include/asm/arch-fsl-layerscape/ppa.h | 7 ++- >

[U-Boot] [PATCH 2/2] defconfig: Sync with non-HS and add SPL NAND support to AM335x HS

2017-02-07 Thread Andrew F. Davis
Sync new additions to non-HS defconfig with HS defconfig. Also add SPL NAND support, this was disabled before due to size constraints, enable this now at the expense of the less used GPT partition support. Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_defconfig | 10

[U-Boot] [PATCH 1/2] defconfig: Add a config for AM335x High Security EVM with UART Boot support

2017-02-07 Thread Andrew F. Davis
Add a new defconfig file for the AM335x High Security EVM. This config is specific for the case of UART booting Signed-off-by: Andrew F. Davis --- configs/am335x_hs_evm_uart_defconfig | 69 1 file changed, 69 insertions(+) create mode 100644

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: fdt: remove SYSCLK frequency fixup for ls1012a

2017-02-07 Thread york sun
On 01/20/2017 05:13 PM, york sun wrote: > > Then a proper fix would be check the clock name or compatible. If none > of them exists, we should fix the device tree first. Yangbo, Can you fix the code to check clock name or compatible? York ___ U-Boot

Re: [U-Boot] [PATCH] armv8:fsl-layerscape: Add registers space defination for CCI-400 bus

2017-02-07 Thread york sun
On 02/01/2017 05:49 AM, Ashish Kumar wrote: > CoreLink Cache Coherent Interconnect (CCI) is ARM BUS which > provides full cache coherency between two clusters of multi-core > CPUs and I/O coherency for devices and I/O masters. > > This patch add new CONFIG defination and move existing register

Re: [U-Boot] [u-boot PATCH v3 7/8] ARM: k2g: setup PRU ethernet MAC addresses

2017-02-07 Thread Tom Rini
On Tue, Feb 07, 2017 at 09:52:25AM +0200, Igor Grinberg wrote: > Hi Roger, > > On 02/06/17 11:36, Roger Quadros wrote: > > PRU ethernet MAC address range is present in the > > board EEPROM. Parse it and setup eth?addr > > environment variables. > > > > Signed-off-by: Roger Quadros

Re: [U-Boot] [PATCH v2 3/6] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 07:17:34PM -0800, Alexandru Gagniuc wrote: > Provide the necessary Kconfig symbols so that PHYLIB support may be > enabled in Kconfig, as opposed to needing to #define these symbols in > C source headers. > > BITBANGMII and MV88E6352_SWITCH are left out of the PHYLIB

Re: [U-Boot] [PATCH v2 1/6] configs: am335x_evm: Enable FASTBOOT based on kconfig

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 07:17:32PM -0800, Alexandru Gagniuc wrote: > When CONFIG_CMD_FASTBOOT or CONFIG_USB_FUNCTION_FASTBOOT are defined > in am335x_evm.h, a dependency on g_dnl.c is created. This in turn > creates a dependency on having USB gadget enabled. > As a result we can't create configs

Re: [U-Boot] [PATCH v2 2/6] am33xx: board: Refactor USB initialization into separate function

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 07:17:33PM -0800, Alexandru Gagniuc wrote: > The declaration of otg*_plat and otg*_board_data is guarded by > CONFIG_USB_MUSB_*, but their use in arch_misc_init is not. The > ifdef flow goes something like: > > if (CONFIG_USB_MUSB_* && other_conditions) > declare

Re: [U-Boot] [PATCH] drivers: mmc: omap_hsmmc: Fix IO Buffer on OMAP36xx

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 11:31:43AM -0600, aford...@gmail.com wrote: > From: Adam Ford > > On the OMAP36xx/37xx the CONTROL_WKUP_CTRL register has > a field (bit 6) named GPIO_IO_PWRDNZ. If 0, the IO buffers which > are related to GPIO_126, 127 and 129 are disabled. Some

Re: [U-Boot] [PATCH v2 4/6] drivers: net: Move PHYLIB to Kconfig

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 07:17:35PM -0800, Alexandru Gagniuc wrote: > From: "Andrew F. Davis" > > Signed-off-by: Andrew F. Davis [snip] > 756 files changed, 860 insertions(+), 579 deletions(-) So this shows we have some places where we need to add 'select PHYLIB' to

Re: [U-Boot] [PATCH v2 4/6] drivers: net: Move PHYLIB to Kconfig

2017-02-07 Thread Tom Rini
On Tue, Feb 07, 2017 at 11:15:48AM -0600, Joe Hershberger wrote: > On Tue, Feb 7, 2017 at 10:55 AM, Andrew F. Davis wrote: > > On 02/06/2017 09:17 PM, Alexandru Gagniuc wrote: > >> From: "Andrew F. Davis" > >> > > > > By the way, I don't have compilers for the following

Re: [U-Boot] [PATCH 2/3] armv8: fsl-lsch3: Update VID support

2017-02-07 Thread york sun
On 01/29/2017 11:21 PM, Priyanka Jain wrote: > > >> -Original Message- >> From: york sun >> Sent: Friday, January 27, 2017 11:13 PM >> To: Priyanka Jain ; u-boot@lists.denx.de >> Cc: Arpit Goel >> Subject: Re: [PATCH 2/3] armv8: fsl-lsch3: Update

Re: [U-Boot] [PATCH] Remove unused symbol CONGIG_CMD_STORAGE from board configs

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 12:30:19PM +0100, Lars Poeschel wrote: > Albeit it's a typo, neither CONGIG_CMD_STORAGE nor CONFIG_CMD_STORAGE > are used anywhere, so remove the define from the board configs. > > Signed-off-by: Lars Poeschel Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH v2 00/15] nand: device model bringup on am335x evm and am437x gpevm

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 12:50:25PM -0600, Grygorii Strashko wrote: > Hi Tom, > > On 02/05/2017 07:56 PM, Tom Rini wrote: > > On Tue, Jan 31, 2017 at 03:37:02PM -0600, Grygorii Strashko wrote: > > > >> This patch seires adds nand uclass driver and enables omap_gpmc to > >> adopt driver model.

Re: [U-Boot] [PATCH v2 4/6] drivers: net: Move PHYLIB to Kconfig

2017-02-07 Thread Joe Hershberger
On Tue, Feb 7, 2017 at 10:55 AM, Andrew F. Davis wrote: > On 02/06/2017 09:17 PM, Alexandru Gagniuc wrote: >> From: "Andrew F. Davis" >> > > By the way, I don't have compilers for the following boards: > > adp-ag101p_defconfig > 3c120_defconfig > 10m50_defconfig >

Re: [U-Boot] [RFC PATCH] mmc: omap_hsmmc: convert to use dm block devies

2017-02-07 Thread Tom Rini
On Mon, Feb 06, 2017 at 11:31:14AM -0600, Andrew F. Davis wrote: > On 02/03/2017 11:23 AM, Tom Rini wrote: > > On Fri, Feb 03, 2017 at 09:57:03AM +0530, Vignesh R wrote: > >> > >> > >> On Friday 03 February 2017 03:48 AM, Strashko, Grygorii wrote: > >>> Convert OMAP hsmmc driver to use

Re: [U-Boot] [PATCH] mpc5200: Correct return value of memcpy function

2017-02-07 Thread york sun
On 01/24/2017 05:41 AM, thomas.grazia...@omicronenergy.com wrote: > From: Mark Marshall > > The memcpy() function returns a pointer to trg. > > Signed-off-by: Mark Marshall > Reviewed-by: Thomas Graziadei >

Re: [U-Boot] latest u-boot on Technexion LS1021A-IOT v1.0

2017-02-07 Thread york sun
+ Feng Li On 02/06/2017 11:19 PM, Leon Brits wrote: > Hi all, > > > > I’ve compiled u-boot 2017.01 for the TechNexion LS1021A-IOT v1.0 but > there is no output of the u-boot boot process. The serial port > application does report that it is connected. > > > > I have a 700-28203 REV X2 / SCH-28203

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: Put TZASC configuration in hash define

2017-02-07 Thread york sun
On 02/02/2017 05:43 AM, Ashish Kumar wrote: > Number of TZASC instances may vary across NXP SoCs. > > So put TZASC configuration under instance specific defines. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > --- >

Re: [U-Boot] [PATCH] armv8: fsl-lsch3: Conditionally Remove errata a0009203 from lsch3 init

2017-02-07 Thread york sun
On 02/02/2017 01:16 AM, Ashish Kumar wrote: > This i2c errata is only valid for ls2080 and ls2088 SoC > > Signed-off-by: Ashish Kumar > --- > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4 > arch/arm/cpu/armv8/fsl-layerscape/soc.c | 4 > 2 files changed, 8

Re: [U-Boot] [PATCH v2 3/6] drivers: net: Provide Kconfig menu for PHYLIB

2017-02-07 Thread Joe Hershberger
On Mon, Feb 6, 2017 at 9:17 PM, Alexandru Gagniuc wrote: > Provide the necessary Kconfig symbols so that PHYLIB support may be > enabled in Kconfig, as opposed to needing to #define these symbols in > C source headers. > > BITBANGMII and MV88E6352_SWITCH are left out of the

Re: [U-Boot] [PATCH] drivers: net: Move PHYLIB to Kconfig

2017-02-07 Thread Joe Hershberger
On Mon, Feb 6, 2017 at 3:45 PM, Andrew F. Davis wrote: > Signed-off-by: Andrew F. Davis Thanks, guys! Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH 1/3] regmap: use fdt address translation

2017-02-07 Thread Jean-Jacques Hiblot
In the DTS, the addresses are defined relative to the parent bus. We need to translate them to get the address as seen by the CPU core. Signed-off-by: Jean-Jacques Hiblot --- to: s...@chromium.org drivers/core/regmap.c | 14 -- 1 file changed, 8 insertions(+), 6

[U-Boot] [PATCH 2/3] drivers: ti_qspi: use syscon to get the address ctrl_mod_mmap register

2017-02-07 Thread Jean-Jacques Hiblot
We used to get the address of the optionnal ctrl_mod_mmap register as the third memory range of the "reg" property. the linux driver moved to use a syscon instead. In order to keep the DTS as close as possible to that of linux, we move to using a syscon as well. If CONFIG_SYSCON is no set, the

[U-Boot] [PATCH 3/3] configs: dra7x/am57x: Enable the SYSCON and REGMAP features

2017-02-07 Thread Jean-Jacques Hiblot
This is required by the ti_qspi driver to get from the DTS the address of the ctrl_mod_mmap register. Signed-off-by: Jean-Jacques Hiblot --- configs/am57xx_evm_defconfig| 2 ++ configs/am57xx_hs_evm_defconfig | 2 ++ configs/dra7xx_evm_defconfig| 2 ++

[U-Boot] [PATCH 0/3] driver: ti_qspi: Use a SYSCON device to map the ctrl_mod_mmap register

2017-02-07 Thread Jean-Jacques Hiblot
This series allows the ti_qspi driver to use the same dts description as the linux kernel. In Linux since 4.6 the ctrl_mod_mmap is described in the DTS as a syscon. It used to be the 3rd memory range in "reg". The first patch of this series is a generic one. It changes the regmap initialization

Re: [U-Boot] [PATCH v3 04/13] sunxi: simplify ACTLR.SMP bit set #ifdef

2017-02-07 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 11:29:26AM +, Andre Przywara wrote: > Hi, > > On 03/02/17 10:52, Jagan Teki wrote: > > On Wed, Feb 1, 2017 at 2:36 AM, Andre Przywara > > wrote: > >> Instead of enumerating all SoC families that need that bit set, let's > >> just express this

Re: [U-Boot] [PATCH v3 12/13] sunxi: dts: add basic OrangePi PC 2 device tree file

2017-02-07 Thread Maxime Ripard
On Mon, Feb 06, 2017 at 10:18:14AM +, Andre Przywara wrote: > Hi, > > On 03/02/17 11:14, Jagan Teki wrote: > > On Wed, Feb 1, 2017 at 2:36 AM, Andre Przywara > > wrote: > >> The OrangePi PC 2 is a typical SBC with the 64-bit Allwinner H5 SoC. > >> Create a new .dts

Re: [U-Boot] [PATCH] arm: dts: dra7: add qspi register map for control module

2017-02-07 Thread Jean-Jacques Hiblot
On 06/02/2017 14:37, Tom Rini wrote: On Mon, Feb 06, 2017 at 02:27:42PM +0100, Jean-Jacques Hiblot wrote: On 06/02/2017 13:47, Tom Rini wrote: On Mon, Feb 06, 2017 at 12:09:12PM +0100, Jean-Jacques Hiblot wrote: On 03/02/2017 17:52, Tom Rini wrote: On Wed, Feb 01, 2017 at 11:53:42AM

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-07 Thread Phil Edworthy
Hi Tom, On 07 February 2017 14:23, Tom Rini wrote: > On Tue, Feb 07, 2017 at 02:19:39PM +, Phil Edworthy wrote: > > Hi Kamil, > > > > On 07 February 2017 14:12, Kamil Lulko wrote: > > > On Mon, Feb 6, 2017 at 12:16 AM, Tom Rini wrote: > > > > On Fri, Feb 03, 2017 at

[U-Boot] latest u-boot on Technexion LS1021A-IOT v1.0

2017-02-07 Thread Leon Brits
Hi all, I've compiled u-boot 2017.01 for the TechNexion LS1021A-IOT v1.0 but there is no output of the u-boot boot process. The serial port application does report that it is connected. I have a 700-28203 REV X2 / SCH-28203 REV B3 unit which shows, when booted with its default u-boot from

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-07 Thread Tom Rini
On Tue, Feb 07, 2017 at 02:19:39PM +, Phil Edworthy wrote: > Hi Kamil, > > On 07 February 2017 14:12, Kamil Lulko wrote: > > On Mon, Feb 6, 2017 at 12:16 AM, Tom Rini wrote: > > > On Fri, Feb 03, 2017 at 02:48:40PM +, Phil Edworthy wrote: > > > > > > > The SysTick is

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-07 Thread Phil Edworthy
Hi Kamil, On 07 February 2017 14:12, Kamil Lulko wrote: > On Mon, Feb 6, 2017 at 12:16 AM, Tom Rini wrote: > > On Fri, Feb 03, 2017 at 02:48:40PM +, Phil Edworthy wrote: > > > > > The SysTick is a 24-bit down counter that is found on all ARM Cortex > > > M3, M4, M7

Re: [U-Boot] [PATCH] armv7m: Add SysTick timer driver

2017-02-07 Thread Kamil Lulko
On Mon, Feb 6, 2017 at 12:16 AM, Tom Rini wrote: > > On Fri, Feb 03, 2017 at 02:48:40PM +, Phil Edworthy wrote: > > > The SysTick is a 24-bit down counter that is found on all ARM Cortex > > M3, M4, M7 devices and is always located at a fixed address. > > > >

[U-Boot] [PATCH v2] Add single register pin controller driver

2017-02-07 Thread Felix Brack
This patch adds a pin controller driver supporting devices using a single configuration register per pin. Signed-off-by: Felix Brack --- Changes in v2: - add a comment on function single_configure_pins() explaining the function and its parameters - use fdt_getprop() to simplify

[U-Boot] [PATCH] armv7m: Make reset_cpu() weak

2017-02-07 Thread Phil Edworthy
Some devices/boards have their own way to reset the cpu. Signed-off-by: Phil Edworthy --- arch/arm/cpu/armv7m/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7m/cpu.c b/arch/arm/cpu/armv7m/cpu.c index 58cde93..c3e4734 100644

Re: [U-Boot] [PATCH v2 4/7] STiH410: Add STi SDHCI driver

2017-02-07 Thread Patrice CHOTARD
Hi Jaehoon On 02/07/2017 11:42 AM, Jaehoon Chung wrote: > Hi Patrice, > > On 02/03/2017 02:13 AM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> Add SDHCI host controller found on STMicroelctronics SoCs > > Just wonder what is flashSS? > Add the minor

Re: [U-Boot] [PATCH 1/7] arm: Add support for STMicroelectronics STiH410 soc

2017-02-07 Thread Patrice CHOTARD
Hi Simon On 02/06/2017 04:34 PM, Simon Glass wrote: > H Patrice, > > On 2 February 2017 at 09:00, wrote: >> From: Patrice Chotard >> >> The STiH410 is an advanced multi-HD AVC processor with 3D >> graphics acceleration and 1.5-GHz ARM Cortex-A9

Re: [U-Boot] [PATCH v2 1/3] scripts: import bin2c.c from Linux 4.10-rc6

2017-02-07 Thread Tom Rini
On Tue, Feb 07, 2017 at 09:23:38PM +0900, Masahiro Yamada wrote: > Hi Bin, > > 2017-02-07 11:38 GMT+09:00 Bin Meng : > > On Mon, Jan 30, 2017 at 10:12 AM, Masahiro Yamada > > wrote: > >> Import scripts/basic/bin2c.c of Linux. > >> > >> In Linux

[U-Boot] [PATCH] ARM: uniphier: enable generic EHCI driver for uniphier_v8_defconfig

2017-02-07 Thread Masahiro Yamada
The LD11 SoC is equipped with USB EHCI controllers. Signed-off-by: Masahiro Yamada --- configs/uniphier_v8_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/uniphier_v8_defconfig b/configs/uniphier_v8_defconfig index b6010cc..5dadc4c 100644

Re: [U-Boot] [PATCH v2 1/3] scripts: import bin2c.c from Linux 4.10-rc6

2017-02-07 Thread Masahiro Yamada
Hi Bin, 2017-02-07 11:38 GMT+09:00 Bin Meng : > On Mon, Jan 30, 2017 at 10:12 AM, Masahiro Yamada > wrote: >> Import scripts/basic/bin2c.c of Linux. >> >> In Linux Kernel, this file was moved to scripts/basic directory by >> commit 8370edea81e3

Re: [U-Boot] [PATCH v2 4/7] STiH410: Add STi SDHCI driver

2017-02-07 Thread Jaehoon Chung
Hi Patrice, On 02/03/2017 02:13 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > Add SDHCI host controller found on STMicroelctronics SoCs Just wonder what is flashSS? Add the minor comments. > > Signed-off-by: Patrice Chotard >

Re: [U-Boot] [PATCH v1] Add single register pin controller driver

2017-02-07 Thread Felix Brack
Hello Simon, Thank you for the review! I will submit an improved version of the patch. On 06.02.2017 16:34, Simon Glass wrote: > Hi Felix, > > On 3 February 2017 at 05:29, Felix Brack wrote: >> This patch adds a pin controller driver supporting devices >> using a single

[U-Boot] [PATCH v2 4/4] configs: at91sam9x5ek: move SYS_NO_FLASH to defconfig

2017-02-07 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: - rebase on the patch set: [RESEND PATCH v2] ARM: at91: add default config file for sama5d36ek CMP board

[U-Boot] [PATCH v2 3/4] board: at91sam9x5ek: enable early debug UART

2017-02-07 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: None board/atmel/at91sam9x5ek/at91sam9x5ek.c | 14 ++

[U-Boot] [PATCH v2 2/4] board: at91sam9x5ek: clean up code

2017-02-07 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass --- Changes in v2: None board/atmel/at91sam9x5ek/at91sam9x5ek.c |

[U-Boot] [PATCH v2 1/4] board: at91sam9x5ek: move config options to defconfig

2017-02-07 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4ek_*_defconfig, and make the drivers, spi, emac, gpio, serial and ehci usb to support the driver model. Due to the limitation of internal SRAM size, disable the

[U-Boot] [PATCH v2 0/4] board: at91sam9x5ek: convert board to support DM and DT

2017-02-07 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support Driver Model and Device Tree. It is based on the patch set: [PATCH v5 0/2] pinctrl: at91: Add pinctrl driver http://lists.denx.de/pipermail/u-boot/2017-February/280463.html Changes in v2: - rebase on the patch set:

[U-Boot] [PATCH v5] dm/mmc: gen_atmel_mci: Add driver model support for mci

2017-02-07 Thread Wenyou Yang
Add the driver model support for Atmel mci while retaining the existing legacy code. This allows the driver to support boards that have converted to driver model as well as those that have not. Signed-off-by: Wenyou Yang Reviewed-by: Simon Glass ---

[U-Boot] [RESEND PATCH v2] ARM: at91: add default config file for sama5d36ek CMP board

2017-02-07 Thread Wenyou Yang
The sama5d36ek CMP board is the variant of sama5d3xek board. It is equipped with the low-power DDR2 SDRAM, PMIC ACT8865, and some power rail. Its main purpose is used to measure the power consumption. As those changes are done in at91bootstrap, in U-Boot, use another device tree file, no code to

[U-Boot] [PATCH v2] ARM: at91: add default config file for sama5d36ek CMP board

2017-02-07 Thread Wenyou Yang
The sama5d36ek CMP board is the variant of sama5d3xek board. It is equipped with the low-power DDR2 SDRAM, PMIC ACT8865, and some power rail. Its main purpose is used to measure the power consumption. As those changes are done in at91bootstrap, in U-Boot, use another device tree file, no code to

Re: [U-Boot] [PATCH] drivers: net: phy: atheros: apply the previous register setting for AR8031 to fix the voltage peak issue

2017-02-07 Thread Sekhar Nori
On Monday 06 February 2017 11:06 PM, Ken.Lin wrote: >>> The register setting would turn out to be 0x3D47 on our project boards and >> our signal measurement results show the patch (v2 version, >> https://patchwork.ozlabs.org/patch/723461/)) could fix the voltage peak >> issue. >>> The proposed

[U-Boot] [PATCH v2 7/7] configs: sama5d3_xplained: move CONFIG_SYS_NO_FLASH to defconfig

2017-02-07 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d3x_xplained_*_defconfig files. Signed-off-by: Wenyou Yang --- Changes in v2: - rebase on the patch set: [PATCH v3 0/8] board: sama5d4: convert boards to support DM/DT

[U-Boot] [PATCH v2 6/7] board: sama5d3_xplained: enable early debug UART

2017-02-07 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3_xplained/sama5d3_xplained.c | 16 +++- configs/sama5d3_xplained_mmc_defconfig |

[U-Boot] [PATCH v2 1/7] board: sama5d3xek: move config options to defconfig

2017-02-07 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d3xek_*_defconfig. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c| 2 ++

[U-Boot] [PATCH v2 4/7] board: sama5d3_xplained: move config options to defconfig

2017-02-07 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d3xek_*_defconfig. Signed-off-by: Wenyou Yang --- Changes in v2: None configs/sama5d3_xplained_mmc_defconfig | 21

[U-Boot] [PATCH v2 5/7] board: sama5d3_xplained: clean up code

2017-02-07 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3_xplained/sama5d3_xplained.c | 19 --- 1 file

[U-Boot] [PATCH v2 2/7] board: sama5d3xek: clean up code

2017-02-07 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c | 73 + 1 file

[U-Boot] [PATCH v2 3/7] board: sama5d3xek: enable early debug UART

2017-02-07 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- Changes in v2: None board/atmel/sama5d3xek/sama5d3xek.c| 15 ++- configs/sama5d3xek_mmc_defconfig | 6 ++

[U-Boot] [PATCH v2 0/7] board: sama5d3: convert boards to support DM/DT

2017-02-07 Thread Wenyou Yang
The purpose of patch set is to convert the board to support Device Tree and Driver Model. It is based on the patch set: [PATCH v5 0/2] pinctrl: at91: Add pinctrl driver http://lists.denx.de/pipermail/u-boot/2017-February/280463.htm Changes in v2: - rebase on the patch set:

[U-Boot] [PATCH v3 8/8] configs: sama5d4: move CONFIG_SYS_NO_FLASH to *defconfig

2017-02-07 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH to the configs/sama5d4*_defconfig file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: - add the Reviewed-by tags. - rebase on the patch: [PATCH v2] ARM: dts: at91: add device tree

[U-Boot] [PATCH v3 6/8] board: sama5d4ek: clean up code

2017-02-07 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None Changes in v2: - Restore the wrong

[U-Boot] [PATCH v3 7/8] board: sama5d4ek: enable early debug UART

2017-02-07 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None board/atmel/sama5d4ek/sama5d4ek.c | 15

[U-Boot] [PATCH v3 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-07 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4_xplained_*_defconfig files. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None

[U-Boot] [PATCH v3 5/8] board: sama5d4ek: move config options to defconfig

2017-02-07 Thread Wenyou Yang
Enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Move some config options to configs/sama5d4ek_*_defconfig. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None Changes in v2:

[U-Boot] [PATCH v3 3/8] board: sama5d4_xplained: clean up code

2017-02-07 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None Changes in v2: - Restore the wrong

[U-Boot] [PATCH v3 4/8] board: sama5d4_xplained: enable early debug UART

2017-02-07 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann --- Changes in v3: None Changes in v2: None board/atmel/sama5d4_xplained/sama5d4_xplained.c

  1   2   >