[U-Boot] [PATCH] net/phy: Correct AR8021 phy_mask

2014-03-04 Thread Haijun Zhang
There was wrong phy_mask for AR8021 device, so the AR8021 can't be probed correctly. Changed it from 0x4f to 0x40. Signed-off-by: Haijun Zhang haijun.zh...@freescale.com --- drivers/net/phy/atheros.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] Help with Raspberry Pi

2014-03-04 Thread Artur Sterz Uni
Hi, is it possible to boot a raspbian Image with U-Boot on a Raspberry Pi? And I found this API-Folder. Is this for developing U-Boot Standalone-Apps? Thank you, Artur ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH REPOST] usb: create common header virtual root hub descriptors

2014-03-04 Thread Pierre AUBERT
Hello Stephen, Sorry for the delay, I wasn't connected during 2 weeks. I can't comment your patch because I no longer have an MPC5200-based board. Best regards Le 21/02/2014 05:19, Stephen Warren a écrit : On 02/13/2014 09:15 PM, Stephen Warren wrote: Many USB host controller drivers contain

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-03-04 Thread Masahiro Yamada
Hello Scott, Chin, +/* this is a helper macro that allows us to + * format the bank into the proper bits for the controller */ +#define BANK(x) ((x) 24) + +/* Interrupts are cleared by writing a 1 to the appropriate status bit */ +static inline void clear_interrupt(uint32_t

Re: [U-Boot] [PATCH] usb: dfu: add static alt num count in dfu_config_entities()

2014-03-04 Thread Lukasz Majewski
Hi Heiko, Thanks to this multiple call of function dfu_config_entities() gives continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu entities in multiple variables. Could you test this patch on your boards, which are using DFU? Thanks in advance.

Re: [U-Boot] [PATCH] usb: dfu: add static alt num count in dfu_config_entities()

2014-03-04 Thread Heiko Schocher
Hello Lukasz, Am 04.03.2014 12:33, schrieb Lukasz Majewski: Hi Heiko, Thanks to this multiple call of function dfu_config_entities() gives continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu entities in multiple variables. Could you test this patch on your

Re: [U-Boot] [PATCH] usb: dfu: add static alt num count in dfu_config_entities()

2014-03-04 Thread Lukasz Majewski
Hi Heiko, Hello Lukasz, Am 04.03.2014 12:33, schrieb Lukasz Majewski: Hi Heiko, Thanks to this multiple call of function dfu_config_entities() gives continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu entities in multiple variables. Could you

Re: [U-Boot] [RESEND PATCH v2 4/4] kbuild: improve Kbuild speed

