[U-Boot] [PATCH] drivers: watchdog: add MAX6373 WDT support

2015-07-23 Thread rnd4
From: Andrea Scian andrea.sc...@dave.eu MAX6373 is a simple WDT which is programmed its configuration pins and reset via another pin, which is usually connected to a GPIO Signed-off-by: Andrea Scian andrea.sc...@dave.eu --- drivers/watchdog/Makefile |1 + drivers/watchdog/max6373_wdt.c

[U-Boot] buildman dtc check error

2015-07-23 Thread York Sun
Simon, I am facing a weird issue on the latest u-boot. I can successfully build u-boot manually, but with buildman I see checkdtc error. aarch64: + ls2085aqds +make[1]: *** [checkdtc] Error 1 +make: *** [sub-make] Error 2 I have DTC 1.4.1-ge5e6df7c. Is there any flag for buildman I can

Re: [U-Boot] [PATCH V4 2/8] configs: ti: armv7_common: enable Thumb mode for all

2015-07-23 Thread Tom Rini
On Wed, Jul 22, 2015 at 06:05:42PM -0500, Nishanth Menon wrote: Commit bd2c4522c26d5 (ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)) enabled thumb mode only for SPL builds, however, All TI armv7 platforms do support thumb, and there is no reason why the space savings cannot

Re: [U-Boot] [PATCH 0/2] ARM: tegra: enable GPU DT node

2015-07-23 Thread Mikko Perttunen
On 07/23/2015 02:46 PM, Andreas Färber wrote: Salut Alexandre, Am 09.07.2015 um 09:32 schrieb Alexandre Courbot: Tegra124 requires the bootloader to perform VPR initialization, otherwise the GPU cannot be used by the system. Since using the GPU without that initialization results in a hang,

Re: [U-Boot] [PATCH] armv8: Allow SoCs to override the generic timer

2015-07-23 Thread Tom Rini
On Wed, Jul 22, 2015 at 04:56:10PM -0600, Stephen Warren wrote: From: Thierry Reding tred...@nvidia.com Some SoCs come with a custom timer interface, so allow them to use that instead. swarren notes: I did consider reworking this patch so the Makefile only compiles generic_timer.c ifndef

Re: [U-Boot] [PATCH V2 6/6] T210: Add support for 64-bit T210-based P2571 board

2015-07-23 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, July 22, 2015 11:05 AM To: Tom Warren Cc: u-boot@lists.denx.de; Thierry Reding; Stephen Warren; tomcwarren3...@gmail.com Subject: Re: [U-Boot] [PATCH V2 6/6] T210: Add support for

Re: [U-Boot] [PATCH] ARM: tegra: Build warning fixes for 64-bit

2015-07-23 Thread Simon Glass
On 22 July 2015 at 15:58, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com Signed-off-by: Tom Warren twar...@nvidia.com [swarren, stripped out changes not strictly related to warnings] Signed-off-by: Stephen

Re: [U-Boot] [PATCH] armv8: Allow SoCs to override the generic timer

2015-07-23 Thread Simon Glass
On 22 July 2015 at 16:56, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com Some SoCs come with a custom timer interface, so allow them to use that instead. swarren notes: I did consider reworking this patch so the Makefile only compiles generic_timer.c

Re: [U-Boot] [PATCH] mmc: tegra: Build warning fixes for 64-bit

2015-07-23 Thread Simon Glass
On 22 July 2015 at 15:34, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/mmc/tegra_mmc.c | 6

Re: [U-Boot] [PATCH 10/18] dm: eth: Avoid blocking on packet reception

2015-07-23 Thread Simon Glass
On 6 July 2015 at 16:47, Simon Glass s...@chromium.org wrote: Some devices can take a long time to work out whether they have a new packet or now. For example the ASIX USB Ethernet dongle can take 5 seconds to do this, since it waits until it gets a new packet on the wire before allowing the

Re: [U-Boot] [PATCH] i2c: tegra: Build warning fixes for 64-bit

2015-07-23 Thread Simon Glass
On 22 July 2015 at 15:33, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com Signed-off-by: Thierry Reding tred...@nvidia.com Signed-off-by: Tom Warren twar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/i2c/tegra_i2c.c | 4 ++--

Re: [U-Boot] [PATCH] arm64: Handle arbitrary CONFIG_SYS_MALLOC_F_LEN values

2015-07-23 Thread Simon Glass
On 22 July 2015 at 16:44, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com The encoding of the sub instruction used to handle CONFIG_SYS_MALLOC_F_LEN can only accept certain values, and the set of acceptable values differs between the AArch32 and AArch64

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-23 Thread Dinh Nguyen
On Tue, Jul 21, 2015 at 10:24 PM, Marek Vasut ma...@denx.de wrote: On Wednesday, July 22, 2015 at 12:46:15 AM, Dinh Nguyen wrote: On 07/20/2015 02:40 PM, Marek Vasut wrote: On Monday, July 20, 2015 at 09:31:39 PM, Dinh Nguyen wrote: [...] Hi, yeah, I have some insane amount of

