Re: [U-Boot] [PATCH 2/6] usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver

2014-02-03 Thread Lukasz Majewski
Hi Marek, On Saturday, February 01, 2014 at 10:56:27 AM, Lukasz Majewski wrote: On Sat, 1 Feb 2014 03:50:26 +0100 Marek Vasut ma...@denx.de wrote: On Friday, January 31, 2014 at 01:16:25 PM, Lukasz Majewski wrote: A set of cache operations (both invalidation and flush) were

Re: [U-Boot] [PATCH V2 1/8] arm:exynos: add cpu revision

2014-02-03 Thread Minkyu Kang
Dear Wolfgang Denk, On 23/01/14 19:28, Wolfgang Denk wrote: Dear Piotr Wilczek, In message 1390402477-24340-2-git-send-email-p.wilc...@samsung.com you wrote: This patch enables to read cpu revision on Exynos CPU. Sorry, you really need to refactor your patches. In this commit you

Re: [U-Boot] u-boot spl with FIT images

2014-02-03 Thread Michal Simek
Hi Simon, On 02/01/2014 01:28 AM, Simon Glass wrote: +U-Boot (good to copy the list) yes, sure. Hi Michal, On 28 January 2014 06:23, Michal Simek mon...@monstr.eu wrote: Hi Simon, hope that you are good. IRC you mentioned at u-boot minisummit that you are enabling FIT support for

Re: [U-Boot] Signed-off-by for RPI U-Boot USB patches

2014-02-03 Thread Lukasz Majewski
Hi Stephen, (Sorry for the spam; resending with the correct U-Boot mailing list in CC) On 02/01/2014 11:14 PM, Stephen Warren wrote: Oleksandr, I'm starting to look at getting USB support enabled for the Raspberry Pi in mainline U-Boot. To that end, I looked at:

