Re: [PATCH 0/2] fix typos (import from linux kernel)

2014-11-03 Thread Sascha Hauer
On Thu, Oct 30, 2014 at 03:30:37PM +0300, Antony Pavlov wrote: Antony Pavlov (2): Typoes: whith - with Makefile: fix typos Makefile | 7 +++ drivers/mci/mxs.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) Applied, thanks Sascha -- Pengutronix e.K.

Re: [PATCH] ARM: atmel: add sama5d4 xplained ultra board support

2014-11-03 Thread Sascha Hauer
On Wed, Oct 29, 2014 at 04:59:34PM +0800, Bo Shen wrote: The sama5d4 xplained ultra board support following features: - NAND flash support - SPI flash support - MMC card support (MCI1) - LCD display support (with QT1070) - Ethernet support Signed-off-by: Bo Shen

Re: [PATCH] serial: ns16550: Remove unused fields from NS16550_plat structure

2014-11-03 Thread Sascha Hauer
On Thu, Oct 30, 2014 at 01:32:31PM +0300, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/ns16550.h | 3 --- 1 file changed, 3 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial

Re: [PATCH 00/13] Tegra124 PCIe

2014-11-03 Thread Sascha Hauer
On Sun, Nov 02, 2014 at 09:13:42PM +0100, Lucas Stach wrote: This series implements PCIe on Tegra124 aka K1. With this applied the Jetson-TK1 platform is finally useable for proper development, as the network is working now. The series is spun against -next, as it depends on the previous

[For next PATCH v2 1/2] arm: am33xx: Add rmii2_crs_dv mux selection in SMA2 register

2014-11-03 Thread Wadim Egorov
Silicon revision 1.0 devices only provide the MMC2_DAT7 signal when Mode3 is selected. Silicon revision 2.0 and newer devices implement another level of pin multiplexing which provides the original MMC2_DAT7 signal or RMII2_CRS_DV signal when Mode3 is selected. This new level of of pin

[For next PATCH v2 2/2] phyFLEX: Select RMII2_CRS_DV on GPMC_A9 pin

2014-11-03 Thread Wadim Egorov
Signed-off-by: Wadim Egorov w.ego...@phytec.de --- arch/arm/boards/phytec-phyflex-am335x/board.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/boards/phytec-phyflex-am335x/board.c b/arch/arm/boards/phytec-phyflex-am335x/board.c index 12fad8f..cf7dd2e 100644

[For next PATCH] ARM: dts: phyFLEX: Add SKEW clock delays to emac0 node

2014-11-03 Thread Wadim Egorov
The KSZ9031 gigabit phy on the PBA-B-01 carrier board needs special settings for the RGMII skew control register. Signed-off-by: Wadim Egorov w.ego...@phytec.de --- arch/arm/dts/am335x-phytec-phyflex.dts | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git

phy-addr via dt

2014-11-03 Thread Wjatscheslaw Stoljarski (Slawa)
Hi, Is it possible to set default phy-addr for fec_imx driver via device tree or in barebox environment? ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: phy-addr via dt

2014-11-03 Thread Sascha Hauer
Hi Wjatscheslaw, On Mon, Nov 03, 2014 at 11:53:06AM +0100, Wjatscheslaw Stoljarski (Slawa) wrote: Hi, Is it possible to set default phy-addr for fec_imx driver via device tree or in barebox environment? It should be possible to add a mdio subnode to the fec device node and then to add the

Re: [PATCH 2/3] mxs: iomux-imx23/imx28: unify mode definition

2014-11-03 Thread Sascha Hauer
On Fri, Oct 24, 2014 at 12:46:00AM +0200, Uwe Kleine-König wrote: i.MX23 and i.MX28 iomux mode definitions differ for no good reason. Compared to the two previous definitions this introduces a few flags that are not used yet but this changes in the next commit to detect broken definitions.

Re: [PATCH] serial: ns16550: Remove unused fields from NS16550_plat structure