Re: [U-Boot] [PATCH v3 4/5] devres: make Devres optional with CONFIG_DEVRES

2015-07-23 Thread Simon Glass
On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, Devres requires additional 16 byte for each allocation, which is not so insignificant in some cases. Add CONFIG_DEVRES to make this framework optional. If the option is disabled, devres functions fall

Re: [U-Boot] [PATCH] armv8/cache: Fix page table creation

2015-07-23 Thread Simon Glass
On 22 July 2015 at 17:10, Stephen Warren swar...@wwwdotorg.org wrote: From: Thierry Reding tred...@nvidia.com While generating the page tables, a running integer index is shifted by SECTION_SHIFT (29) and causes overflow for any integer bigger than 7. The page tables therefore alias to the

Re: [U-Boot] [PATCH V4 5/8] configs: ti_armv7_keystone2: start using armv7_common

2015-07-23 Thread Tom Rini
On Wed, Jul 22, 2015 at 06:05:45PM -0500, Nishanth Menon wrote: Try to maintain as much commonality by conditionally including stuff in armv7_common as necessary and removing the common defines from keystone2 header. Note: as part of this change, all keystone2 platforms will now start

[U-Boot] OpenEmbedded-Core pending patch

2015-07-23 Thread Otavio Salvador
Hello folks, I went over the process of upgrading the U-Boot, in OE-Core, and now we have 2015.07 merged. Along the process I found a pending patch for merging[1] and I would like to know how is the best way to address this specific issue in mainline. 1.

[U-Boot] [Patch v2] lib/fdtdec: Fix fdt_addr_t and fdt_size_t typedef

2015-07-23 Thread York Sun
fdt_addr_t is a physical address. It can be either 64-bit or 32-bit, depending on the architecture. It should be phys_addr_t instead of u64 or u32. Similarly, fdt_size_t is changed to phys_size_t. Signed-off-by: York Sun york...@freescale.com CC: Simon Glass s...@chromium.org --- Change log v2:

Re: [U-Boot] buildman dtc check error

2015-07-23 Thread Simon Glass
Hi York, On 23 July 2015 at 16:10, York Sun york...@freescale.com wrote: Simon, I am facing a weird issue on the latest u-boot. I can successfully build u-boot manually, but with buildman I see checkdtc error. aarch64: + ls2085aqds +make[1]: *** [checkdtc] Error 1 +make: ***

Re: [U-Boot] [PATCH v3 1/5] dm: add DM_FLAG_BOUND flag

2015-07-23 Thread Simon Glass
On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: Currently, we only have DM_FLAG_ACTIVATED to indicate the device status, but we still cannot know in which stage is in progress, binding or probing. This commit introduces a new flag, DM_FLAG_BOUND, which is set

[U-Boot] [RFC PATCH 1/2] kbuild: add a makefile macro useful with per-image config options

2015-07-23 Thread Masahiro Yamada
Commit e02ee2548afe (kconfig: switch to single .config configuration) made the configuration itself pretty simple, instead, we lost the way to systematically enable/disable config options for each image independently. Our current strategy is, put entries into Makefile.spl for options we need

[U-Boot] [RFC PATCH 0/2] Add macros to ease our life with independent CONFIGs between U-Boot and SPL

2015-07-23 Thread Masahiro Yamada
Refer to Simon's question, too: http://lists.denx.de/pipermail/u-boot/2015-July/219598.html Since U-boot introduced SPL (not since Kconfig), enabling features for U-boot and SPL independently is always a PITA. - decide if each feature should be supported for SPL or not - Add

[U-Boot] [PATCH 3/3] zynqmp: Show EL level where U-Boot runs

2015-07-23 Thread Michal Simek
Add one more print to make clear which EL level U-Boot runs. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/xilinx/zynqmp/zynqmp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 88fe3e844f5b..0c9a81414458

[U-Boot] [PATCH 2/3] ARM: zynqmp: Wire up SATA for the board

2015-07-23 Thread Michal Simek
Enable SATA for the ZynqMP targets. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/include/asm/arch-zynqmp/hardware.h | 2 ++ board/xilinx/zynqmp/zynqmp.c| 10 ++ include/configs/xilinx_zynqmp.h | 11 +++

