Re: [U-Boot] [PATCH 00/22] dm: Add support for a 'live' device tree

2017-02-04 Thread Simon Glass
Hi, On 17 January 2017 at 21:50, Simon Glass wrote: > So far U-Boot uses a 'flat' device tree, which means that it is decoded > on the fly as needed. This uses the libfdt library and avoids needing > extra memory for additional tables. > > For some time there has been

Re: [U-Boot] [PATCH 1/1] aspeed: ast2500: Fix H-PLL and M-PLL clock rate calculation

2017-02-04 Thread Simon Glass
On 30 January 2017 at 12:35, Maxim Sloyko wrote: > > Fix H-PLL and M-PLL rate calculation in ast2500 clock driver. > Without this fix, valid setting can lead to division by zero > when requesting the rate of H-PLL or M-PLL clocks. > > Signed-off-by: Maxim Sloyko

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

2017-02-04 Thread Kever Yang
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 of-platdata enabled. Signed-off-by: Kever Yang --- arch/arm/Kconfig

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

2017-02-04 Thread Kever Yang
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 support DDR3, LPDDR3, DDR4 sdram, this patch is porting from coreboot, support 4GB lpddr3 in this version. Signed-off-by: Kever Yang

[U-Boot] [PATCH] ARM: uniphier: remove DRAM base address from board parameters

2017-02-04 Thread Masahiro Yamada
The base address of each DRAM channel can be calculated from other parameters, so does not need hard-coding. What we need is the size of each DRAM channel and DRAM_SPARSE flag to decide the start address of DRAM channel 1. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH v3] cmd: move CONFIG_CMD_UNZIP and CONFIG_CMD_ZIP to Kconfig

2017-02-04 Thread Masahiro Yamada
CONFIG_CMD_ZIP is not defined by any board. I am moving CONFIG_CMD_UNZIP to defconfig files except UniPhier SoC family. I am the maintainer of UniPhier platform, so I know "select CMD_UNZIP" is better for this platform. Signed-off-by: Masahiro Yamada Acked-by:

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

2017-02-04 Thread Kever Yang
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 ATF support > has been split as a separate patch. > >

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

2017-02-04 Thread Kever Yang
Hi Simon, For rk3399, the data for sdram driver in dts is big, I don't want to do the copy for it, so I think use of-platdata is a good method, and for image size, its smaller, then it's sooner to load. Thanks, - Kever On 01/26/2017 10:22 PM, Simon Glass wrote: Hi Kever, On 17 January

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

2017-02-04 Thread Kever Yang
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? Thanks, - Kever On 01/26/2017 10:23 PM, Simon Glass wrote: On 18 January 2017 at 05:25, Kever Yang wrote: Just do nothing in

[U-Boot] [PATCH 09/10] ARM: DT: stm32f7: add ethernet pin contol node

2017-02-04 Thread Vikas Manocha
It also removes the ethernet pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 14 +

[U-Boot] [PATCH 06/10] PINCTRL: stm32f7: add pin control driver

2017-02-04 Thread Vikas Manocha
This driver uses the same pin control binding as that of linux, binding document of this patch is copied from linux. One addition done is for GPIO input and output mode configuration which was missing. Signed-off-by: Vikas Manocha --- configs/stm32f746-disco_defconfig

[U-Boot] [PATCH 07/10] ARM: DT: stm32f7: add pin control device node

2017-02-04 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi index afcd327..f59eca8 100644 --- a/arch/arm/dts/stm32f746.dtsi +++

[U-Boot] [PATCH 10/10] ARM: DT: stm32f7: add qspi pin contol node

2017-02-04 Thread Vikas Manocha
It also removes the qspi pin configuration done during the board initialization. Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746-disco.dts | 1 + arch/arm/dts/stm32f746.dtsi| 11 board/st/stm32f746-disco/stm32f746-disco.c | 43

[U-Boot] [PATCH 08/10] ARM: DT: stm32f7: add pin control node for serial port pins

2017-02-04 Thread Vikas Manocha
And remove the uart pin configuration from board initialization. Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746-disco.dts | 6 ++ arch/arm/dts/stm32f746.dtsi| 13 + board/st/stm32f746-disco/stm32f746-disco.c | 25

[U-Boot] [PATCH 05/10] stm32f7: clk: remove usart1 clock enable from board init