2014-11-03 Thread Sascha Hauer
Hi Alexander, On Thu, Oct 30, 2014 at 01:32:31PM +0300, Alexander Shiyan wrote: Signed-off-by: Alexander Shiyan shc_w...@mail.ru --- include/ns16550.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/ns16550.h b/include/ns16550.h index 876bb04..ccf950b 100644 ---

Re: [For next PATCH v2 1/2] arm: am33xx: Add rmii2_crs_dv mux selection in SMA2 register

2014-11-03 Thread Sascha Hauer
On Mon, Nov 03, 2014 at 11:10:23AM +0100, Wadim Egorov wrote: Silicon revision 1.0 devices only provide the MMC2_DAT7 signal when Mode3 is selected. Silicon revision 2.0 and newer devices implement another level of pin multiplexing which provides the original MMC2_DAT7 signal or RMII2_CRS_DV

Re: [For next PATCH] ARM: dts: phyFLEX: Add SKEW clock delays to emac0 node

2014-11-03 Thread Sascha Hauer
On Mon, Nov 03, 2014 at 11:12:15AM +0100, Wadim Egorov wrote: The KSZ9031 gigabit phy on the PBA-B-01 carrier board needs special settings for the RGMII skew control register. Signed-off-by: Wadim Egorov w.ego...@phytec.de Applied, thanks Sascha ---

[PATCHv2 2/3] ARM: am335x: Add register of boot devices

2014-11-03 Thread Teresa Gámez
Add support for registering disabled boot devices from oftree. Creating a device tree with all bootable devices disabled, makes it possible to only enable and register the devices needed to load the next stage bootloader. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2: - updated of funcion

[PATCHv2 3/3] ARM: am335x: phyCORE-AM335x: Create new dts for MLO

2014-11-03 Thread Teresa Gámez
Use a mlo device tree with all bootable devices disabled. The bootsource is checked in the board file and only the needed device is enabled and registered. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- arch/arm/boards/phytec-phycore-am335x/board.c| 3 +++

[PATCHv2 1/3] of: Add of_device_enable_and_register functions

2014-11-03 Thread Teresa Gámez
Function to enable and register a disabled device. The devices can be registered using the device node with of_device_enable_and_register() or with the device node name/path by using the of_device_enable_and_register_by_name() function. Signed-off-by: Teresa Gámez t.ga...@phytec.de --- v2: -

Re: phy-addr via dt

2014-11-03 Thread Wjatscheslaw Stoljarski (Slawa)
Hi Sascha, It works! Thanks! ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox

Re: [PATCH] ARM: imx23-olinuxino: discover usb before ifup

2014-11-03 Thread Sascha Hauer
On Thu, Oct 23, 2014 at 06:21:38PM +0400, Dmitry Voytik wrote: i.MX233 in OLinuXino uses LAN9512 for Ethernet connection. LAN9512 is connected to USB. Execute usb command before bringing network up. This patch makes 'ifup eth0' workable. Signed-off-by: Dmitry Voytik voyt...@gmail.com

Re: [PATCHv2 2/3] ARM: am335x: Add register of boot devices

2014-11-03 Thread Sascha Hauer
On Mon, Nov 03, 2014 at 01:31:53PM +0100, Teresa Gámez wrote: Add support for registering disabled boot devices from oftree. Creating a device tree with all bootable devices disabled, makes it possible to only enable and register the devices needed to load the next stage bootloader.

[PATCH] fixup! tegra: jetson-tk1: enable 1.05V_RUN

2014-11-03 Thread Lucas Stach
--- arch/arm/mach-tegra/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 62e5006..160732f 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -37,6 +37,8 @@ config MACH_NVIDIA_BEAVER config

[PATCH 03/12] tegra: colibri-t20: set hostname in board init

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/boards/toradex-colibri-t20/Makefile | 1 + arch/arm/boards/toradex-colibri-t20/board.c | 29 2 files changed, 30 insertions(+) create mode 100644 arch/arm/boards/toradex-colibri-t20/board.c diff --git