[U-Boot] [PATCH] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Anton Schubert
This patch adds support for multiple hostcontrollers to the ehci-marvell driver and enables all 3 usb-hcs on the db-mv784mp-gp board. It depends on the initial Armada XP usb support patch from Stefan. Signed-off-by: Anton Schubert anton.schub...@gmx.de Cc: Stefan Roese s...@denx.de Cc: Luka

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Ivan Khoronzhuk
On 23.07.15 15:43, Mugunthan V N wrote: On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote: Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board, support another i/f mode except SGMII? Can it work w/o

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Ivan Khoronzhuk
Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board, support another i/f mode except SGMII? Can it work w/o SerDes? On 23.07.15 12:01, Mugunthan V N wrote: Phy mode is a board property and it can be different

Re: [U-Boot] [PATCH V4 0/8] configs: make keystone2 configs start using armv7 common header

2015-07-23 Thread Murali Karicheri
On 07/22/2015 07:05 PM, Nishanth Menon wrote: Changes since v3: - picked up V3 reviewed bys - Dropped the original 8/8 patch (ramdisk) introduced patch #3 (thumb mode) (dropped patch = https://patchwork.ozlabs.org/patch/497392/ ) Tested on K2HK-evm OMAP4 Panda:

[U-Boot] [RFC PATCH 2/2] linux/kconfig.h: add C macros useful for per-image config options

2015-07-23 Thread Masahiro Yamada
The previous commit introduced a useful macro used in makefiles, which references to different variables (CONFIG_ or CONFIG_SPL_ prefixed), in order to enable/disable features independently for each of images. Per-image config option control is a PITA in C sources, too. So, introduce some macros

[U-Boot] [PATCH 1/3] ARM: zynqmp: Wire up ethernet controllers

2015-07-23 Thread Michal Simek
Wire up ethernet controllers and enable MII and BOOTP options. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/include/asm/arch-zynqmp/hardware.h | 5 + arch/arm/include/asm/arch-zynqmp/sys_proto.h | 5 + board/xilinx/zynqmp/zynqmp.c | 25

Re: [U-Boot] [PATCH 31/48] x86: Add definitions for the x86-efi board and plumb it in

2015-07-23 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: From: Ben Stoltz sto...@google.com Add configuration and Kconfig changes for this board. Signed-off-by: Ben Stoltz sto...@google.com Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH v2] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Anton Schubert
Sry, forgot the cc again. Anton ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 0/4] sunxi: nand: Basic NAND driver for SPL

2015-07-23 Thread Piotr Zierhoffer
This is a basic driver for the sunxi NAND controller for Allwinner A20. It supports only SPL. The driver uses DMA for data transfers. It does not support writing. Changes in v3: - moved pinmux and clock to board level - code cleanup with significant size reduction - renamed the driver file -

[U-Boot] [PATCH v3 3/4] sunxi: nand: Add board configuration options

2015-07-23 Thread Piotr Zierhoffer
When SPL_NAND_SUNXI option is selected in config, set some configuration options for sunxi NAND. This commit also introduces the configurable options in Kconfig. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz

[U-Boot] [PATCH v3 2/4] sunxi: nand: Add basic sunxi NAND driver for SPL with DMA support

2015-07-23 Thread Piotr Zierhoffer
This driver adds NAND support to SPL. It was tested on Allwinner A20. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr Zierhoffer pzierhof...@antmicro.com

[U-Boot] [PATCH v3 1/4] sunxi: nand: Add pinmux and clock settings for NAND support

2015-07-23 Thread Piotr Zierhoffer
From: Karol Gugala kgug...@antmicro.com To enable NAND flash in sunxi SPL, pins 0-6, 8-22 and 24 on port C are configured. Signed-off-by: Karol Gugala kgug...@antmicro.com Signed-off-by: Piotr Zierhoffer pzierhof...@antmicro.com --- Changes in v3: - moved pinmux and clock to board level - code

[U-Boot] [PATCH v3 4/4] sunxi: nand: Add information to sunxi that it was run from NAND in SPL

2015-07-23 Thread Piotr Zierhoffer
As SPL does not know which source to choose when booting U-Boot, choose NAND if it is capable of doing so. Signed-off-by: Peter Gielda pgie...@antmicro.com Signed-off-by: Tomasz Gorochowik tgorocho...@antmicro.com Signed-off-by: Mateusz Holenko mhole...@antmicro.com Signed-off-by: Piotr