2017-02-04 Thread Vikas Manocha
Before clock driver availability it was required to enable usart1 clock for serial init but now with clock driver is taking care of usart1 clock. Signed-off-by: Vikas Manocha --- board/st/stm32f746-disco/stm32f746-disco.c | 1 - drivers/clk/clk_stm32f7.c |

[U-Boot] [PATCH 01/10] serial: stm32f7: add device tree support

2017-02-04 Thread Vikas Manocha
This patch adds device tree support for stm32f7 serial driver & removes serial platform data structure. Signed-off-by: Vikas Manocha --- board/st/stm32f746-disco/stm32f746-disco.c | 10 -- drivers/serial/serial_stm32x7.c| 24 2

[U-Boot] [PATCH 02/10] clk: stm32f7: add clock driver for stm32f7 family

2017-02-04 Thread Vikas Manocha
add basic clock driver support for stm32f7 to enable clocks required by the peripherals. Signed-off-by: Vikas Manocha --- arch/arm/mach-stm32/stm32f7/Makefile | 2 +- arch/arm/mach-stm32/stm32f7/soc.c | 2 -

[U-Boot] [PATCH 03/10] stm32f7: serial: use clock driver to enable clock

2017-02-04 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- drivers/serial/serial_stm32x7.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c index 2e6c676..969d94c 100644 ---

[U-Boot] [PATCH 00/10] stm32f7: add clock and pin control drivers

2017-02-04 Thread Vikas Manocha
This patchset: - adds support for stm32f7 clock driver. - adds support for stm32f7 pin control driver. - adds device tree nodes for stm32f7 serial & clock. - adds stm32f7 pin control device tree sub nodes : - serial usart1 - ethernet

[U-Boot] [PATCH 04/10] ARM: DT: stm32f7: add usart1 & clock device tree nodes

2017-02-04 Thread Vikas Manocha
Also created alias for usart1 and specified oscillator clock for stm32f7 discovery board. Signed-off-by: Vikas Manocha --- arch/arm/dts/stm32f746-disco.dts | 5 + arch/arm/dts/stm32f746.dtsi | 27 +++ 2 files changed, 32 insertions(+)

Re: [U-Boot] [U-Boot, v2, 5/8] board: sama5d4ek: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:46PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] [U-Boot, v2, 4/8] board: sama5d4_xplained: enable early debug UART

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:45PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] [U-Boot, v2, 3/8] board: sama5d4_xplained: clean up code

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:44PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] [PATCH v5 11/11] arm: dts: Add MAINTAINERS file

2017-02-04 Thread Jagan Teki
On Saturday 04 February 2017 05:52 PM, Tom Rini wrote: On Thu, Feb 02, 2017 at 09:54:09PM +0100, Jagan Teki wrote: On Thursday 02 February 2017 09:09 PM, Tom Rini wrote: On Thu, Feb 02, 2017 at 03:47:41PM +0100, Jagan Teki wrote: From: Jagan Teki Few of the dts

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread Stefan Bruens
On Samstag, 4. Februar 2017 20:16:20 CET d...@synoia.com wrote: > Stefan > Thanks for the reply > I suspect it is the offer response to the DHCP u-boot command. > > Options 66/67 are important in the netboot scenario. > > Regards Duncan Hare Dear Duncan, it would be good if you were more

Re: [U-Boot] [U-Boot, v2, 2/8] board: sama5d4_xplained: move config options to defconfig

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:43PM +0800, Wenyou Yang wrote: > 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