2014-03-04 Thread Masahiro Yamada
Hello Tom, Kbuild brought about many advantages for us but a significant performance regression was reported by Simon Glass. After some discussions and analysis, it turned out its main cause is in $(call cc-option,...). Historically, U-Boot parses all config.mk (arch/*/config.mk and

[U-Boot] U-Boot doesn't silent the output

2014-03-04 Thread Frank Ihle
Hi everyone, I searched the Internet but the help I found didn't work. I hope someone here may know how to fix it, here's the situation: I have this ARM9 SAM9G25 which is accessed by its ttyS0. I want to disable all of the output, that was made during the U-Boot (v. 2010.06) boot, to

[U-Boot] [PATCH V4 00/12] Exynos4: add support for device tree

2014-03-04 Thread Piotr Wilczek
This patch set enables support for device tree on all Exynos4 based boards. DT support is enabled on Exynos mipi dsim and sdhci drives. Common board.c file is reused for all functions common for Exynos4 boards. Board specific files are implemented in the board files. Origen, Universal, Trats and

[U-Boot] [PATCH V4 02/12] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-03-04 Thread Piotr Wilczek
This patch enables parsing mipi data from device tree. Non device tree case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v4: - use - hypen for DT bindings

[U-Boot] [PATCH V4 01/12] exynos4:pinmux:fdt: decode peripheral id

2014-03-04 Thread Piotr Wilczek
This patch adds api to decode peripheral id based on interrupt number. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v4: - none Changes for v3: - none Changes for v2: - removed

[U-Boot] [PATCH V4 03/12] video:exynos_fb:fdt: add additional fdt data

2014-03-04 Thread Piotr Wilczek
This patch adds additional data parsing from DTB and adds the new exynos_lcd_panel_init() function for panel specific initialisation from the board file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com

[U-Boot] [PATCH V4 04/12] drivers:mmc:sdhci: enable support for DT

2014-03-04 Thread Piotr Wilczek
This patch enables support for device tree for sdhci driver. Non DT case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v4: - none Changes for v3: - none Changes

[U-Boot] [PATCH V4 05/12] board:samsung: move checkboard to common file

2014-03-04 Thread Piotr Wilczek
The checkboard function's implementation is common for all DT supporting boards and should be placed in the board common file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Chander Kashyap k.chan...@samsung.com Cc: Rajeshwari S

[U-Boot] [PATCH V4 09/12] board:origen: Enable device tree on Origen

2014-03-04 Thread Piotr Wilczek
This patch enables to run Origen board on device tree. Uart, DRAM and MMC init functions are removed as their generic replacements form the common board file are used. The config file is modified to contain only board specific options. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com

[U-Boot] [PATCH V4 08/12] arm:exynos: enable sdhci and misc_init to common board

2014-03-04 Thread Piotr Wilczek
This patch enables sdhci initialisation and misc_init_r in common board file for all exynos 4 based boards. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- Changes for v4: - none Changes for v3:

[U-Boot] [PATCH V4 06/12] arm:exynos: add common DTS file for exynos 4

2014-03-04 Thread Piotr Wilczek
This patch adds common dtsi file and config header for all Exynos 4 based boards. Patch additionaly adds board specific (weak) functions for board_early_init_f and board_power_init functions. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park

[U-Boot] [PATCH V4 07/12] board:samsung:common: move max77686 init function

2014-03-04 Thread Piotr Wilczek
This patch moves board specific max77686 init function from common board to smdk5250 board file. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Rajeshwari S Shinde rajeshwar...@samsung.com Cc: Rajeshwari Birje

[U-Boot] [PATCH V4 10/12] board:universal: Enable device tree on Universal

2014-03-04 Thread Piotr Wilczek
This patch enables to run Universal board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com Acked-by: Przemyslaw Marczak p.marc...@samsung.com --- Changes for v4: - define

[U-Boot] [PATCH V4 11/12] board:trats: Enable device tree on Trats

2014-03-04 Thread Piotr Wilczek
This patch enables to run Trats board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes for v4: - use - hypen in DT bindings -

[U-Boot] [PATCH V4 12/12] board:trats2: Enable device tree on Trats2

2014-03-04 Thread Piotr Wilczek
This patch enables to run Trats2 board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes for v4: - use - hypen in DT bindings - define CONFIG_ENV_SIZE, CONFIG_ENV_OFFSET,

Re: [U-Boot] [PATCH v6] socfpga: Adding Scan Manager driver

2014-03-04 Thread Chin Liang See
Hi Michal, On Fri, 2014-02-28 at 11:17 +0100, Michal Simek wrote: On 02/27/2014 05:03 PM, Chin Liang See wrote: Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by: Chin Liang See cl...@altera.com Cc:

Re: [U-Boot] [PATCH] malta: correct tcl script path in README.malta

2014-03-04 Thread Paul Burton
On Tue, Mar 04, 2014 at 02:48:42PM +, James Hogan wrote: README.malta referred to board/malta, but malta has now been moved within board/imgtec/, so correct the path. Well spotted :) Paul Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Daniel Schwierzeck

Re: [U-Boot] Help with Raspberry Pi

2014-03-04 Thread Stephen Warren
On 03/03/2014 09:08 AM, Artur Sterz Uni wrote: is it possible to boot a raspbian Image with U-Boot on a Raspberry Pi? Yes, I use Raspbian as the user-space for all my Pi development work. I use an upstream/mainline kernel rather than the Pi Foundation's downstream kernel though; I have no idea

Re: [U-Boot] [PATCH v6] socfpga: Adding Scan Manager driver

2014-03-04 Thread Michal Simek
On 03/04/2014 04:01 PM, Chin Liang See wrote: Hi Michal, On Fri, 2014-02-28 at 11:17 +0100, Michal Simek wrote: On 02/27/2014 05:03 PM, Chin Liang See wrote: Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings

[U-Boot] [PATCH] Cosmetic: Typo fixes

2014-03-04 Thread Vasili Galka
From: Vasili Galka vvv...@gmail.com Signed-off-by: Vasili Galka vas...@visionmap.com --- include/spi_flash.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/spi_flash.h b/include/spi_flash.h index f79f0ea..1a11286 100644 --- a/include/spi_flash.h +++

Re: [U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-03-04 Thread York Sun
On 01/27/2014 09:35 PM, Wolfgang Denk wrote: Dear Aneesh, In message 7f771c64c5c44208b24e38c75e159...@dm2pr03mb415.namprd03.prod.outlook.com you wrote: Sorry for the misleading statement. Yes, CONFIG_SYS_RAMBOOT is for booting from RAM directly and we have used it for the same purpose

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-03-04 Thread Scott Wood
On Tue, 2014-03-04 at 19:31 +0900, Masahiro Yamada wrote: Hello Scott, Chin, +/* this is a helper macro that allows us to + * format the bank into the proper bits for the controller */ +#define BANK(x) ((x) 24) + +/* Interrupts are cleared by writing a 1 to the appropriate

Re: [U-Boot] Add 64-bit data support for memory commands

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 05:03:19PM -0800, York Sun wrote: Add 64-bit data for memory commands, such as md, mw, mm, cmp. The new size .q is introduced. For 64-bit architecture, 64-bit data is enabled by default, by detecting compiler __LP64__. It is optional for other architectures.

Re: [U-Boot] [U-Boot, 01/10] drivers: net: cpsw: add support to have phy address from cpsw platform data

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:52AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Some platforms like AM437x have different EVMs with different phy addresses, so this patch adds support for passing phy address via cpsw plaform data. Also renamed phy_id to phy_addr so better

Re: [U-Boot] [U-Boot, 04/10] ARM: AM335x: add support for reading cpsw 2nd mac address from efuse

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:55AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Adding support for reading cpsw 2nd mac address from efuse and pass it to kernel via dtb which will be used in dual emac mode of cpsw. Also adding mii command support to am335x common config.

Re: [U-Boot] [U-Boot, 05/10] ARM: DRA7xx: add support for reading cpsw 2nd mac from efuse

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:56AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Adding support for reading cpsw 2nd mac address from efuse and pass it to kernel via dtb which will be used in dual emac mode of cpsw. Also correct the bit masking of mac id read from the

Re: [U-Boot] [U-Boot, 06/10] ARM: AM4372: Update EMIF registers for DDR3

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:57AM -0500, Tom Rini wrote: From: Lokesh Vutla lokeshvu...@ti.com Updating EMIF_PHY_CTRL and adding EMIF_READ_WRITE_EXECUTION_THRESHOLD registers. In EMIF_PHY_CTRL: Updating [4:0]READ_LATENCY to 8, because at higher frequencies like 400MHz the read latency

Re: [U-Boot] [U-Boot, 03/10] ARM: AM43xx: Add CPSW support to AM43xx EPOS and GP EVM

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:54AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Adding support for CPSW to AM43xx EPOS nad GP EVM which is connected to RMII and RGMII phy respectively and enable cpsw in config. Reviewed-by: Felipe Balbi ba...@ti.com Signed-off-by:

Re: [U-Boot] [U-Boot, 07/10] ARM: AM43xx: Add Ethernet boot support to SPL

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:58AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Add Ethernet Boot support to SPL Acked-by: Tom Rini tr...@ti.com Signed-off-by: Mugunthan V N mugunthan...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 08/10] ARM: AM43xx: EMIF: configure self-refresh entry delay

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:59AM -0500, Tom Rini wrote: From: Dave Gerlach d-gerl...@ti.com Per a suggestion from the hardware team, program the emif_pwr_mgmt_ctrl and emif_pwr_mgmt_ctrl_shdw registers within the EMIF to hold the desired delay in cycles that the EMIF waits without an