[U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-02-03 Thread Aneesh Bansal
Changes: 1. L2 cache is being invalidated by Boot ROM code for e6500 core. So removing the invalidation from start.S 2. Clear the LAW and corresponding configuration for CPC. Boot ROM code uses it as hosekeeping area. 3. For Secure boot, CPC is configured as SRAM and used as house keeping

[U-Boot] [PATCH][v3] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-02-03 Thread Aneesh Bansal
Changes: 1. L2 cache is being invalidated by Boot ROM code for e6500 core. So removing the invalidation from start.S 2. Clear the LAW and corresponding configuration for CPC. Boot ROM code uses it as hosekeeping area. 3. For Secure boot, CPC is configured as SRAM and used as house keeping

Re: [U-Boot] [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399

2014-02-03 Thread aneesh.ban...@freescale.com
-Original Message- From: Wood Scott-B07421 Sent: Wednesday, January 29, 2014 2:38 AM To: Bansal Aneesh-B39320 Cc: u-boot@lists.denx.de; Sun York-R58495 Subject: Re: [PATCH 2/3] powerpc/p1010rdb: SECURE BOOT- enable workaround for IFC errata A003399 On Sun, 2014-01-26 at 23:27

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-03 Thread Lukasz Majewski
Hi Marek, On Saturday, February 01, 2014 at 12:05:29 PM, Lukasz Majewski wrote: On Sat, 1 Feb 2014 03:55:20 +0100 Marek Vasut ma...@denx.de wrote: On Friday, January 31, 2014 at 01:16:27 PM, Lukasz Majewski wrote: The Samsung's UDC driver is not anymore copying data from USB

Re: [U-Boot] [PATCH 3/3] exynos: pinmux: remove unnecessary routine

2014-02-03 Thread Jaehoon Chung
Acked-by: Jaehoon Chung jh80.ch...@samsung.com On 01/29/2014 05:04 PM, Minkyu Kang wrote: Because of the list of peripherals is not sequential, such a routine does not check for valid correctly. Error check will be done when call the exynos_pinmux_config function. Signed-off-by: Minkyu Kang

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Stefano Babic
Hi Marek, sorry for late answer. On 28/01/2014 20:32, Marek Vasut wrote: On Tuesday, January 28, 2014 at 04:06:12 PM, Stefano Babic wrote: Hi Marek, On 24/01/2014 16:25, Marek Vasut wrote: Add a callback so that a board can implement it's own specific routine to toggle the port's nRESET

Re: [U-Boot] [PATCH 1/2] power: add PFUZE100 PMIC driver

2014-02-03 Thread Stefano Babic
Hi Tim, On 01/02/2014 20:49, Tim Harvey wrote: Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/power/pmic/Makefile| 1 + drivers/power/pmic/pmic_pfuze100.c | 42 + include/power/pfuze100_pmic.h | 96 ++ 3 files

[U-Boot] Booting in Internal mode

2014-02-03 Thread JYOTI DUBEY
After a successful booting in SPI-NOR(FUSE) mode I would like to boot the same board in INTERNAL mode i.e Serial download mode.Can anyone suggest me commands and steps to achieve the same? ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [uBoot] [PATCH v2 1/2] common: spl: Add spl sata boot support

2014-02-03 Thread Dan Murphy
Add spl_sata to read a fat partition from a bootable SATA drive. Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Removed debug print - http://patchwork.ozlabs.org/patch/314811/ common/Makefile |3 +++ common/cmd_scsi.c |2 ++ common/spl/Makefile |1 + common/spl/spl.c

[U-Boot] [uBoot] [PATCH v2 2/2] ARM: O5/dra7xx: Add SATA boot support

2014-02-03 Thread Dan Murphy
Add the SATA boot support for OMAP5 and dra7xx. Renamed the omap_sata_init to the common init_sata(int dev) for commonality in with sata stack. Added the ROM boot device ID for SATA. Signed-off-by: Dan Murphy dmur...@ti.com --- v2 - Removed omap_sata_init from header -

[U-Boot] [PATCH] fpga: zynqpl: Add support for zc7015 device

2014-02-03 Thread Michal Simek
Just extend tables with this new device. Signed-off-by: Michal Simek michal.si...@xilinx.com --- board/xilinx/zynq/board.c | 4 include/zynqpl.h | 5 + 2 files changed, 9 insertions(+) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c index a5b9bde..5a47149

[U-Boot] [PATCH v2] OMAP24xx I2C: Add support for 'setspeed'

2014-02-03 Thread Hannes Petermaier
changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status. Otherwise on a subsequent call the transfer of last byte from the predecessor is aborted and therefore lost. For exmaple when i2c_write(...) is followed by a i2c_setspeed(...) (which has to deactivate and activate master for

[U-Boot] [PATCH v3 1/9] arc: add architecture header files

2014-02-03 Thread Alexey Brodkin
These are header files used by ARC700 architecture. Also note that arch-arc700/hardware.h is only required for compilation of designware_i2c driver which refers to asm/arch/hardware.h. It would be good to fix mentioned driver sometime soon but it will cause changes in ARM board configs that use

[U-Boot] [PATCH v3 0/9] Add support for the ARC700 architecture

2014-02-03 Thread Alexey Brodkin
This patch series adds support for the Synopsys DesignWare ARC700 architecture. DesignWare ARC700 is family of 32-bit CPUs developed by Synopsys, Inc. Since version 3.9 ARC architecture is supported in mainline Linux developemnt. And now to get better support in commonly used boot-loader we are

[U-Boot] [PATCH v3 3/9] arc: add library functions

2014-02-03 Thread Alexey Brodkin
These are library functions used by ARC700 architecture. Following files were borrowed from Linux kernel sources, commit 5ee54f38171b9b3541c5e9cf9c3a9e53455fd8b4 (Linux 3.11.10): * memcmp.S * memcpy-700.S * memset.S * strchr-700.S * strcmp.S * strcpy-700.S * strlen.S Signed-off-by:

[U-Boot] [PATCH v3 4/9] arc: bdinfo, image and arc-specific init functions declarations support

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Added inclusion of u-boot-arc.h in common.h. common/cmd_bdinfo.c | 18

[U-Boot] [PATCH v3 2/9] arc: add cpu files

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- Changes for v3: * Fixed checkpatch.pl errors. * All AUX regs were moved into one header. *

[U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Alexey Brodkin
AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: * DW APB UART * DW Mobile Storage (MMC/SD) * DW I2C * DW GMAC Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois

[U-Boot] [PATCH v3 9/9] arc: add README for architecture

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. doc/README.ARC | 27 +++ 1 file changed, 27

[U-Boot] [PATCH v3 8/9] arc: add architecture to MAKEALL

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. MAKEALL | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAKEALL

[U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Alexey Brodkin
Arcangel4 is a FPGA-based development board that is used for prototyping and verification of of both ARC hardware (CPUs) and software running upon CPU. Prerequisite is http://patchwork.ozlabs.org/patch/300901/ This board avaialble in 2 flavours: * Little-endian (arcangel4) * Big-endian

[U-Boot] [PATCH v2] OMAP24xx: Add support for set-speed

2014-02-03 Thread Hannes Petermaier
Adds support for set-speed on the OMAP24xx I2C Adapter. Changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status. Otherwise on a subsequent call the transfer of last byte from the predecessor is aborted and therefore lost. For exmaple when i2c_write(...) is followed by a

[U-Boot] [PATCH v3 5/9] arc: add support for standalone programs

2014-02-03 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Francois Bedard fbed...@synopsys.com Cc: Wolfgang Denk w...@denx.de Cc: Heiko Schocher h...@denx.de --- No changes for v3. examples/standalone/stubs.c | 13 + 1 file changed, 13

Re: [U-Boot] Signed-off-by for RPI U-Boot USB patches

2014-02-03 Thread Stephen Warren
On 02/03/2014 01:23 AM, Lukasz Majewski wrote: Hi Stephen, (Sorry for the spam; resending with the correct U-Boot mailing list in CC) On 02/01/2014 11:14 PM, Stephen Warren wrote: Oleksandr, I'm starting to look at getting USB support enabled for the Raspberry Pi in mainline U-Boot. To

[U-Boot] Please pull u-boot-mpc85xx master

2014-02-03 Thread York Sun
Tom, The following changes since commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07: board: nios2: Check if flash is configured before calling early_flash_cmd_reset() (2014-01-29 16:44:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to

Re: [U-Boot] [PATCH 2/6] usb:udc:samsung: Remove redundant cache operation from Samsung UDC driver

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 09:05:06 AM, Lukasz Majewski wrote: [...] To sum up: 1. s3c_udc_ep0_zlp - EP0 ZLP packets don't need to invalidate the cache (since it is zero length transmission) 2. s3c_udc_pre_setup - cache invalidation is not needed when I setup buffer

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 12:56:04 PM, Stefano Babic wrote: Hi Marek, sorry for late answer. On 28/01/2014 20:32, Marek Vasut wrote: On Tuesday, January 28, 2014 at 04:06:12 PM, Stefano Babic wrote: Hi Marek, On 24/01/2014 16:25, Marek Vasut wrote: Add a callback so that a

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 12:06:59 PM, Lukasz Majewski wrote: Hi Marek, On Saturday, February 01, 2014 at 12:05:29 PM, Lukasz Majewski wrote: On Sat, 1 Feb 2014 03:55:20 +0100 Marek Vasut ma...@denx.de wrote: On Friday, January 31, 2014 at 01:16:27 PM, Lukasz Majewski

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Eric Nelson
Hi Marek, On 02/03/2014 11:17 AM, Marek Vasut wrote: On Monday, February 03, 2014 at 12:56:04 PM, Stefano Babic wrote: Hi Marek, sorry for late answer. On 28/01/2014 20:32, Marek Vasut wrote: On Tuesday, January 28, 2014 at 04:06:12 PM, Stefano Babic wrote: Hi Marek, On 24/01/2014 16:25,

Re: [U-Boot] [PATCH][v3] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-02-03 Thread Wolfgang Denk
Dear Aneesh Bansal, In message 1391419033-14283-1-git-send-email-aneesh.ban...@freescale.com you wrote: Changes: 1. L2 cache is being invalidated by Boot ROM code for e6500 core. So removing the invalidation from start.S 2. Clear the LAW and corresponding configuration for CPC. Boot ROM

Re: [U-Boot] [PATCH v2] OMAP24xx I2C: Add support for 'setspeed'

2014-02-03 Thread Wolfgang Denk
Dear Hannes, In message 1391444250-29430-1-git-send-email-oe5...@oevsv.at you wrote: changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status. Otherwise on a subsequent call the transfer of last byte from the predecessor is aborted and therefore lost. For exmaple when

Re: [U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Wolfgang Denk
Dear Alexey Brodkin, In message 1391445368-10545-7-git-send-email-abrod...@synopsys.com you wrote: Arcangel4 is a FPGA-based development board that is used for prototyping and verification of of both ARC hardware (CPUs) and software running upon CPU. Prerequisite is

Re: [U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Wolfgang Denk
Dear Alexey, In message 1391445368-10545-8-git-send-email-abrod...@synopsys.com you wrote: AXS101 is a new generation of devlopment boards from Synopsys that houses ASIC with ARC700 and lots of DesignWare peripherals: ... +#define CONFIG_SYS_MEMTEST_START (CONFIG_SYS_SDRAM_BASE + 0x200)

Re: [U-Boot] [PATCH 1/2] power: add PFUZE100 PMIC driver

2014-02-03 Thread Tim Harvey
On Mon, Feb 3, 2014 at 4:05 AM, Stefano Babic sba...@denx.de wrote: Hi Tim, On 01/02/2014 20:49, Tim Harvey wrote: Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/power/pmic/Makefile| 1 + drivers/power/pmic/pmic_pfuze100.c | 42 +

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 07:40:09 PM, Eric Nelson wrote: [...] Well ... SL and N6X both. For all I care, we can have #define MX6_PCIE_RESET_GPIO and if that's not defined, puke out this warning. And ultimatelly let this function be overriden anyway in case people used some GPIO

Re: [U-Boot] [PATCH 1/2] power: add PFUZE100 PMIC driver

2014-02-03 Thread Michael Trimarchi
Hi Il 01/feb/2014 20:51 Tim Harvey thar...@gateworks.com ha scritto: Signed-off-by: Tim Harvey thar...@gateworks.com --- drivers/power/pmic/Makefile| 1 + drivers/power/pmic/pmic_pfuze100.c | 42 + include/power/pfuze100_pmic.h | 96

Re: [U-Boot] [PATCH v3 6/9] arc: add Arcangel4 board support

2014-02-03 Thread Alexey Brodkin
Hello Wolfgang, On Mon, 2014-02-03 at 20:15 +0100, Wolfgang Denk wrote: Dear Alexey Brodkin, In message 1391445368-10545-7-git-send-email-abrod...@synopsys.com you wrote: Arcangel4 is a FPGA-based development board that is used for prototyping and verification of of both ARC hardware

Re: [U-Boot] [PATCH v3 7/9] arc: add AXS101 board support

2014-02-03 Thread Alexey Brodkin
Hello Wolfgang, On Mon, 2014-02-03 at 20:19 +0100, Wolfgang Denk wrote: +/* + * I2C configuration + */ +#define CONFIG_HARD_I2C1 +#define CONFIG_DW_I2C 1 ... +#define CONFIG_I2C_MULTI_BUS 1 ... Please do not define values for

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Eric Nelson
Hi Marek, On 02/03/2014 12:33 PM, Marek Vasut wrote: On Monday, February 03, 2014 at 07:40:09 PM, Eric Nelson wrote: [...] Well ... SL and N6X both. For all I care, we can have #define MX6_PCIE_RESET_GPIO and if that's not defined, puke out this warning. And ultimatelly let this function be

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Update serdes protocols for T1040

2014-02-03 Thread York Sun
On 01/24/2014 04:21 AM, Prabhakar Kushwaha wrote: T1040 has only one SerDes block. so update the code accordingly. Also, add support of SerDes Protocol 0x00, 0x06, 0x40, 0x69 0x85, 0xA7 and 0xAA Signed-off-by: Arpit Goel b44...@freescale.com Signed-off-by: Poonam Aggrwal

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Stefano Babic
Hi Marek, On 03/02/2014 19:17, Marek Vasut wrote: Well ... SL and N6X both. For all I care, we can have #define MX6_PCIE_RESET_GPIO and if that's not defined, puke out this warning. And ultimatelly let this function be overriden anyway in case people used some GPIO expander or whatnot. So the

Re: [U-Boot] [U-Boot, 2/2, v2] boards/t1040qds: Adds ethernet support for T1040

2014-02-03 Thread York Sun
On 01/27/2014 02:25 AM, Prabhakar Kushwaha wrote: Enable entherent for T1040QDS. It enables FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 - Define MDIO related configs - Added eth.c file - Update t1040.c to support RGMII and SGMII - Update t1040qds.c to support ethernet - Define the PHY address

Re: [U-Boot] [PATCH] driver/fsl_pci:Update print to display PCIe generation

2014-02-03 Thread York Sun
On 01/24/2014 11:23 PM, Prabhakar Kushwaha wrote: Current print only display width of PCIe device. Add print to display PCIe generation supported by the device. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Applied to u-boot-mpc85xx master branch. York

Re: [U-Boot] [U-Boot, v2] powerpc/t104xrdb: Update T1040RDB.h in config folder

2014-02-03 Thread York Sun
On 01/27/2014 12:37 AM, Priyanka Jain wrote: -Add usb2 node entry in hwconfig string -Remove controller interleaving from hwconfig string as T1040 has only one DDR conroller -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH are move outside so that they are defined for

Re: [U-Boot] [PATCH][v0] powerpc/mpc85xx: Update LIODNs for T1040

2014-02-03 Thread York Sun
On 01/23/2014 12:54 PM, Poonam Aggrwal wrote: Removed LIODNs for RMAN, RIO, 10G. T1040 has 10 QMAN portals so assigned LIODNs accordingly. Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com --- Applied to u-boot-mpc85xx master branch. York

Re: [U-Boot] [U-Boot, v2] powerpc/t104xrdb: Update T1042RDB.h in config folder

2014-02-03 Thread York Sun
On 01/27/2014 01:11 AM, Prabhakar Kushwaha wrote: -Add usb2 node entry in hwconfig string -Remove controller interleaving from hwconfig string as T1040 has only one DDR conroller -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH are move outside so that they are

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Fix README to show correct flash memory map

2014-02-03 Thread York Sun
On 01/24/2014 10:41 PM, Prabhakar Kushwaha wrote: Due to increased size of u-boot, FMAN ucode start address has been shifted by 256KB causing a overlap with rootfs start address. Update rootfs start address to reflect correct memory map. Also fix minor typo in README Signed-off-by:

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: [...] 6.6.1. Conventional Reset Conventional Reset includes all reset mechanisms other than Function Level Reset. There are two categories of Conventional Resets: Fundamental Reset and resets that are not Fundamental

Re: [U-Boot] [PATCH][v2] powerpc/t104xrdb: Add basic ethernet support

2014-02-03 Thread York Sun
On 01/29/2014 10:00 PM, Priyanka Jain wrote: This covers only non-L2 switch ethernet interfaces i.e. RGMII and SGMII interface for both -T1040RDB -T1042RDB_PI T1040RDB is configured as serdes protocol 0x66 which can support following interfaces -2 RGMIIS on DTSEC4, DTSEC5 -1 SGMII on

Re: [U-Boot] powerpc/usb: Enable dual phy for T1040

2014-02-03 Thread York Sun
On 01/27/2014 01:51 AM, Nikhil Badola wrote: Define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE macro for enabling dual phy in t1040 Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com Applied to u-boot-mpc85xx master branch. York ___ U-Boot

Re: [U-Boot] [PATCH V3 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Stephen Warren
On 01/31/2014 05:03 PM, Simon Glass wrote: Hi Stephen, On 27 January 2014 13:49, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com do_test() currently uses strcmp() twice to determine which operator is present; once to determine how many arguments the

[U-Boot] [PATCH V4 01/12] fs: fix generic save command implementation

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Fix a few issues with the generic save shell command, and fs_write() function. 1) fstypes[].write wasn't filled in for some file-systems, and isn't checked when used, which could cause crashes/... if executing save on e.g. fat/ext filesystems. 2)

[U-Boot] [PATCH V4 05/12] cmd_test: check for binary operators before unary

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This better mirrors the behaviour of bash, for example: $ if test -z = -z; then echo yes; else echo no; fi yes This is parsed as a string comparison of -z and -z, since the check for the binary = operator occurs first. Without this change, the command

[U-Boot] [PATCH V4 03/12] fs: don't pass NULL dev_desc to most filesystems

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com FAT and ext4 expect that the passed in block device descriptor not be NULL. This causes problems on sandbox, where get_device_and_partition() succeeds for the host device, yet passes back a NULL device descriptor. Add special handling for this situation, so

[U-Boot] [PATCH V4 07/12] cmd_test: evaluate to false without any arguments

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This emulates bash: $ if test; then echo yes; else echo no; fi no Currently, the code sets expr = -1 in this case, which gets mapped to 0 (true) at the end of do_test() by the logical - shell exit code conversion. Signed-off-by: Stephen Warren

[U-Boot] [PATCH V4 10/12] sandbox: enable CONFIG_CMD_FS_GENERIC

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Since the generic ls command no longer segfaults sandbox, enable it. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- v4: No change. v3: New patch. --- include/configs/sandbox.h | 1 + 1 file changed, 1

[U-Boot] [PATCH V4 02/12] fs: implement infrastructure for an 'exists' function

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This could be used in scripts such as: if test -e mmc 0:1 /boot/boot.scr; then load mmc 0:1 ${scriptaddr} /boot/boot.scr source ${scriptaddr} fi rather than: if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then source ${scriptaddr} fi This

[U-Boot] [PATCH V4 08/12] cmd_test: implement -e test for file existence

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This is much like a regular shell's -e operator, except that it takes multiple arguments to specify the device type and device/partition ID in addition to the usual filename: if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi

[U-Boot] [PATCH V4 06/12] cmd_test: implement ! on sub-expressions

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Currently, ! can only be parsed as the first operator in an expression. This prevents the following from working: $ if test ! ! 1 -eq 1; then echo yes; else echo no; fi yes $ if test ! 1 -eq 2 -a ! 3 -eq 4; then echo yes; else echo no; fi yes Fix this by

Re: [U-Boot] [PATCH v2 4/9] kmp204x: implement workaround for A-006559

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: According to the errata, some bits of an undocumented register in the DCSR must be set for every core in order to avoid a possible data or instruction corruption. This is required for the 2.0 revision of the P2041 that should be used as soon

Re: [U-Boot] [PATCH v2 1/9] kmp204x: support for QRIO1 bootcounter

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: From: Rainer Boschung rainer.bosch...@keymile.com - make use of the QRIO1 32bit register at 0x20 as bootcounter register - check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read Signed-off-by: Rainer Boschung

[U-Boot] [PATCH V4 09/12] sandbox: implement exists() function

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This hooks into the generic file exists support added in an earlier patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- v4: No change. v3: *

[U-Boot] [PATCH V4 11/12] ext4: implement exists() for ext4fs

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This hooks into the generic file exists support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- v4: No change. v3: Invert return

[U-Boot] [PATCH V4 12/12] fat: implement exists() for FAT fs

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This hooks into the generic file exists support added in an earlier patch, and provides an implementation for the FAT filesystem. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org --- v4: No change. v3: * s/ext/fat/

Re: [U-Boot] [PATCH v2 2/9] kmp204x: introduce QRIO GPIO functions

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: The QRIO GPIO functions can be of general interest. They are thus added to a qrio.c and their prototype are available from kmp204x.h. The QRIO prst function are also included in this file, as well as the functions required for the I2C

Re: [U-Boot] [PATCH v2 6/9] kmp204x: update I2C field of RCW

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: On the previous HW revision (now unsupported), there was a need for external DMA signals and thus the I2C3/4 signals were used DMA1_DONE/ACK/REQ. These signals now are configured as GPIO[16:19]. Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v4] OMAP24xx I2C: Add support for set-speed

2014-02-03 Thread Hannes Petermaier
Adds support for set-speed on the OMAP24xx I2C Adapter. Changes to omap24_i2c_write(...) for polling ARDY Bit from IRQ-Status. Otherwise on a subsequent call the transfer of last byte from the predecessor is aborted and therefore lost. For exmaple when i2c_write(...) is followed by a

[U-Boot] [PATCH 2/2] unit-test: add lots of tests for the Hush 'test' command

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com I recently re-wrote cmd_test() to add new features. Add a bunch of unit- tests to make sure I didn't break anything. Suggested-by: Simon Glass s...@chromium.org Signed-off-by: Stephen Warren swar...@nvidia.com --- This patch depends on my 12-entry patch

Re: [U-Boot] [PATCH v2 5/9] kmp204x: add support for the kmcoge4 board

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: The kmcoge4 board is the product board derived from the kmlion1 prototype. The main difference between the 2 boards is that the kmcoge4 does not configure the Local Bus controller for LCS2. Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 1/2] unit-test: fix 'env default' invocation

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com env default -f doesn't work any more; replace it with env default -f -a. This avoids the following when running the ut command: do_ut_cmd: Testing commands env - environment handling commands Usage: env default [-f] -a - [forcibly] reset default

Re: [U-Boot] [PATCH v2 9/9] kmp204x: initial support for PCIe FPGA configuration

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: The PEXHC PCIe configuration mechanism ensures that the FPGA get configured at power-up. Since all the PCIe devices should be configured when the kernel start, u-boot has to take care that the FPGA gets configured also in other reset scenarios,

Re: [U-Boot] [PATCH v2 7/9] KM: add the KM_UBI_PART_BOOT_OPTS #define

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: This define can be used if the ubi boot partition (defined for all Keymile boards with KM_UBI_PARTITION_NAME_BOOT #define to ubi0) needs some additionnal boot options. This is the case for the kmp204x boards since u-boot does not support

Re: [U-Boot] [PATCH v2 8/9] kmp204x: enable support for SPANSION SPI NOR

2014-02-03 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: The new prototype and the final series was moved from Micron to Spansion to have a better reset sequence that is easier to support. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v2: None Applied to

Re: [U-Boot] [PATCH v4 3/9] kmp204x: I2C deblocking support

2014-02-03 Thread York Sun
On 02/02/2014 11:45 PM, Valentin Longchamp wrote: From: Rainer Boschung rainer.bosch...@keymile.com This patch adds support for using some GPIOs that are connected to the I2C bus to force the bus lines state and perform some bus deblocking sequences. The KM common deblocking algorithm

Re: [U-Boot] [PATCH][v2] driver/ifc:Change accessor function to take care of endianness

2014-02-03 Thread York Sun
On 01/17/2014 10:58 PM, Prabhakar Kushwaha wrote: IFC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of IFC IP. So update acessor functions with common IFC acessor functions to take care both type of endianness.

[U-Boot] [PATCH V4 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com do_test() currently uses strcmp() twice to determine which operator is present; once to determine how many arguments the operator needs, then a second time to actually decode the operator and implement it. Rewrite the code so that a table lookup is used to

Re: [U-Boot] [PATCH V3 04/12] cmd_test: use table lookup for parsing

2014-02-03 Thread Simon Glass
Hi Stephen, On 3 February 2014 13:19, Stephen Warren swar...@wwwdotorg.org wrote: On 01/31/2014 05:03 PM, Simon Glass wrote: Hi Stephen, On 27 January 2014 13:49, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com do_test() currently uses strcmp()

Re: [U-Boot] powerpc/usb: Enable dual phy for T1040

2014-02-03 Thread York
On 01/27/2014 01:51 AM, Nikhil Badola wrote: Define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE macro for enabling dual phy in t1040 Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com Applied to u-boot-mpc85xx master branch. York ___ U-Boot

[U-Boot] [PATCH V2] pci: mx6: Implement reset callback

2014-02-03 Thread Marek Vasut
Add a callback so that a board can implement it's own specific routine to toggle the port's #PERST line or #define a GPIO to do so. Signed-off-by: Marek Vasut ma...@denx.de --- drivers/pci/pcie_imx.c | 47 --- 1 file changed, 44 insertions(+), 3

Re: [U-Boot] [PATCH] pci: mx6: Implement reset callback

2014-02-03 Thread Eric Nelson
Hi Marek, On 02/03/2014 01:16 PM, Marek Vasut wrote: On Monday, February 03, 2014 at 08:57:30 PM, Eric Nelson wrote: [...] I like having this bit included, but do you need to attribute copyright for this block? 6.6.1. Conventional Reset Conventional Reset includes all reset mechanisms

[U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Tegra124 moved the CSITE block's base address. Fix U-Boot to use the correct address. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/include/asm/arch-tegra/tegra.h | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH v1 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-03 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- arch/arm/cpu/armv7/Makefile|

[U-Boot] [PATCH v1 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so support for some of these kona blocks is also provided here. These patches work on u-boot master as well as the

[U-Boot] [PATCH 4/4] ARM: tegra: simplify halt_avp()

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com In order to completely halt the AVP processor, we should simply write FLOW_MODE_STOP without any extra options that allow wakeup. Amend the code to do this. I believe that enabling FIQ_1 and IRQ_1 allow the CPU to be awoken by interrupts. We don't want

[U-Boot] [PATCH 1/4] ARM: tegra: move CONFIG_TEGRAnn

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com asm/arch-tegra/tegra.h needs to use CONFIG_TEGRA* to conditionalize some definitions, since some modules moved between generations. Move the definition of CONFIG_TEGRAnn to a header that's included earlier, so that it's set by the time tegra.h needs to use

[U-Boot] [PATCH 2/4] ARM: tegra: fix pmc_pwrgate_timer_mult register definition

2014-02-03 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Register pmc_pwrgate_timer_mult has a different layout on Tegra114 and Tegra124. Reflect this in pmc.h. Also, simply write the whole of the register in start_cpu() rather than doing a read-modify-write; the register is simple enough that the code can

[U-Boot] [PATCH v1 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-03 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae

[U-Boot] [PATCH v1 3/6] gpio: kona: Add Kona gpio driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tkry...@linaro.org --- drivers/gpio/Makefile|1 +

[U-Boot] [PATCH v1 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730

[U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 125

[U-Boot] [PATCH v1 6/6] board: bcm28155_ap: Add board files

2014-02-03 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87

Re: [U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Tom Warren
Nice catch, fortunately I don't see this base addr used anywhere (yet) in T124. -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Monday, February 03, 2014 2:03 PM To: u-boot@lists.denx.de; Simon Glass; Tom Warren; Stephen Warren Subject: [PATCH 3/4] ARM:

Re: [U-Boot] [PATCH 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-02-03 Thread Stephen Warren
On 01/24/2014 06:59 AM, Tom Rini wrote: On 01/24/2014 08:49 AM, Wolfgang Denk wrote: Dear Dennis Gilmore, In message 1390501358-4564-2-git-send-email-den...@ausil.us you wrote: Signed-off-by: Dennis Gilmore den...@ausil.us add any option for filesystem with sysboot uses generic load ?

Re: [U-Boot] [PATCH] README: document CONFIG_CMD_FS_GENERIC

2014-02-03 Thread Stephen Warren
On 01/24/2014 08:46 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com This enables generic filesystem commands such as load and ls, which automatically work with multiple filesystem types, without having to be told which is present, unlike e.g. ext2load, fatls. Are there any

Re: [U-Boot] [PATCH 2/2] config: add config_distro_defaults.h

2014-02-03 Thread Stephen Warren
On 01/24/2014 07:58 AM, Dennis Gilmore wrote: Hi Wolfgang, El Fri, 24 Jan 2014 14:50:10 +0100 Wolfgang Denk w...@denx.de escribió: Dear Dennis Gilmore, In message 1390501358-4564-3-git-send-email-den...@ausil.us you wrote: describe a set of default features that distros can rely on

Re: [U-Boot] [PATCH 3/4] ARM: tegra: fix NV_PA_CSITE_BASE for Tegra124

2014-02-03 Thread Stephen Warren
On 02/03/2014 02:18 PM, Tom Warren wrote: Nice catch, fortunately I don't see this base addr used anywhere (yet) in T124. It's used to define CSITE_CPU_DBG*_LAR, and those are used in code. (The internal Tegra simulator I'm running complains about the incorrect register accesses when booting

  1   2   >