Re: [U-Boot] [U-Boot, v2, 1/8] configs: at91-sama5_common: fix for CONFIG_AT91_GPIO

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 03:16:42PM +0800, Wenyou Yang wrote: > If enabled Driver Model for GPIO, CONFIG_AT91_GPIO should be defined > by configs/*_defconfig file. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in

Re: [U-Boot] [U-Boot, v2, 3/3] gpio: at91_gpio: Add the clock support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:29PM +0800, Wenyou Yang wrote: > Add the clock support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: > - Add Reviewed-by tag. >

Re: [U-Boot] [U-Boot, v2, 1/3] gpio: Kconfig: Add CONFIG_AT91_GPIO option

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:27PM +0800, Wenyou Yang wrote: > The CONFIG_AT91_GPIO option is used to select AT91 PIO GPIO driver. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- >

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

2017-02-04 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] [U-Boot,v1] clk: at91: pmc: add more compatibles

2017-02-04 Thread Andreas Bießmann
On Wed, Oct 26, 2016 at 03:21:32PM +0800, Wenyou Yang wrote: > To keep the compatibles aligned with kernel, add more compatibles. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > drivers/clk/at91/pmc.c | 6 ++ > 1 file

Re: [U-Boot] [U-Boot, v2, 2/3] gpio: at91_gpio: Add the device tree support

2017-02-04 Thread Andreas Bießmann
On Fri, Oct 28, 2016 at 02:16:28PM +0800, Wenyou Yang wrote: > Add the device tree support. > > Signed-off-by: Wenyou Yang > Reviewed-by: Simon Glass Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > >

Re: [U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread Stefan Bruens
On Samstag, 4. Februar 2017 18:38:38 CET d...@synoia.com wrote: > The u-boot DHCP Command appears to populate some DHCP options, for example: > rootpath and gateway, netamsk and ipaddress. It does not appear to populate > Bootfile Name (Option 67) and Boot Server Host Name (Option 66) > > Can

[U-Boot] DHCP Command Does Not Populate all DHCP Options supplied by DHCP Server

2017-02-04 Thread dh
The u-boot DHCP Command appears to populate some DHCP options, for example: rootpath and gateway, netamsk and ipaddress. It does not appear to populate Bootfile Name (Option 67) and Boot Server Host Name (Option 66) Can populating all option returned from DHCP. BOOTP etc be added? I can

Re: [U-Boot] [PATCH v5 11/11] arm: dts: Add MAINTAINERS file

2017-02-04 Thread Tom Rini
On Thu, Feb 02, 2017 at 09:54:09PM +0100, Jagan Teki wrote: > On Thursday 02 February 2017 09:09 PM, Tom Rini wrote: > >On Thu, Feb 02, 2017 at 03:47:41PM +0100, Jagan Teki wrote: > > > >>From: Jagan Teki > >> > >>Few of the dts files in arm are not maintained by

[U-Boot] [PATCH 0/5] Add support for Adaptrum ACRS2 mainboard

2017-02-04 Thread Alexandru Gagniuc
This is a series of patches to add support for our ACRS2 board. This board is already out in the wild, but we decided to change to a proper bootloader for recovery and sturdiness reasons. Because this board has been shipping, it already has a defined format for the EEPROM contents, which

[U-Boot] [PATCH 2/5] Revert "configs: am335x: usb: do not define CONFIG_DM_USB for spl"

2017-02-04 Thread Alexandru Gagniuc
This reverts commit 4623f974a585b59bd07fb60a326a096290aa4c53. This confuses the #ifdef logic in am33xx/board.c. This results in undefined symbols when USB gadget mode is disabled in .config. Signed-off-by: Alexandru Gagniuc --- include/configs/am335x_evm.h | 1 - 1 file

[U-Boot] [PATCH 5/5] configs: Add defconfig for Adaptrum ACRS2

2017-02-04 Thread Alexandru Gagniuc
Signed-off-by: Alexandru Gagniuc --- configs/am335x_adaptrum_acrs2_defconfig | 36 + 1 file changed, 36 insertions(+) create mode 100644 configs/am335x_adaptrum_acrs2_defconfig diff --git a/configs/am335x_adaptrum_acrs2_defconfig

[U-Boot] [PATCH 3/5] ARM: DTS: Add devicetree for Adaptrum ACRS2 mainboard

2017-02-04 Thread Alexandru Gagniuc
Signed-off-by: Alexandru Gagniuc --- arch/arm/dts/Makefile | 1 + arch/arm/dts/am335x-adaptrum-acrs2-mb.dts | 100 ++ 2 files changed, 101 insertions(+) create mode 100644 arch/arm/dts/am335x-adaptrum-acrs2-mb.dts diff

[U-Boot] [PATCH 4/5] configs: am335x: Enable PHY_VITESSE

2017-02-04 Thread Alexandru Gagniuc
The Adaptrum ACRS2 mainboard uses a Vitesse VSC8601 PHY. Signed-off-by: Alexandru Gagniuc --- include/configs/am335x_evm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index cd42601..b0014cf 100644 ---

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

2017-02-04 Thread Alexandru Gagniuc
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 with USB gadget disabled. Since these CONFIG_ variables are now part of