Re: [U-Boot] [U-Boot, 09/10] ARM: AM43xx: Write sdram_config to secure_emif_sdram_config

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:32:00AM -0500, Tom Rini wrote: From: Dave Gerlach d-gerl...@ti.com The register secure_emif_sdram_config in control module is copied to the EMIF sdram_config register when it is coming out of DeepSleep0 in order to ensure that the EMIF comes up for the correct

Re: [U-Boot] [U-Boot,v2,1/6] net: emaclite: Fix OF initialization

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:28AM +0100, Michal Simek wrote: - Add xilinx_emaclite_of_init to netdev.h - Remove global data pointer from the driver - Add better handling for error state. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] arm: am335x: DXR2: Reset SMSC LAN9303 switch via GPIO upon bootup

2014-03-04 Thread Tom Rini
On Tue, Feb 25, 2014 at 11:07:22AM +0100, Stefan Roese wrote: Since the switch may be re-configured for VLAN usage in Linux (or any other OS), lets reset the switch to its default register values upon power-up. Otherwise network might not be available in U-Boot. Signed-off-by: Stefan Roese

Re: [U-Boot] [U-Boot, v2, 2/6] zynq: Do not use SPL OF initialization

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:29AM +0100, Michal Simek wrote: Disable CONFIG_OF_CONTROL for SPL compilation. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,10/10] ARM: AM43xx: Change DDR3 Reset Value

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:32:01AM -0500, Tom Rini wrote: From: Dave Gerlach d-gerl...@ti.com The bit DDR3_RST_DEF_VAL inside CTRL_DDR_IO represents the default value of the ddr reset value for DDR3 before the EMIF takes over. We must have this bit set high so that on exit from DeepSleep0