Re: [U-Boot] [PATCH] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Stefan Roese
Hi Anton, (added Marek to Cc, as he's the USB custodian) On 23.07.2015 14:25, Anton Schubert wrote: This patch adds support for multiple hostcontrollers to the ehci-marvell driver and enables all 3 usb-hcs on the db-mv784mp-gp board. It depends on the initial Armada XP usb support patch from

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Mugunthan V N
On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote: Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on board, support another i/f mode except SGMII? Can it work w/o SerDes? There is a upcoming SoC (K2E) using

[U-Boot] [PATCH v2] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Anton Schubert
This patch adds support for multiple hostcontrollers to the ehci-marvell driver and enables all 3 usb-hcs on the db-mv784mp-gp board. It depends on the initial Armada XP usb support patch from Stefan. Signed-off-by: Anton Schubert anton.schub...@gmx.de Reviewed-by: Stefan Roese s...@denx.de Cc:

Re: [U-Boot] [PATCH 34/48] efi: Add support for loading U-Boot through an EFI stub

2015-07-23 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: It is useful to be able to load U-Boot onto a board even it is it already running EFI. This can allow access to the U-Boot command interface, flexible booting options and easier development. The easiest way to

Re: [U-Boot] [PATCH v3 7/7] arm/rpi: Enable dcache

2015-07-23 Thread Stephen Warren
On 07/22/2015 12:23 PM, Alexander Stein wrote: Now that mailbox driver supports cache flush and invalidation, we can enable dcache. Aside from the minor comments I made, the series, Acked-by: Stephen Warren swar...@wwwdotorg.org The series, Tested-by: Stephen Warren swar...@wwwdotorg.org

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-07-23 Thread Stephen Warren
On 07/14/2015 09:44 AM, Simon Glass wrote: Hi Stephen, On 13 July 2015 at 22:52, Stephen Warren swar...@wwwdotorg.org wrote: On 07/11/2015 08:04 AM, Simon Glass wrote: Hi Stephen, On 10 July 2015 at 23:34, Stephen Warren swar...@wwwdotorg.org wrote: On 07/07/2015 08:53 PM, Simon Glass

Re: [U-Boot] [PATCH 35/48] x86: Support building the EFI stub

2015-07-23 Thread Bin Meng
Hi Simon, On Wed, Jul 22, 2015 at 11:49 PM, Simon Glass s...@chromium.org wrote: Add support for building a 32/64-bit EFI stub for x86. This involves building the startup and relocation code for either i386 or x86_64. Signed-off-by: Simon Glass s...@chromium.org --- arch/x86/lib/Makefile

Re: [U-Boot] buildman dtc check error

2015-07-23 Thread York Sun
On 07/23/2015 03:24 PM, Simon Glass wrote: Hi York, On 23 July 2015 at 16:10, York Sun york...@freescale.com wrote: Simon, I am facing a weird issue on the latest u-boot. I can successfully build u-boot manually, but with buildman I see checkdtc error. aarch64: + ls2085aqds

Re: [U-Boot] [PATCHv4 0/3] drivers/ddr/altera: Add the DDR controller driver for SoCFPGA

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 08:29:42 PM, Dinh Nguyen wrote: [...] BTW, I tested out our your branch, but I think I'm missing a step as where to put the SPL DTB? U-Boot SPL 2015.07-rc3-00100-ga2e2da6 (Jul 21 2015 - 17:15:54) drivers/ddr/altera/sequencer.c: Preparing to start

Re: [U-Boot] [PATCH v3 6/7] dwc2: Add dcache support

2015-07-23 Thread Stephen Warren
On 07/22/2015 12:23 PM, Alexander Stein wrote: This adds dcache support for dwc2. The DMA buffers must be DMA aligned and is flushed for outgoing transactions before starting transfer. For ingoing transactions it is invalidated after the transfer has finished. diff --git

Re: [U-Boot] [PATCH 00/20] arm: rpi: Enable USB and Ethernet driver model Raspberry Pi

2015-07-23 Thread Stephen Warren
On 07/16/2015 08:10 AM, Pavel Machek wrote: On Mon 2015-07-13 22:52:58, Stephen Warren wrote: On 07/11/2015 08:04 AM, Simon Glass wrote: Hi Stephen, On 10 July 2015 at 23:34, Stephen Warren swar...@wwwdotorg.org wrote: On 07/07/2015 08:53 PM, Simon Glass wrote: Raspberry Pi uses a DWC2 USB

Re: [U-Boot] [U-Boot, 1/2] ti: armv7: enable EXT support in SPL (using ti_armv7_common.h)

2015-07-23 Thread Ash Charles
Hi, In testing v2015.07 with OMAP35xx (Overo) boards (ES3.1), I see boot failure which I bisected down to this patch. Reverting just this patch from v2015.07 allows the same boards to boot into SPL without issue. My OMAP37xx-based Overos seem unaffected. My guess is enabling

Re: [U-Boot] [PATCH 12/12] kconfig: add config option for shell prompt

2015-07-23 Thread Masahiro Yamada
2015-07-24 6:21 GMT+09:00 Tom Rini tr...@konsulko.com: On Thu, Jul 23, 2015 at 05:19:39PM +0300, Nikita Kiryanov wrote: Add option to set shell prompt string from menuconfig and use it when migrating CONFIG_SYS_PROMPT to cm-fx6 defconfig. Cc: Tom Rini tr...@konsulko.com Cc: Masahiro Yamada

Re: [U-Boot] [PATCH 00/48] Add support for running U-Boot as an EFI payload/application

2015-07-23 Thread Simon Glass
[trimming the list - wow a lot of people!] Hi Bin, On 23 July 2015 at 10:05, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Wed, Jul 22, 2015 at 11:48 PM, Simon Glass s...@chromium.org wrote: This series allows U-Boot to be built as an EFI payload so that U-Boot can be started on almost

Re: [U-Boot] [PATCH v3 3/7] ARM: bcm283x: Define CONFIG_SYS_CACHELINE_SIZE

2015-07-23 Thread Stephen Warren
On 07/22/2015 12:23 PM, Alexander Stein wrote: The cacheline is always 32 bytes for arm1176 CPUs, so define it at board config level for cache handling code. include/configs/rpi-common.h | 1 + This file applies to both RPi 1 and RPi 2. Do they have the same cacheline size?

Re: [U-Boot] [PATCH v3 2/7] arm1136/arm1176: Merge cache handling code

2015-07-23 Thread Stephen Warren
On 07/22/2015 12:23 PM, Alexander Stein wrote: As both cores are similar merge the cache handling code for both CPUs to arm11 directory. It's useful if you pass the -C or -M option to git format-patch; that wouuld presumably have shown that arm11/cpu.c was identical to one of the two cpu.c

Re: [U-Boot] buildman dtc check error

2015-07-23 Thread Simon Glass
Hi York, On 23 July 2015 at 19:15, York Sun york...@freescale.com wrote: On 07/23/2015 03:24 PM, Simon Glass wrote: Hi York, On 23 July 2015 at 16:10, York Sun york...@freescale.com wrote: Simon, I am facing a weird issue on the latest u-boot. I can successfully build u-boot manually,

Re: [U-Boot] Booting Wandboard through USB

2015-07-23 Thread Fabio Estevam
On Sat, May 30, 2015 at 2:41 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Tom, On 05/30/2015 09:49 AM, Tom Rini wrote: On Fri, May 29, 2015 at 11:46:40AM +0200, Vincent Stehlé wrote: Hi, Is it still possible to boot u-boot on

Re: [U-Boot] [PATCH 6/8] ARM: keystone2: Cleanup init_pll definition

2015-07-23 Thread Lokesh Vutla
Hi Vitaly, On Thursday 23 July 2015 11:31 PM, Vitaly Andrianov wrote: On 07/22/2015 11:39 AM, Lokesh Vutla wrote: This is just a cosmetic change that makes the calling of pll init code looks much cleaner. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- arch/arm/mach-keystone/clock.c

Re: [U-Boot] [PATCH] Correct License and Copyright information on few files

2015-07-23 Thread Ruchika Gupta
Hi, Hi, Am 23.07.2015 um 16:10 schrieb Ruchika Gupta: Signed-off-by: Ruchika Gupta ruchika.gu...@freescale.com [...] diff --git a/drivers/crypto/fsl/Makefile b/drivers/crypto/fsl/Makefile index 4aa91e4..fd736cf 100644 --- a/drivers/crypto/fsl/Makefile +++

Re: [U-Boot] [PATCH 12/12] kconfig: add config option for shell prompt

2015-07-23 Thread Tom Rini
On Thu, Jul 23, 2015 at 05:19:39PM +0300, Nikita Kiryanov wrote: Add option to set shell prompt string from menuconfig and use it when migrating CONFIG_SYS_PROMPT to cm-fx6 defconfig. Cc: Tom Rini tr...@konsulko.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Stefano Babic

Re: [U-Boot] [PATCH v3 2/5] devres: introduce Devres (Managed Device Resource) framework

2015-07-23 Thread Simon Glass
Hi Masahiro, On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: In U-Boot's driver model, memory is basically allocated and freed in the core framework. So, low level drivers generally only have to specify the size of needed memory with .priv_auto_alloc_size,

Re: [U-Boot] [PATCH v3 5/5] devres: add debug command to dump device resources

2015-07-23 Thread Simon Glass
Hi Masahiro, On 23 July 2015 at 00:17, Masahiro Yamada yamada.masah...@socionext.com wrote: This new command can dump all device resources associated to each device. The fields in every line shows: - The address of the resource - The size of the resource - The name of the release

[U-Boot] [PATCH] drivers/ddr/fsl: Adjust bstopre value

2015-07-23 Thread York Sun
By default the bstopre value has been set to 0x100, used to be 1/4 value of refint. Modern DDR has increased the refresh time. Adjust to 1/4 of refresh interval dynamically. Individual board can still override this value in board ddr file, or to use auto-precharge. Signed-off-by: York Sun

[U-Boot] [PATCH v3 01/15] cgtqmx6eval: Use default prompt

2015-07-23 Thread Otavio Salvador
Remove the custom prompt and use the default instead. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/cgtqmx6eval.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/cgtqmx6eval.h

Re: [U-Boot] [PATCH 09/10 v2] arm: mvebu: Enable USB EHCI support on Armada XP

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 04:53:48 PM, Stefan Roese wrote: On 23.07.2015 16:17, Marek Vasut wrote: On Thursday, July 23, 2015 at 01:02:46 PM, Stefan Roese wrote: This patch enables the USB EHCI support for the Marvell Armada XP (AXP) SoCs. In compatism to the Armada 38x (A38x), the AXP

[U-Boot] [PATCH 02/12] arm: mx6: cm-fx6: make it possible to not init display

2015-07-23 Thread Nikita Kiryanov
Implement a cm-fx6 specific board_video_skip() to provide the option to not initialize the display. The new function does not init display if the environment variable panel is not defined, or if it is set to an unsupported value. Collateral changes: - Don't use the global displays array (it's

[U-Boot] [PATCH 05/12] arm: mx6: cm-fx6: move CMD configs to defconfig

2015-07-23 Thread Nikita Kiryanov
Move CONFIG_CMD_* options that can be selected in menuconfig to cm-fx6 defconfig. Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- configs/cm_fx6_defconfig | 5 + include/configs/cm_fx6.h | 3 --- 2 files

[U-Boot] [PATCH v3 11/15] cgtqmx6eval: Add USB support

2015-07-23 Thread Otavio Salvador
Add USB support. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - Fix OTG ID pin Changes in v2: - Use plan gpio API call (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 44 include/configs/cgtqmx6eval.h| 15 +++

[U-Boot] [PATCH v3 14/15] cgtqmx6eval: Align DCD settings with Congatec's U-boot

2015-07-23 Thread Otavio Salvador
Use the same DCD settings from Congatec's U-boot tree for the P/N 016113 card. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - New patch Changes in v2: None board/congatec/cgtqmx6eval/imximage.cfg | 128 +--- 1 file changed, 51

Re: [U-Boot] [PATCH 0/7] UniPhier SoC changes for v2015.10-rc1

2015-07-23 Thread Masahiro Yamada
2015-07-21 14:04 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: Masahiro Yamada (7): ARM: UniPhier: add environment sets for non-FIT Linux boot ARM: UniPhier: add environment variable for TFTP boot ARM: UniPhier: disable CONFIG_FIT ARM: UniPhier: update CONFIG_BOOTARGS

Re: [U-Boot] [PATCH v2] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 04:54:45 PM, Stefan Roese wrote: On 23.07.2015 16:20, Marek Vasut wrote: On Thursday, July 23, 2015 at 03:07:26 PM, Anton Schubert wrote: Sry, forgot the cc again. Anton The patch looks OK, but it doesn't apply on top of u-boot-usb/master . Can you

[U-Boot] [PATCH 00/12] cm-fx6 and kconfig updates

2015-07-23 Thread Nikita Kiryanov
This series includes some fixes for cm-fx6, as well as migrating of cm-fx6 config options to the defconfig file. In the process of migrating the config #defines, new entries are added to menuconfig. Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Nikita Kiryanov (12):

[U-Boot] [PATCH 10/12] usb: kconfig: create a menu for usb

2015-07-23 Thread Nikita Kiryanov
With recent additions to USB Kconfig the number of USB options had grown large enough to warrant a separate menu for USB. Add a Kconfig menu for USB. Cc: Marek Vasut ma...@denx.de Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- drivers/usb/Kconfig | 2 ++ 1 file changed, 2

[U-Boot] [PATCH v3 06/15] cgtqmx6eval: Add ESDHC3 support

2015-07-23 Thread Otavio Salvador
cgtqmx6eval has an eMMC connected to ESDHC3. Add support for it. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: - Use ARRAY_SIZE(usdhc_cfg) - Remove CONFIG_SYS_FSL_USDHC_NUM definition board/congatec/cgtqmx6eval/cgtqmx6eval.c | 22

[U-Boot] [PATCH v3 13/15] cgtqmx6eval: Add SATA support

2015-07-23 Thread Otavio Salvador
Add SATA support. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - Proper initialize the subsystem Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 5 + include/configs/cgtqmx6eval.h| 9 + 2 files changed, 14 insertions(+) diff

[U-Boot] [PATCH v3 12/15] cgtqmx6eval: Add splash screen support

2015-07-23 Thread Otavio Salvador
Add LVDS and HDMI support. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: - Rework code to use setbits_le32 (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 173 +++ include/configs/cgtqmx6eval.h| 20

[U-Boot] [PATCH v3 10/15] cgtqmx6eval: Add PMIC support

2015-07-23 Thread Otavio Salvador
cgtqmx6eval has a PFUZE100 FSL PMIC connected to I2C2. Add support for it. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: - Rework indent-level for code (Marek) board/congatec/cgtqmx6eval/cgtqmx6eval.c | 85

[U-Boot] [PATCH v3 15/15] cgtqmx6eval: Use standard boot script

2015-07-23 Thread Otavio Salvador
Use more standard boot scripts and also add the capability of booting via NFS. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/cgtqmx6eval.h | 94 ++- 1 file changed, 66 insertions(+), 28

[U-Boot] [PATCH v3 08/15] cgtqmx6eval: Add Ethernet support

2015-07-23 Thread Otavio Salvador
cgtqmx6eval can be populated with a AR8035 or KSZ9031 depending on the board revision. Add Ethernet support. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 206 +++

[U-Boot] [PATCH v3 09/15] cgtqmx6eval: Add thermal support

2015-07-23 Thread Otavio Salvador
Add thermal support so that we can see the following message on boot: CPU: Industrial temperature grade (-40C to 105C) at 33C Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None configs/cgtqmx6qeval_defconfig | 3 +++

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

2015-07-23 Thread Masahiro Yamada
Hi Tom, Please pull some updates specific to UniPhier SoCs. The following changes since commit b217c89e8565ade3aaa9f74c33c93236bf151187: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2015-07-20 17:12:52 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH 09/10 v2] arm: mvebu: Enable USB EHCI support on Armada XP

2015-07-23 Thread Stefan Roese
On 23.07.2015 16:17, Marek Vasut wrote: On Thursday, July 23, 2015 at 01:02:46 PM, Stefan Roese wrote: This patch enables the USB EHCI support for the Marvell Armada XP (AXP) SoCs. In compatism to the Armada 38x (A38x), the AXP needs to configure the USB PLL and the USB PHY's specifically in

Re: [U-Boot] [PATCH 10/12] usb: kconfig: create a menu for usb

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 04:19:37 PM, Nikita Kiryanov wrote: With recent additions to USB Kconfig the number of USB options had grown large enough to warrant a separate menu for USB. Add a Kconfig menu for USB. Cc: Marek Vasut ma...@denx.de Signed-off-by: Nikita Kiryanov

Re: [U-Boot] [PATCH 09/12] usb: kconfig: usb keyboard kconfig

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 04:19:36 PM, Nikita Kiryanov wrote: Add Kconfig options for USB keyboard and use them for cm-fx6. Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il ---

[U-Boot] [PATCH 08/12] arm: mx6: usb: kconfig: add USB_EHCI_MX6 kconfig option

2015-07-23 Thread Nikita Kiryanov
Add USB_EHCI_MX6 option to menuconfig and use it when migrating cm-fx6 usb config to defconfig. Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov

[U-Boot] [PATCH 06/12] arm: mx6: cm-fx6: move cm-fx6 target under ARCH_MX6

2015-07-23 Thread Nikita Kiryanov
cm-fx6 is an MX6 based board, and the menuconfig hierarchy should reflect that. Make TARGET_CM_FX6 dependant on ARCH_MX6. Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- arch/arm/Kconfig | 8

[U-Boot] [PATCH 04/12] arm: mx6: cm-fx6: setup hdmi only on hdmi enable

2015-07-23 Thread Nikita Kiryanov
Refactor display code to only setup hdmi if do_enable_hdmi() is invoked. Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- board/compulab/cm_fx6/cm_fx6.c | 9 +++-- 1 file changed, 3 insertions(+), 6

[U-Boot] [PATCH 07/12] arm: mx6: kconfig: don't select CPU_V7 per board

2015-07-23 Thread Nikita Kiryanov
CPU_V7 is already selected by ARCH_MX6, so no point in selecting it again by boards that depend on ARCH_MX6. Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il ---

Re: [U-Boot] [PATCH v2] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 03:07:26 PM, Anton Schubert wrote: Sry, forgot the cc again. Anton The patch looks OK, but it doesn't apply on top of u-boot-usb/master . Can you please fix it up ? Best regards, Marek Vasut ___ U-Boot mailing list

Re: [U-Boot] [PATCH v2] arm: mvebu: add multiple usb-hostcontroller support for AXP

2015-07-23 Thread Stefan Roese
On 23.07.2015 16:20, Marek Vasut wrote: On Thursday, July 23, 2015 at 03:07:26 PM, Anton Schubert wrote: Sry, forgot the cc again. Anton The patch looks OK, but it doesn't apply on top of u-boot-usb/master . Can you please fix it up ? Perhaps its easiest if we wait for all the queued MVEBU

[U-Boot] [PATCH 01/12] arm: mx6: cm-fx6: map HDMI to IPU1 DI0 explicitly

2015-07-23 Thread Nikita Kiryanov
U-Boot does not explicitly assign the display to an IPU interface. Instead, it relies on the power-on default of DI0. Since the kernel reassigns HDMI display to DI1, after a warm reset the HDMI display no longer works in U-Boot. Fix this by explicitly assigning HDMI to IPU1 DI0 in U-Boot. Cc:

[U-Boot] [PATCH 03/12] arm: mx6: cm-fx6: add support for displaytype env var

2015-07-23 Thread Nikita Kiryanov
Add support for selecting display preset using the environment variable displaytype. This is a preparation for future merging of compulab omap3_display.c display selection code with the cm-fx6 display selection code. The panel environment variable is retained for backwards compatibility. Cc:

[U-Boot] [PATCH 09/12] usb: kconfig: usb keyboard kconfig

2015-07-23 Thread Nikita Kiryanov
Add Kconfig options for USB keyboard and use them for cm-fx6. Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Signed-off-by: Nikita Kiryanov nik...@compulab.co.il --- configs/cm_fx6_defconfig | 2 ++ drivers/usb/Kconfig | 27

[U-Boot] [PATCH v3 02/15] cgtqmx6eval: Use the default CONFIG_SYS_PBSIZE

2015-07-23 Thread Otavio Salvador
Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the extra characters of the error message: Unknown command '' - try 'help'. Use the default

[U-Boot] [PATCH v3 05/15] cgtqmx6eval: Fit into single lines

2015-07-23 Thread Otavio Salvador
There is no need to use multiple lines when they fit into a single line. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH v3 07/15] cgtqmx6eval: Add ESDHC write-protect support

2015-07-23 Thread Otavio Salvador
Add board_mmc_getwp() for reading the ESDHC write-protect pin. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 19 +++ 1 file changed, 19 insertions(+) diff --git

[U-Boot] [PATCH v3 03/15] cgtqmx6eval: Staticize when possible

2015-07-23 Thread Otavio Salvador
Declare 'static' when possible. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None board/congatec/cgtqmx6eval/cgtqmx6eval.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/board/congatec/cgtqmx6eval/cgtqmx6eval.c

[U-Boot] [PATCH v3 04/15] cgtqmx6eval: Improve the error handling

2015-07-23 Thread Otavio Salvador
Perfoming an OR operation on the error is not a good approach. Return the error immediately for each ESDHC instance instead. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: - use ARRAY_SIZE(usdhc_cfg) (Marek)

Re: [U-Boot] [PATCH 09/10 v2] arm: mvebu: Enable USB EHCI support on Armada XP

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 01:02:46 PM, Stefan Roese wrote: This patch enables the USB EHCI support for the Marvell Armada XP (AXP) SoCs. In compatism to the Armada 38x (A38x), the AXP needs to configure the USB PLL and the USB PHY's specifically in U-Boot. The A38x has done this already in

Re: [U-Boot] [PATCH 1/1] driver: net: keystone_net: fix phy mode configuration

2015-07-23 Thread Mugunthan V N
On Thursday 23 July 2015 07:08 PM, Ivan Khoronzhuk wrote: On 23.07.15 15:43, Mugunthan V N wrote: On Thursday 23 July 2015 04:46 PM, Ivan Khoronzhuk wrote: Hi, Mugunthan You are right, phy mode is a board property. But just for clarifying, does Ethernet SS, which contains SGMII on

Re: [U-Boot] [PATCH] ARM: dts: UniPhier: add device-specific compatible string for EEPROM

2015-07-23 Thread Masahiro Yamada
2015-07-13 10:35 GMT+09:00 Masahiro Yamada yamada.masah...@socionext.com: For the record, describe exactly which device of which vendor is used on this board. I2C EEPROM is bound by the generic compatible string, i2c-eeprom, so this commit has no impact on the functionality. Signed-off-by:

Re: [U-Boot] [PATCH 08/12] arm: mx6: usb: kconfig: add USB_EHCI_MX6 kconfig option

2015-07-23 Thread Marek Vasut
On Thursday, July 23, 2015 at 04:19:35 PM, Nikita Kiryanov wrote: Add USB_EHCI_MX6 option to menuconfig and use it when migrating cm-fx6 usb config to defconfig. Cc: Masahiro Yamada yamada.masah...@socionext.com Cc: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Igor

  1   2   >