[U-Boot] [RFC PATCH] kbuild: turn of dtc unit address warnings by default

2017-02-26 Thread Masahiro Yamada
DTC 1.4.2 or later checks DT unit-address without reg property and vice-versa, and generates lots of warnings. Fixing DT files will take for a while. Until then, let's turn off the check unless building with W=*. Introduce a new helper dtc-option to check if the option is supported in order to

[U-Boot] [PATCH 2/2] ARM: dts: uniphier: fix no unit name warnings

2017-02-26 Thread Masahiro Yamada
Fix warnings reported when built by DTC 1.4.2 or later: Node /memory has a reg or ranges property, but no unit name Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld11-ref.dts | 2 +- arch/arm/dts/uniphier-ld11.dtsi | 2 +-

[U-Boot] [PATCH 1/2] ARM: dts: uniphier: remove skeleton.dtsi inclusion

2017-02-26 Thread Masahiro Yamada
Linux Commit 9c0da3cc61f1 ("ARM: dts: explicitly mark skeleton.dtsi as deprecated") declared that skeleton.dtsi was deprecated. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ld4.dtsi | 4 ++-- arch/arm/dts/uniphier-pro4.dtsi | 4 ++--

Re: [U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-26 Thread Robert Nelson
On Sun, Feb 26, 2017 at 11:29 PM, Heiko Schocher wrote: > Hello Robert, > > Am 27.02.2017 um 05:34 schrieb Robert Nelson: >> >> On Sun, Feb 26, 2017 at 7:37 PM, Tom Rini wrote: >>> >>> On Sun, Feb 26, 2017 at 08:01:19PM -0500, Tom Rini wrote: >>> For a long

Re: [U-Boot] [PATCH 14/20] arm: socfpga: add SPL support for Arria 10

2017-02-26 Thread Chee, Tien Fong
On Sab, 2017-02-25 at 22:43 +0100, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > Add SPL support for Arria 10. > > > > Signed-off-by: Tien Fong Chee > > Signed-off-by: Ley Foon Tan > > --- > >  

Re: [U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-26 Thread Heiko Schocher
Hello Robert, Am 27.02.2017 um 05:34 schrieb Robert Nelson: On Sun, Feb 26, 2017 at 7:37 PM, Tom Rini wrote: On Sun, Feb 26, 2017 at 08:01:19PM -0500, Tom Rini wrote: For a long while dtc has warned about various constructs. This is now leading to log file size being

[U-Boot] [PATCH 3/3] board: at91sam9263ek: clean up code

2017-02-26 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9263ek/at91sam9263ek.c | 58 --- 1 file changed, 58

[U-Boot] [PATCH 2/3] configs: at91sam9263ek: update for DT and DM support

2017-02-26 Thread Wenyou Yang
Support the device tree and enable CONFIG_CLK and CONFIG_PINCTRL to support the at91 clock driver and the at91 pinctrl driver. Enable DM_GPIO, DM_MMC and DM_ETH support, move CONFIG_AT91_GPIO, CONFIG_GENERIC_ATMEL_MCI and CONFIG_MACB config option to the default config files. Signed-off-by:

[U-Boot] [PATCH 0/3] board: at91sam9263ek: convert to support DM and DT

2017-02-26 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the Driver Model and the Device Tree. Wenyou Yang (3): ARM: dts: at91: add dts files for at91sam9263ek configs: at91sam9263ek: update for DT and DM support board: at91sam9263ek: clean up code arch/arm/dts/Makefile

[U-Boot] [PATCH 1/3] ARM: dts: at91: add dts files for at91sam9263ek

2017-02-26 Thread Wenyou Yang
The device tree source files of at91sam9263ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD, pioE) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Fix the compilation

Re: [U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-26 Thread Robert Nelson
On Sun, Feb 26, 2017 at 7:37 PM, Tom Rini wrote: > On Sun, Feb 26, 2017 at 08:01:19PM -0500, Tom Rini wrote: > >> For a long while dtc has warned about various constructs. This is now >> leading to log file size being exceeded in travis, and as the majority >> of these errors

Re: [U-Boot] [linux-sunxi] [PATCH v2 4/6] sunxi: fix an error when setting DLDO on AXP818

2017-02-26 Thread Chen-Yu Tsai
On Sun, Feb 26, 2017 at 7:52 AM, Icenowy Zheng wrote: > The driver of AXP818 PMIC have a serious bug when setting DLDOs' voltage > -- the register offset of ELDO is wrongly used instead of DLDO. > > Fix this problem. > > Signed-off-by: Icenowy Zheng

[U-Boot] [PATCH 2/2] board: at91sam9261ek: update for DT and DM support

2017-02-26 Thread Wenyou Yang
Support the device tree and enable CONFIG_CLK and CONFIG_PINCTRL to support the at91 clock driver and the at91 pinctrl driver. Enable DM_GPIO support, move CONFIG_AT91_GPIO config option to the default config files. Signed-off-by: Wenyou Yang ---

[U-Boot] [PATCH 1/2] ARM: dts: at91: add dts files for at91sam9261ek

2017-02-26 Thread Wenyou Yang
The device tree source files of at91sam9261ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Fix the compilation warnings.

Re: [U-Boot] [PATCH 1/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara wrote: > Instead of hard-coding GPIO pins used for a certain peripheral, we > should just use the pinctrl information from the DT. > The sun8i-emac driver has some simple implementation of that, so > let's just generalize

[U-Boot] [PATCH 0/2] board: at91sam9261ek: convert to support DM and DT

2017-02-26 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the Driver Model and the Device Tree. Wenyou Yang (2): ARM: dts: at91: add dts files for at91sam9261ek board: at91sam9261ek: update for DT and DM support arch/arm/dts/Makefile | 2 +

Re: [U-Boot] [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara wrote: > Hi, > > in the wake of the sunxi DM enablement series it became apparent that > the current device tree files for the A64 SoC and its board are outdated. > > Since Linux v4.10-rc1 there are now basic .dts files for

Re: [U-Boot] [PATCH 1/2 RFT] sunxi: power: Add AXP806 and AXP808 support

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 3:01 AM, Rask Ingemann Lambertsen wrote: > An X-Powers AXP806 or AXP808 PMIC is usually found on boards using the > Allwinner A80 ARM SoC. This patch adds support for the PMIC's regulators > and sets up the runtime address and master/slave mode in

Re: [U-Boot] [PATCH 2/2] sunxi: defconfig: Sunchip CX-A99: Raise CPU voltage and clock frequency

2017-02-26 Thread Chen-Yu Tsai
On Mon, Feb 27, 2017 at 3:02 AM, Rask Ingemann Lambertsen wrote: > This patch uses the AXP808 support to raise the Cortex-A7 core voltage > from the power-on default of 0.9 V to 1.02 V and increases the clock > frequency from the default 1008 MHz to 1200 MHz. This is the

[U-Boot] [PATCH 3/3] board: at91sam9rlek: clean up code

2017-02-26 Thread Wenyou Yang
Since the introduction of the pinctrl and clk drivers and the device tree files, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9rlek/at91sam9rlek.c | 18 -- 1 file changed, 18 deletions(-)

[U-Boot] [PATCH 2/3] configs: at91sam9rlek: update for DT and DM support

2017-02-26 Thread Wenyou Yang
Support the device tree and enable CONFIG_CLK and CONFIG_PINCTRL to support at91 clock driver and at91 pinctrl driver. Enable DM_GPIO, DM_MMC support, move CONFIG_AT91_GPIO and CONFIG_GENERIC_ATMEL_MCI config option to the default config files. Signed-off-by: Wenyou Yang

[U-Boot] [PATCH 1/3] ARM: dts: at91: add dts files for at91sam9rlek

2017-02-26 Thread Wenyou Yang
The device tree source files of at91sam9rlek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Fix the compilation

[U-Boot] [PATCH 0/3] board: at91sam9rlek: convert to support DM and DT

2017-02-26 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the Driver Model and the Device Tree. Wenyou Yang (3): ARM: dts: at91: add dts files for at91sam9rlek configs: at91sam9rlek: update for DT and DM support board: at91sam9rlek: clean up code arch/arm/dts/Makefile

Re: [U-Boot] [PULL] u-boot-usb/master

2017-02-26 Thread Tom Rini
On Sun, Feb 26, 2017 at 05:51:19PM +0100, Marek Vasut wrote: > Hi, > > mostly DFU fixes for current release . > > The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: > > video: mxsfb: Fix reset hang when videomode variable is not present > (2017-02-22 21:47:59 +0100)

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

2017-02-26 Thread Tom Rini
On Thu, Feb 23, 2017 at 09:42:57AM -0700, Simon Glass wrote: > Hi Tom, > > This includes support for two SoCs that have been in the works for a while: > rk3188 from Heiko Stübner and and SPL for rk3399 from Kever Yang. For the > former there are a few more patches to come but I'll apply them in

Re: [U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-26 Thread Tom Rini
On Sun, Feb 26, 2017 at 08:01:19PM -0500, Tom Rini wrote: > For a long while dtc has warned about various constructs. This is now > leading to log file size being exceeded in travis, and as the majority > of these errors need to be fixed in the kernel, switch to using the > stock

Re: [U-Boot] pull request: u-boot-uniphier/master

2017-02-26 Thread Tom Rini
On Thu, Feb 23, 2017 at 11:03:24AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Please pull the 4th round of UniPhier updates for v2017.03: > > - Fix regressions caused by the previous reworks > - Add pin configuration support > - Re-work SPL code > - Update DRAM and PLL setup code > -

Re: [U-Boot] [PATCH] openrd: disable private arch memset, memcpy and libgcc

2017-02-26 Thread Tom Rini
On Sun, Feb 26, 2017 at 04:29:32PM +0100, Albert ARIBAUD wrote: > The switch to private LIBGCC causes 'undefined instruction' > exception in at least the Open-RD Ultimate and Client, and > quite probably the Open-RD Base as well. > > While debugging this issue, it appeared the switch to >

[U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-26 Thread Tom Rini
For a long while dtc has warned about various constructs. This is now leading to log file size being exceeded in travis, and as the majority of these errors need to be fixed in the kernel, switch to using the stock device-tree-compiler package. Signed-off-by: Tom Rini ---

[U-Boot] [PATCH 3/6] sunxi: dts: update sun50i-a64.dtsi from Linux

2017-02-26 Thread Andre Przywara
Now with USB and MMC for the A64 supported in mainline Linux, let's sync our DT with what's in the official Linux repository. This completely changes the clock representation, but U-Boot doesn't use this anyway. Also it switches to a new pinctrl binding, which uses generic property names. The only

[U-Boot] [PATCH 6/6] sunxi: dts: add Bananapi M64 .dts

2017-02-26 Thread Andre Przywara
Since mainline Linux gained support for the BananaPi-M64, let's just copy this DT to prepare the U-Boot support for that board. Again add the required DT nodes for the Ethernet IP. Signed-off-by: Andre Przywara --- arch/arm/dts/Makefile| 3 +-

[U-Boot] [PATCH 4/6] sunxi: dts: update Pine64 .dts

2017-02-26 Thread Andre Przywara
Update the two .dts files for the Pine64 boards with those used in the kernel. This switches from using a -common.dtsi to including the .dts for the non-plus model in the -plus file. Again we keep our EMAC driver nodes in, which are not yet in mainline Linux. Signed-off-by: Andre Przywara

[U-Boot] [PATCH 5/6] sunxi: dts: remove now obsolete pine64-common.dtsi

2017-02-26 Thread Andre Przywara
Now since the common DT nodes between the two Pine64 boards have been moved into the .dts for the non-plus model, we no longer need the extra -common.dtsi. Let's just remove it. Signed-off-by: Andre Przywara --- arch/arm/dts/sun50i-a64-pine64-common.dtsi | 93

[U-Boot] [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-26 Thread Andre Przywara
Hi, in the wake of the sunxi DM enablement series it became apparent that the current device tree files for the A64 SoC and its board are outdated. Since Linux v4.10-rc1 there are now basic .dts files for the Allwinner A64 SoC and the Pine64 boards in the mainline kernel. Linux v4.11-rc1 added

[U-Boot] [PATCH 1/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-02-26 Thread Andre Przywara
Instead of hard-coding GPIO pins used for a certain peripheral, we should just use the pinctrl information from the DT. The sun8i-emac driver has some simple implementation of that, so let's just generalize this and move the code into a more common location. On the way we add support for the new,

[U-Boot] [PATCH 2/6] net: sun8i-emac: use new, generic GPIO setup routine

2017-02-26 Thread Andre Przywara
Instead of open-coding the fairly generic pinmux setup in the sun8i-emac driver, let's just use the new common implementation of that. This has also the advantage of supporting the newpinctrl bindings, so the driver can cope with the upstream Linux DTs. Signed-off-by: Andre Przywara

Re: [U-Boot] [PATCH 2/2] arm64: booti: allow to place kernel image anywhere in physical memory

2017-02-26 Thread Tom Rini
On Thu, Feb 23, 2017 at 10:31:17AM -0500, Tom Rini wrote: > On Thu, Feb 23, 2017 at 06:17:38PM +0900, Masahiro Yamada wrote: > > Hi Tom, > > > > > > 2017-02-23 1:19 GMT+09:00 Tom Rini : > > > On Wed, Feb 22, 2017 at 11:34:26AM +0900, Masahiro Yamada wrote: > > > > > >> At

[U-Boot] [PATCH 2/2] sunxi: defconfig: Sunchip CX-A99: Raise CPU voltage and clock frequency

2017-02-26 Thread Rask Ingemann Lambertsen
This patch uses the AXP808 support to raise the Cortex-A7 core voltage from the power-on default of 0.9 V to 1.02 V and increases the clock frequency from the default 1008 MHz to 1200 MHz. This is the maximum clock frequency listed in the vendor's sys_config.fex file. Signed-off-by: Rask Ingemann

[U-Boot] [PATCH 1/2 RFT] sunxi: power: Add AXP806 and AXP808 support

2017-02-26 Thread Rask Ingemann Lambertsen
An X-Powers AXP806 or AXP808 PMIC is usually found on boards using the Allwinner A80 ARM SoC. This patch adds support for the PMIC's regulators and sets up the runtime address and master/slave mode in pmic_bus_init(). AXP806/AXP808 support is enabled by default on all MACH_SUN9I boards. Because

[U-Boot] [PATCH 0/2] sunxi: power: Add AXP806 and AXP808 support

2017-02-26 Thread Rask Ingemann Lambertsen
The X-Powers AXP806 and AXP808 PMICs are usually found on boards featuring the Allwinner A80 ARM SoC. The so far supported features are the same on the two chips. A lack of data sheets to compare makes it impossible to know for sure what the differences are, but at least two of the power-up

[U-Boot] [PULL] u-boot-usb/master

2017-02-26 Thread Marek Vasut
Hi, mostly DFU fixes for current release . The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: video: mxsfb: Fix reset hang when videomode variable is not present (2017-02-22 21:47:59 +0100) are available in the git repository at: git://git.denx.de/u-boot-usb.git

[U-Boot] [PATCHV2] tools: plbimage support generate rcw file

2017-02-26 Thread yuan linyu
From: yuan linyu some system will not generate pbl format u-boot, but require rcw. Signed-off-by: yuan linyu --- tools/pblimage.c | 48 +++- 1 file changed, 27 insertions(+), 21

[U-Boot] [PATCH] tools: plbimage support generate rcw file

2017-02-26 Thread yuan linyu
From: yuan linyu some system will not generate pbl format u-boot, but require rcw. Signed-off-by: yuan linyu --- tools/pblimage.c | 48 +++- 1 file changed, 27 insertions(+), 21

[U-Boot] [PATCH] openrd: disable private arch memset, memcpy and libgcc

2017-02-26 Thread Albert ARIBAUD
The switch to private LIBGCC causes 'undefined instruction' exception in at least the Open-RD Ultimate and Client, and quite probably the Open-RD Base as well. While debugging this issue, it appeared the switch to architecture-optimized memset and memcpy also causes the same exceptions. Until a

Re: [U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-26 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:36PM +0200, Uri Mashiach wrote: > Modify the determination of the base address of xHCI registers of DRA7XX > targets. > Before the commit: by the target. > After the commit: by the USB port index. > > Cc: Lokesh Vutla > Cc: Marek Vasut

Re: [U-Boot] [PATCH v4 1/7] arm: dra7xx: move CONFIG_DRA7XX to Kconfig

2017-02-26 Thread Tom Rini
On Thu, Feb 23, 2017 at 03:39:35PM +0200, Uri Mashiach wrote: > The symbol CONFIG_DRA7XX is needed for Kconfig conditions. > > Cc: Lokesh Vutla > Signed-off-by: Uri Mashiach Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2017-02-26 Thread Marek Vasut
On 02/22/2017 01:36 PM, Lukasz Majewski wrote: > Dear Marek, Pulled, thanks. > Please find pull request for dfu repository: > > The following changes since commit cc84f46800752edefb45a8a2de59ab6650dc4840: > > usb: dwc3: gadget: Remove unused header inclusion (2017-02-14 17:19:20 > +0100) >

Re: [U-Boot] [PATCH v4 3/7] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-26 Thread Marek Vasut
On 02/26/2017 01:25 PM, Igor Grinberg wrote: > Cc Marex... This came just in time to answer my concern /wrt patch 4/7, thanks. > On 02/23/17 15:39, Uri Mashiach wrote: >> A weak version of the function board_usb_init is implemented in: >> common/usb.c >> drivers/usb/host/xhci-omap.c >> >> To fix

Re: [U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-26 Thread Marek Vasut
On 02/23/2017 02:39 PM, Uri Mashiach wrote: > Modify the determination of the base address of xHCI registers of DRA7XX > targets. > Before the commit: by the target. > After the commit: by the USB port index. > > Cc: Lokesh Vutla > Cc: Marek Vasut > Cc: Roger

Re: [U-Boot] [PATCH v4 4/7] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-26 Thread Marek Vasut
On 02/23/2017 02:39 PM, Uri Mashiach wrote: > Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks > during board_usb_exit to enable and disable clocks respectively. > > Modifications: > * Enable USB clocks in the OMAP version of the function > board_usb_init. > * Disable USB

Re: [U-Boot] [PATCH v4 3/7] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-26 Thread Igor Grinberg
Cc Marex... On 02/23/17 15:39, Uri Mashiach wrote: > A weak version of the function board_usb_init is implemented in: > common/usb.c > drivers/usb/host/xhci-omap.c > > To fix the double implementations: > * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c > normal (not

Re: [U-Boot] [PATCH 0/5] mx6: tqma6: series of small fixes

2017-02-26 Thread Stefano Babic
On 03/02/2017 16:24, Markus Niebel wrote: > From: Markus Niebel > > Markus Niebel (5): > imx6: tqma6: implement power_init_board > imx6: tqma6: use lower driver stength for I2C pins > imx6: tqma6: disable spi CS unused in U-Boot > imx6: tqma6: adjust ethernet

Re: [U-Boot] [PATCH 0/2] Support additional Variant for TQMa6 SOM

2017-02-26 Thread Stefano Babic
On 03/02/2017 15:20, Markus Niebel wrote: > From: Markus Niebel > > Add support for the SOM variant featuring i.MX6DL. This needs a new > DCD config. The first patch is a small preparation. > > Markus Niebel (2): > arm: imx6: tqma6: use CONFIG_TQM6x for SOM

Re: [U-Boot] [PATCH v6 00/10] imx6ul: Add Engicam Is.IoT MX6UL support

2017-02-26 Thread Stefano Babic
On 24/02/2017 11:02, Jagan Teki wrote: > From: Jagan Teki > > This patch set support Engicam Is.IoT MX6UL board support. > > Changes for v6: > - Remove 'arm: dts: Add MAINTAINERS file' patch > - Rebase to master > > Changes for v5: > - Update ccgr_init so-that it

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-26 Thread Stefano Babic
On 24/02/2017 11:15, Jagan Teki wrote: > From: Jagan Teki > > Changes for v3: > - Rebase on master > - Fix checkpatch.pl Warnings > - Add IMX6_BMODE_UART macro for uart bootmode > - Remove value assignment in enum, since all enum list is order > > Changes for v3: > -

Re: [U-Boot] [PATCH v4 01/15] imx6: Add imx6_src_get_boot_mode

2017-02-26 Thread Stefano Babic
On 24/02/2017 11:15, Jagan Teki wrote: > For i.MX6, the bootmode determine code is part of spl_boot_device, > but there is might be a possibility for other part the code need to > check the desired boot mode for adding new functionalities like > modeboot env variable, or changing boot order etc. >

Re: [U-Boot] [PATCH V4 12/19] i2c: lpi2c: add lpi2c driver for i.MX7ULP

2017-02-26 Thread Stefano Babic
On 24/02/2017 04:56, Peng Fan wrote: > Add lpi2c driver for i.MX7ULP. > Need to enable the two options to use this driver: > CONFIG_DM_I2C=y > CONFIG_SYS_I2C_IMX_LPI2C=y > > Signed-off-by: Peng Fan > Acked-by: Heiko Schocher > Cc: Stefano Babic >

Re: [U-Boot] [PATCH v3 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-26 Thread Marek Vasut
On 02/22/2017 01:58 PM, Uri Mashiach wrote: [...] >> Someone would have to put that effort in. >> >> I wonder if instead of defining INDEX0, INDEX1 ... this could be turned >> into integer ... >> > > Something like the following? > > #ifdef CONFIG_DRA7XX > #if CONFIG_USB_XHCI_DRA7XX_INDEX == 1

Re: [U-Boot] [PATCH 07/20] arm: socfpga: add clock driver for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add clock driver support for Arria 10 and update Gen5 clock driver. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile |3

Re: [U-Boot] [PATCH 08/20] arm: socfpga: add system manager for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add system manager support for Arria 10. But these are just headers, there's no system manager code here ? > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- >

Re: [U-Boot] [PATCH 06/20] arm: socfpga: add reset driver support for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add reset driver support for Arria 10. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile | 2 + >

Re: [U-Boot] [PATCH 05/20] arm: socfpga: add A10 defines

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > add i2c, timer and other A10 defines. Start with capital letter please. > Signed-off-by: Dinh Nguyen > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/include/mach/base_addr_a10.h |

Re: [U-Boot] [PATCH] splash: Prevent splash_load_fs from writing to 0x0

2017-02-26 Thread Igor Grinberg
Hi Jonathan, On 02/24/17 18:46, Jonathan Golder wrote: > Passing NULL to fs_read() for actread value results in hanging U-Boot > at least on our ARM plattform (TI AM335x). Since fs_read() and > following functions do not catch nullpointers, writing to 0x0 occurs. > > Passing a local dummy var

[U-Boot] [U-boot] Question about bootp structure pack

2017-02-26 Thread Eric BOUXIROT
Hi everyone, I’m using u-boot-2015.07 in one of my project based on vpac270 soc module. u-boot is well configured and build is fine without error. Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for arm-softfloat-linux-gnu My problem is when i use DHCP command to retrieve a file

Re: [U-Boot] [PATCH 11/20] arm: socfpga: add pinmux for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add pinmux support for Arria 10. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile | 1 + >

Re: [U-Boot] [PATCH 14/20] arm: socfpga: add SPL support for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add SPL support for Arria 10. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/spl.c | 92 > - > 1 file

Re: [U-Boot] [PATCH 10/20] arm: socfpga: add misc support for Arria 10

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Add misc support for Arria 10 and minor fix on misc Gen5. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > arch/arm/mach-socfpga/Makefile| 1 + >

Re: [U-Boot] [PATCH 15/20] drivers: Makefile: include fpga build in SPL

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Arria 10 SPL needs the drivers/fpga. > > Signed-off-by: Tien Fong Chee > Signed-off-by: Ley Foon Tan > --- > drivers/Makefile | 1 + +CC Michal and Moritz, they did some FPGA/SPL work too. > 1

Re: [U-Boot] [PATCH 01/20] arm: socfpga: restructure clock manager driver

2017-02-26 Thread Marek Vasut
On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > Restructure clock manager driver in the preparation to support A10. > Move the Gen5 specific code to _gen5 files. No functional change. > > Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. > > Signed-off-by: Ley Foon Tan