Re: [U-Boot] [U-Boot, v2, 4/6] mmc: zynq: Add OF initialization support

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:31AM +0100, Michal Simek wrote: Enable initialize sdhci from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot, v2, 3/6] net: gem: Add OF initialization support

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:30AM +0100, Michal Simek wrote: Gem can be directly initialized from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 6/6] serial: zynq: Add OF initialization support

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:33AM +0100, Michal Simek wrote: Add console selection from DTB which is enough to have OF driven solution. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 3/8] nand_spl: simpc8313: move config.mk used only for nand_spl

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:51:00PM +0900, Masahiro Yamada wrote: board/sheldon/simpc8313/config.mk is used only for nand_spl. So it should go into nand_spl/board/sheldon/simpc8313/. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 2/8] Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:50:59PM +0900, Masahiro Yamada wrote: LDSCRIPT_MAKEFILE_DIR is not referenced from anywhere. Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 5/6] zynq: Add OF ram initialization support

2014-03-04 Thread Tom Rini
On Mon, Feb 24, 2014 at 11:16:32AM +0100, Michal Simek wrote: Read ram size directly from DTB. Signed-off-by: Michal Simek michal.si...@xilinx.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] kbuild: post: fix dependency tracking correctly

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 11:26:08AM +0900, Masahiro Yamada wrote: $(call if_changed,...) must take FORCE as a prerequite. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 1/8] config.mk: Delete unused variable BCURDIR

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:50:58PM +0900, Masahiro Yamada wrote: This variable was abolished by Kbuild series. I forgot to delete it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, RFC] nand_spl: display warning message to inform the end of nand_spl

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 05:51:11PM +0900, Masahiro Yamada wrote: Now we have two different frameworks for doing the same thing. I'd like to propose to drop nand_spl framework. How about deleting it before v2014.07 release? In the interim, this commit will display a warning message when

Re: [U-Boot] sizes.h - consolidate for all architectures

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 05:47:58PM +0400, Alexey Brodkin wrote: Copied from Linux sources include/linux/sizes.h commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Stefan