[PATCH 02/12] tegra: jetson-tk1: set hostname in board init

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/boards/nvidia-jetson-tk1/board.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/nvidia-jetson-tk1/board.c b/arch/arm/boards/nvidia-jetson-tk1/board.c index c20f56a..564e6a0 100644 ---

[PATCH 01/12] tegra: beaver: set hostname in board init

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/boards/nvidia-beaver/board.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm/boards/nvidia-beaver/board.c b/arch/arm/boards/nvidia-beaver/board.c index 20707d8..d270301 100644 ---

[PATCH 06/12] tegra: colibri-t20: add stdout-path

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/dts/tegra20-colibri-iris.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/tegra20-colibri-iris.dts b/arch/arm/dts/tegra20-colibri-iris.dts index adfa917..9c61581 100644 --- a/arch/arm/dts/tegra20-colibri-iris.dts +++

[PATCH 09/12] serial: ns16550: enable clock if available

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/serial/serial_ns16550.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 53d48a0..07dedf7 100644 --- a/drivers/serial/serial_ns16550.c +++

[PATCH 12/12] clk: tegra: don't enable UART clocks by default

2014-11-03 Thread Lucas Stach
Now that we are registering a proper driver for the UARTs we no longer need to enable the clocks unconditionally. Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/clk/tegra/clk-tegra124.c | 8 drivers/clk/tegra/clk-tegra20.c | 10 +- drivers/clk/tegra/clk-tegra30.c | 10

[PATCH 07/12] tegra: tegra124: add serial alias nodes

2014-11-03 Thread Lucas Stach
They are missing in the upstream DT. Add them locally for now. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/dts/tegra124.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/tegra124.dtsi b/arch/arm/dts/tegra124.dtsi index 7d0fafa..c795811

[PATCH 10/12] serial: ns16550: add Tegra support

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- drivers/serial/serial_ns16550.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/serial/serial_ns16550.c b/drivers/serial/serial_ns16550.c index 07dedf7..8f2e93f 100644 --- a/drivers/serial/serial_ns16550.c +++

[PATCH 08/12] tegra: jetson-tk1: add stdout-path

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/dts/tegra124-jetson-tk1.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/tegra124-jetson-tk1.dts b/arch/arm/dts/tegra124-jetson-tk1.dts index d2933bd..26f405c 100644 --- a/arch/arm/dts/tegra124-jetson-tk1.dts +++

[PATCH 05/12] tegra: beaver: add stdout-path

2014-11-03 Thread Lucas Stach
Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/dts/tegra30-beaver.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/tegra30-beaver.dts b/arch/arm/dts/tegra30-beaver.dts index d2809bb..5879353 100644 --- a/arch/arm/dts/tegra30-beaver.dts +++

[PATCH 11/12] tegra: remove custom UART setup

2014-11-03 Thread Lucas Stach
The config option doesn't make any sense anymore when building a multiimage barebox. With a proper DT built into the image we don't need the ODMdata mechanism to find the debug UART anymore. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/mach-tegra/Kconfig | 33

[PATCH 04/12] tegra: beaver: switch to upstream Tegra30 dtsi

2014-11-03 Thread Lucas Stach
It's the same as our version, so no need to carry it around any longer. Signed-off-by: Lucas Stach d...@lynxeye.de --- arch/arm/dts/tegra30-beaver.dts | 2 +- arch/arm/dts/tegra30.dtsi | 892 2 files changed, 1 insertion(+), 893 deletions(-)

[PATCH] fix mbr detection

2014-11-03 Thread Zahari Doychev
I have a strange problem using usb sticks in barebox. After formatting some previously FAT sticks they still have file system type set to FAT32 in the mbr. In this way there are detected as FAT fs partitions instead of MBRs and the usb media partitons can not be parsed. This patch should resolve

[PATCH] common: fix mbr filetype detection

2014-11-03 Thread Zahari Doychev
Sometimes mbr is erroneously recocognised as FAT partion. Due to this the mbr partition parser is not being called and the partitions on the media are not detected. This patch should fix the problem. The checking is done as in the linux kernel. I have seen the problem using usb sticks. Although