Re: [U-Boot] [U-Boot, 7/8] m68k: merge compile flags -ffixed-d7 -sep-data

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:51:04PM +0900, Masahiro Yamada wrote: All arch/m68k/cpu/*/config.mk define the same flags PLAGFORM_REFLFLAGS += -ffixed-d7 -msep-data Move it to arch/m68k/config.mk Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Jason Jin jason@freescale.com

Re: [U-Boot] [U-Boot,4/8] x86: Delete redundant compiler flags

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:51:01PM +0900, Masahiro Yamada wrote: -Wstrict-prototypes, -ffreestanding, -fno-stack-protector are defined at the top Makefile for all architectures. Do not define them twice for x86. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Simon Glass

Re: [U-Boot] [U-Boot, v9, 02/14] Add cmd_process_error() to report and process errors

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:15PM -0700, Simon Glass wrote: U-Boot now uses errors defined in include/errno.h which are negative integers. Commands which fail need to report the error and return 1 to indicate failure. Add this functionality in cmd_process_error(). For now this merely

Re: [U-Boot] [U-Boot, v9, 01/14] sandbox: Build a device tree file for sandbox

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:14PM -0700, Simon Glass wrote: Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with:

Re: [U-Boot] [U-Boot, v9, 03/14] yaffs: Remove private list implementation

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:16PM -0700, Simon Glass wrote: U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from ydirectenv.h:80:0, from yportenv.h:81, from

Re: [U-Boot] [U-Boot,v9,09/14] dm: Add a 'dm' command for testing

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:22PM -0700, Simon Glass wrote: This command is not required for driver model operation, but can be useful for testing. It provides simple dumps of internal data structures. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Marek Vasut ma...@denx.de

Re: [U-Boot] [U-Boot,v9,08/14] dm: Add basic tests

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:21PM -0700, Simon Glass wrote: Add some tests of driver model functionality. Coverage includes: - basic init - binding of drivers to devices using platform_data - automatic probing of devices when referenced - availability of platform data to devices -

Re: [U-Boot] [U-Boot, v9, 06/14] sandbox: config: Enable driver model

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:19PM -0700, Simon Glass wrote: Use driver model in sandbox to permit running of driver model unit test. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v9,05/14] dm: Add base driver model support

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:18PM -0700, Simon Glass wrote: Add driver model functionality for generic board. This includes data structures and base code for registering devices and uclasses (groups of devices with the same purpose, e.g. all I2C ports will be in the same uclass). The

Re: [U-Boot] [U-Boot, v9, 07/14] dm: Set up driver model after relocation

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:20PM -0700, Simon Glass wrote: Make driver model available after relocation, by setting up data structures and scanning for devices using compiled-in platform_data and (when available) the device tree. Signed-off-by: Simon Glass s...@chromium.org Applied to

Re: [U-Boot] [U-Boot,v9,04/14] dm: Add README for driver model

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:17PM -0700, Simon Glass wrote: This adds a README to help with understanding of this series. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v9, 10/14] dm: Add a demonstration/example driver

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:23PM -0700, Simon Glass wrote: As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are

Re: [U-Boot] [U-Boot, v9, 12/14] sandbox: Convert GPIOs to use driver model

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:25PM -0700, Simon Glass wrote: Convert sandbox over to use driver model GPIOs. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v9,11/14] dm: Add GPIO support and tests

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:24PM -0700, Simon Glass wrote: Add driver model support for GPIOs. Since existing GPIO drivers do not use driver model, this feature must be enabled by CONFIG_DM_GPIO. After all GPO drivers are converted over we can perhaps remove this config. Tests are

Re: [U-Boot] [U-Boot, v9, 13/14] dm: Enable gpio command to support driver model

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:26PM -0700, Simon Glass wrote: Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO (input or output), we can provide an enhanced GPIO command for driver model. Where the driver provides its own operation for obtaining the

Re: [U-Boot] [U-Boot, v9, 14/14] dm: Remove old driver model documentation

2014-03-04 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:59:27PM -0700, Simon Glass wrote: This documentation pertains to the planned implementation of driver model in U-Boot for each subsystem, but it has not been superseded. It is probably better to have this documentation in the source code for each subsystem where

Re: [U-Boot] scripts: update checkpatch.pl to latest upstream version

2014-03-04 Thread Tom Rini
On Thu, Feb 27, 2014 at 08:27:28AM -0500, Tom Rini wrote: Update to v3.14-rc4's version of checkpatch.pl. In doing so we drop the changes to top_of_kernel_tree() as we pass in --no-tree and drop our changes about MAINTAINERS as that's for reporting checkpatch.pl problems itself (and upstream

Re: [U-Boot] board: gaisler: delete unnecessary include path

2014-03-04 Thread Tom Rini
On Fri, Feb 28, 2014 at 07:42:26PM +0900, Masahiro Yamada wrote: The same outputs are generated with or without -I$(TOPDIR)/board. I cannot understand why it is necessary. Remove. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Daniel Hellstrom dan...@gaisler.com Applied to

Re: [U-Boot] kbuild: consolidate PLATFORM_LIBS

2014-03-04 Thread Tom Rini
On Thu, Feb 27, 2014 at 10:40:34PM +0900, Masahiro Yamada wrote: We had switched to Kbuild so now we can specify PLATFORM_LIBS/PLATFORM_LIBGCC with relative path. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Tom Rini tr...@ti.com Acked-by: Simon Glass

Re: [U-Boot] kbuild: fix CROSS_COMPILE settings in config.mk

2014-03-04 Thread Tom Rini
On Fri, Feb 28, 2014 at 02:33:30PM +0900, Masahiro Yamada wrote: The syntax CROSS_COMIPLE ?= cross_compiler_prefix does not work because config.mk is parsed after exporting CROSS_COMPILE. Like Linux Kernel's arch/$(ARCH)/Makefile, we must write as follows: ifeq ($(CROSS_COMPILE),)

Re: [U-Boot] [U-Boot, 02/10] ARM: AM43xx: clocks: Enable CPGMAC clock control

2014-03-04 Thread Tom Rini
On Tue, Feb 18, 2014 at 07:31:53AM -0500, Tom Rini wrote: From: Mugunthan V N mugunthan...@ti.com Enable CPGMAC clock control for AM43xx to use ethernet in U-Boot Signed-off-by: Mugunthan V N mugunthan...@ti.com Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] board: .gitignore: ignore board-specific generated files

2014-03-04 Thread Tom Rini
On Fri, Feb 28, 2014 at 07:59:16PM +0900, Masahiro Yamada wrote: Ignore - board/cray/L1/bootscript.{c|image} - board/matrix_vision/mvblm7/bootscript.img - board/maxtir_vision/mvsmr/bootscript.img Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Andre Schwarz

Re: [U-Boot] board: config.mk: delete unused sinclude directive

2014-03-04 Thread Tom Rini
On Fri, Feb 28, 2014 at 08:12:34PM +0900, Masahiro Yamada wrote: config.tmp is not there. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] [U-Boot,1/2] kbuild: fix tools-all target

2014-03-04 Thread Tom Rini
On Mon, Mar 03, 2014 at 11:06:18AM +0900, Masahiro Yamada wrote: The top Makefile must export HOST_TOOLS_ALL to use it in tools/Makefile. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Tested-by: Heiko Schocher h...@denx.de Acked-by: Heiko Schocher h...@denx.de Applied to

Re: [U-Boot] kbuild: tools: fix a bug that always builds Denx logo

2014-03-04 Thread Tom Rini
On Mon, Mar 03, 2014 at 06:40:56PM +0900, Masahiro Yamada wrote: LOGO_BMP was never overwritten by board-specific or vendor-specific logos. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Reported-by: Bo Shen voice.s...@atmel.com Tested-by: Bo Shen voice.s...@atmel.com Applied to

Re: [U-Boot] [U-Boot,1/2] kbuild: allow empty board directories

2014-03-04 Thread Tom Rini
On Mon, Mar 03, 2014 at 07:03:17PM +0900, Masahiro Yamada wrote: U-Boot has compelled all boards to have board/${BOARD}/ or board/${VENDOR}/${BOARD}/ directory. Sometimes it does not seem suitable for some boards, for example Sandbox. (Is it a board?) And arcangel4 board has nothing to

Re: [U-Boot] [U-Boot, 2/2] kbuild: add cross_tools target to build tools for the target

2014-03-04 Thread Tom Rini
On Mon, Mar 03, 2014 at 11:06:19AM +0900, Masahiro Yamada wrote: Programs in tools/ directory are usually built for the host. But some of them (mkimage, dumpimge, gen_eth_addr, etc.) are useful on the target OS too. Actually, prior to Kbuild, U-Boot could build tools for the target like

Re: [U-Boot] [U-Boot, 2/2] arc: arcangel4: set board entry none to fix a build error

2014-03-04 Thread Tom Rini
On Mon, Mar 03, 2014 at 07:03:18PM +0900, Masahiro Yamada wrote: There are no source files in board/synopsys/arcangel4/ directory. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Alexey Brodkin alexey.brod...@synopsys.com Applied to u-boot/master, thanks! -- Tom

[U-Boot] Please pull u-boot-ti/master

2014-03-04 Thread Tom Rini
Hey, The following changes since commit eeb72e67619b98d2502fe634a3a5d9953de92ad0: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-02-26 16:49:58 -0500) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] malta: correct tcl script path in README.malta

2014-03-04 Thread Daniel Schwierzeck
2014-03-04 15:48 GMT+01:00 James Hogan james.ho...@imgtec.com: README.malta referred to board/malta, but malta has now been moved within board/imgtec/, so correct the path. Signed-off-by: James Hogan james.ho...@imgtec.com Cc: Daniel Schwierzeck daniel.schwierz...@googlemail.com Cc: Paul

Re: [U-Boot] [PATCH 5/8] sh: Do not define -ffreestanding twice

2014-03-04 Thread Tom Rini
On Fri, Feb 28, 2014 at 12:39:35PM +0900, Masahiro Yamada wrote: Hello Nobihiro, Thanks. I want this and 6/8 on u-boot/master. Can you please send pull-request now? Yes, soon please :) -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH] cmd_nvedit: Make 'env import -c' require size parameter

2014-03-04 Thread Tom Rini
When importing a checksummed area we need to be told how big the area in question is so that we know that will match the size of the area which the checksum is generated against. Reported-by: Pierre AUBERT p.aub...@staubli.com Signed-off-by: Tom Rini tr...@ti.com --- common/cmd_nvedit.c |3

[U-Boot] Is it OK to use target code from host tools

2014-03-04 Thread Charles Manning
Hello All I am currently reworking a socfpga signer patch which is part of mkimage. One thing I need to do is to stuff some bytes into a header ensuring the endianism is correct. This is a trivial thing to do in C, but I have been instructed to use the existing functions put_unaligned_le32()

[U-Boot] [PATCH] MIPS: fix types u64 and __u64 to unsigned long long

2014-03-04 Thread Daniel Schwierzeck
Linux MIPS uses asm-generic/int-ll64.h in asm/types.h. Thus u64 and __u64 are defined as unsigned long long. Port this over to U-Boot. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- This fixes all warnings on qemu_mips64 introduced by patch

[U-Boot] [PATCH RESEND] MIPS: fix types u64 and __u64 to unsigned long long

2014-03-04 Thread Daniel Schwierzeck
Linux MIPS uses asm-generic/int-ll64.h in asm/types.h. Thus u64 and __u64 are defined as unsigned long long. Port this over to U-Boot. Signed-off-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- This fixes all warnings on qemu_mips64 introduced by patch

Re: [U-Boot] [PATCH] MIPS: fix types u64 and __u64 to unsigned long long

2014-03-04 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/04/2014 05:25 PM, Daniel Schwierzeck wrote: Linux MIPS uses asm-generic/int-ll64.h in asm/types.h. Thus u64 and __u64 are defined as unsigned long long. Port this over to U-Boot. Signed-off-by: Daniel Schwierzeck

[U-Boot] [GIT PULL] u-boot-mips/master

2014-03-04 Thread Daniel Schwierzeck
Hi Tom, I've included a documentation fix which was posted today. The following changes since commit eeb72e67619b98d2502fe634a3a5d9953de92ad0: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-02-26 16:49:58 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v4 1/2] watchdog/denali: Adding DesignWare watchdog driver support

2014-03-04 Thread Chin Liang See
On Fri, 2014-02-28 at 11:30 +0100, Michal Simek wrote: On 02/27/2014 08:53 PM, Chin Liang See wrote: To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder.

Re: [U-Boot] [PATCH v3 2/2] socfpga: Adding DesignWare watchdog support

2014-03-04 Thread Chin Liang See
On Fri, 2014-02-28 at 11:31 +0100, Michal Simek wrote: On 02/27/2014 08:55 PM, Chin Liang See wrote: Hi Michal, On Mon, 2014-02-24 at 08:52 +0100, Michal Simek wrote: On 02/21/2014 09:57 PM, Chin Liang See wrote: To enable the DesignWare watchdog support at SOCFPGA Cyclone V dev kit.

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-03-04 Thread Chin Liang See
On Fri, 2014-02-28 at 11:37 +0100, Michal Simek wrote: +/* lld_nand.h */ +/* + * NAND Flash Controller Device Driver + * Copyright (c) 2009, Intel Corporation and its suppliers. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and

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

2014-03-04 Thread Tom Rini
On Tue, Mar 04, 2014 at 11:49:17PM +0100, Daniel Schwierzeck wrote: Hi Tom, I've included a documentation fix which was posted today. The following changes since commit eeb72e67619b98d2502fe634a3a5d9953de92ad0: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-02-26

Re: [U-Boot] [PATCH v2 1/2] nand/denali: Adding Denali NAND driver support

2014-03-04 Thread Chin Liang See
Hi Masahiro, On Fri, 2014-02-28 at 21:57 +0900, Masahiro Yamada wrote: Hello Chin, Where do you set nand-ecc.strength? I believe this is only applicable for NAND_ECC_HW_SYNDROME mode. We are using the NAND_ECC_HW (without the syndrome). Wonder you hit error during run?

Re: [U-Boot] [PATCH 5/8] sh: Do not define -ffreestanding twice

2014-03-04 Thread Nobuhiro Iwamatsu
Hi, These were already applied to u-boot/master. Thanks, Tom,. Nobuhiro 2014-03-05 5:37 GMT+09:00 Tom Rini tr...@ti.com: On Fri, Feb 28, 2014 at 12:39:35PM +0900, Masahiro Yamada wrote: Hello Nobihiro, Thanks. I want this and 6/8 on u-boot/master. Can you please send pull-request now?

Re: [U-Boot] [PATCH] ppc4xx: Remove 4xx NAND booting support

2014-03-04 Thread Masahiro Yamada
Hello Stefan, On Tue, 4 Mar 2014 15:34:35 +0100 Stefan Roese s...@denx.de wrote: As ppc4xx currently only supports the deprecated nand_spl infrastructure and nobody seems to have time / resources to port this over to the newer SPL infrastructure, lets remove NAND booting completely. This

[U-Boot] Pull request: nand flash

2014-03-04 Thread Scott Wood
The following changes since commit eeb72e67619b98d2502fe634a3a5d9953de92ad0: Merge branch 'master' of git://git.denx.de/u-boot-arm (2014-02-26 16:49:58 -0500) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 5/8] sh: Do not define -ffreestanding twice

2014-03-04 Thread Tom Rini
On Wed, Mar 05, 2014 at 09:45:26AM +0900, Nobuhiro Iwamatsu wrote: Hi, These were already applied to u-boot/master. Thanks, Tom,. Bah, I was intending to not apply them, but I guess dropped them too late. So long as u-boot-sh ends up being sane, oh well :) Nobuhiro 2014-03-05 5:37

[U-Boot] [PATCH v4 1/2] watchdog/denali: Adding DesignWare watchdog driver support

2014-03-04 Thread Chin Liang See
To add the DesignWare watchdog driver support. It required information such as register base address and clock info from configuration header file within include/configs folder. Signed-off-by: Chin Liang See cl...@altera.com Cc: Anatolij Gustschin ag...@denx.de Cc: Albert Aribaud

[U-Boot] [PATCH v3] socfpga: Adding Clock Manager driver

2014-03-04 Thread Chin Liang See
Clock Manager driver will be called to reconfigure all the clocks setting based on user input. The input are passed to Preloader through handoff files Signed-off-by: Chin Liang See cl...@altera.com Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Cc: Wolfgang Denk

  1   2   >