[U-Boot] [PATCH v5] i2c: add Faraday FTI2C010 I2C controller support

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTI2C010 is a multi-function I2C controller which supports both master and slave mode. This patch simplily implements the master mode only. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Heiko Schocher h...@denx.de --- Changes for v5:

Re: [U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function

2013-05-08 Thread Sricharan R
Tom, On Wednesday 24 April 2013 04:11 PM, Sricharan R wrote: The save_boot_params function does not store the data in a always writable area. So the code is broken for a 'XIP' boot. This series corrects this by storing it in 'gd' and also adds a 'C' equivalent function for the same. The

[U-Boot] [PATCH] avr32: fix relocation address calculation

2013-05-08 Thread Andreas Bießmann
Commit 1865286466a5d0c7f2e3c37632da56556c838e9e (Introduce generic link section.h symbol files) changed the __bss_end symbol type from char[] to ulong. This led to wrong relocation parameters which ended up in a not working u-boot. Unfortunately this is not clear to see cause due to RAM aliasing

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-08 Thread Wolfgang Denk
Dear Dirk, In message 58ff5023adcbf08481bc2707b0a70...@gdsys.cc you wrote: in my example we have four FPGAs. One is memory mapped while the other three are not. They all have the same register interface which is mapped by struct ihs_fpga { u16 reflection_low; u16 versions;

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-08 Thread Dirk Eibach
Hi Wolfgang, thanks for investing so much time into this. It is really appreciated. Am 08.05.2013 12:13, schrieb Wolfgang Denk: Dear Dirk, In message 58ff5023adcbf08481bc2707b0a70...@gdsys.cc you wrote: in my example we have four FPGAs. One is memory mapped while the other three are not.

Re: [U-Boot] [PATCH 1/3] net: macb: using AT91FAMILY replace #ifdeferry

2013-05-08 Thread Andreas Bießmann
On 04/24/2013 09:59 AM, Bo Shen wrote: Using CONFIG_AT91FAMILY replace #ifdeferry for atmel SoC Signed-off-by: Bo Shen voice.s...@atmel.com Acked-by: Andreas Bießmann andreas.de...@googlemail.com --- drivers/net/macb.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-)

[U-Boot] [PATCH] powerpc/p1022ds: boot from SD card/SPI flash with SPL

2013-05-08 Thread ying.zhang
From: Ying Zhang b40...@freescale.com This patch introduces SPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to it to begin execution. The SPL's size is sizeable, the maximum

Re: [U-Boot] Pull request: u-boot-nds32

2013-05-08 Thread Tom Rini
On Wed, May 08, 2013 at 12:49:57PM +0800, Macpaul Lin wrote: Hi Tom, Please pull the following patch from u-boot-nds32 into your tree. Thanks! The following changes since commit 7e7501f4bb0d550fbc6960e7e2fb2bc84d9795cf: Merge branch 'master' of git://www.denx.de/git/u-boot-mmc

[U-Boot] Patch for RAMBOOT

2013-05-08 Thread sadashiva reddy
Hi, I am using AMCC PPC440Gx processor and using reference u-boot code of taishan board. Is there any patch to convert the u-boot code instead of building the boot loader for FLASH boot to RAM BOOT. Because I want to load u-boot directly to SDRAM location instead of loading FLASH. Why because

Re: [U-Boot] [PATCH v4 1/2] usb: ehci: add Faraday USB 2.0 EHCI support

2013-05-08 Thread Marek Vasut
Dear Kuo-Jung Su, 2013/5/8 Marek Vasut ma...@denx.de: Dear Kuo-Jung Su, [...] --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -419,6 +419,14 @@ static int usb_hub_configure(struct usb_device *dev) portstatus = le16_to_cpu(portsts-wPortStatus);

[U-Boot] bug regarding ext4 filesystem

2013-05-08 Thread ScottyYi
Hi , Ext4load command fail to load large file. S3 # ext4load mmc 0:1 0x600 system.img invalid extent block ** Unable to read file system.img ** S3 # ext4ls mmc 0:1 DIR 4096 . DIR 4096 .. 1015 boot_script.uimg 4314 data.img 177477960

Re: [U-Boot] Patch for RAMBOOT

2013-05-08 Thread Stefan Roese
On 05/08/2013 01:51 PM, sadashiva reddy wrote: Hi, I am using AMCC PPC440Gx processor and using reference u-boot code of taishan board. Is there any patch to convert the u-boot code instead of building the boot loader for FLASH boot to RAM BOOT. RAM booting is currently only support for

[U-Boot] Reading uninitialized SDRAM values on OMAP4460 (PandaBoard)

2013-05-08 Thread An Schall
Hi there, my task is to output the uninitialized SDRAM values over UART during device startup. Therefore, I first searched for the code that handles the SDRAM initialization since I have to put my code in front of it. After digging through the code and reading some mailing list entries, I guess

[U-Boot] Mircron MT46* SDRAM support

2013-05-08 Thread Karolis B.
Hello, Is Micron MT46H128M16LFB7-5IT ( http://www.micron.com/parts/dram/mobile-ddr-sdram/mt46h128m16lfb7-5-it?source=ps) supported by U-Boot? I am porting U-Boot to the the custom board based on am335x_evm using U-Boot 2013.01.01 (found in the latest am335x psp) and it seems that sdram is not

Re: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses

2013-05-08 Thread Gabbasov, Andrew
From: Gabbasov, Andrew Sent: Monday, April 29, 2013 13:40 To: Marek Vasut; u-boot@lists.denx.de Cc: Albert ARIBAUD; Tom Rini Subject: RE: [U-Boot] [PATCH] ARM: cfi_flash: Avoid generation of unaligned accesses [ skipped ] Hi Marek, Thank you for your response. I was thinking about

Re: [U-Boot] [PATCH v2 06/10] powerpc/ppc4xx: Use generic FPGA accessors on all gdsys 405ep/ex boards

2013-05-08 Thread Wolfgang Denk
Dear Dirk, In message 913a7e8badaaed06605fdf68faace...@gdsys.cc you wrote: thanks for investing so much time into this. It is really appreciated. Well, just rejecting a patch without being able to give recommendations _how_ to improve it is not exactly nice. Sometimes it happens (like due to

Re: [U-Boot] [PATCH 0/3] Tegra: USB: EHCI: add Tegra30 compatible support

2013-05-08 Thread Stephen Warren
On 05/03/2013 09:02 AM, Stephen Warren wrote: On 04/29/2013 03:21 AM, Jim Lin wrote: Tegra114 USB EHCI is compatible with Tegra30 USB EHCI except: 1. Port Reset - Tegra30 takes 55ms, Tegra114 takes 50 ms to finish. 2. PLL parameters. Jim Lin (3): ARM: Tegra: FDT: Add USB support for

Re: [U-Boot] [PATCH] ARM: cfi_flash: Fix unaligned accesses to cfi_qry structure

2013-05-08 Thread Marek Vasut
Dear Andrew Gabbasov, Packed structure cfi_qry contains unaligned 16- and 32-bits members, accessing which causes problems when cfi_flash driver is compiled with -munaligned-access option: flash initialization hangs, probably due to data error. This fix converts 16- and 32-bit members to

Re: [U-Boot] [PATCH] ARM: cfi_flash: Fix unaligned accesses to cfi_qry structure

2013-05-08 Thread Gabbasov, Andrew
Hi Marek, From: Marek Vasut [ma...@denx.de] Sent: Wednesday, May 08, 2013 21:26 To: u-boot@lists.denx.de Cc: Gabbasov, Andrew; Tom Rini; Albert Aribaud Subject: Re: [U-Boot] [PATCH] ARM: cfi_flash: Fix unaligned accesses to cfi_qry structure Dear Andrew Gabbasov, Packed structure

Re: [U-Boot] [PATCH V2 4/5] ARM: OMAP: Cleanup boot parameters usage

2013-05-08 Thread Tom Rini
On Wed, Apr 24, 2013 at 04:11:24PM +0530, Sricharan R wrote: The boot parameters are read from individual variables assigned for each of them. This been corrected and now they are stored as a part of the global data 'gd' structure. So read them from 'gd' instead. Signed-off-by: Sricharan R

Re: [U-Boot] [PATCH V2 5/5] ARM: OMAP: Add arch_cpu_init function

2013-05-08 Thread Tom Rini
On Wed, Apr 24, 2013 at 04:11:25PM +0530, Sricharan R wrote: The boot parameters passed from SPL to UBOOT must be saved as a part of uboot's gd data as early as possible, before we will inadvertently overwrite it. So adding a arch_cpu_init for the required Socs to save it. Signed-off-by:

Re: [U-Boot] [PATCH V2 0/5] ARM: OMAP: Cleanup save_boot_params function

2013-05-08 Thread Tom Rini
On Wed, May 08, 2013 at 02:50:14PM +0530, Sricharan R wrote: Tom, On Wednesday 24 April 2013 04:11 PM, Sricharan R wrote: The save_boot_params function does not store the data in a always writable area. So the code is broken for a 'XIP' boot. This series corrects this by storing it in

[U-Boot] [PATCH v3 01/12] mkimage: Put FIT loading in function and tidy error handling

2013-05-08 Thread Simon Glass
The fit_handle_file() function is quite long - split out the part that loads and checks a FIT into its own function. We will use this function for storing public keys into a destination FDT file. The error handling is currently a bit repetitive - tidy it. Signed-off-by: Simon Glass

[U-Boot] [PATCH v3 04/12] image: Split libfdt code into image-fdt.c

2013-05-08 Thread Simon Glass
The image file is still very large, and some of the code is only used when libfdt is in use. Move this code into a new file. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Fix checkpatch checks about parenthesis alignment - Fix checkpatch warnings about

[U-Boot] [PATCH v3 10/12] sparc: Use image_setup_linux() instead of local code

2013-05-08 Thread Simon Glass
Sparc only really sets up the ramdisk, but we should still use image_setup_linux() so that setup is common across all architectures that use the FDT. Cover-letter Introduce a common image_setup_linux() function This series continues the work to tidy up the image code. Each architecture has its

[U-Boot] [PATCH v3 02/12] image: Remove remaining #ifdefs in image-fit.c

2013-05-08 Thread Simon Glass
There are only two left. One is unnecessary and the other can be moved to the header file. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Add new patch to remove #ifdefs in image-fit.c common/image-fit.c | 9 ++--- common/image.c | 7 +--

[U-Boot] [PATCH v3 07/12] arm: Use image_setup_linux() instead of local code

2013-05-08 Thread Simon Glass
Use the common FDT setup function that is now available in image. Move the FDT-specific code to a new bootm-fdt.c and remove unused headers from bootm.c. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/arm/lib/Makefile| 1 +

[U-Boot] [PATCH v3 03/12] image: Add CONFIG_FIT_SPL_PRINT to control FIT image printing in SPL

2013-05-08 Thread Simon Glass
This code is very large, and in SPL it isn't always useful to print out image information (in fact there might not even be a console active). So disable this feature unless this option is set. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Add new patch to

[U-Boot] [PATCH v3 05/12] image: Add device tree setup to image library

2013-05-08 Thread Simon Glass
This seems to be a common function for several architectures, so create a common function rather than duplicating the code in each arch. Also make an attempt to avoid introducing #ifdefs in the new code, partly by removing useless #ifdefs around function declarations in the image.h header.

[U-Boot] [PATCH v3 12/12] buildman: Produce a sensible error message when branch is missing

2013-05-08 Thread Simon Glass
Rather than a backtrace, produce a nice error message when an invalid branch is provided to buildman. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None tools/buildman/control.py | 4 tools/patman/gitutil.py | 21 +++-- 2 files

[U-Boot] [PATCH v3 06/12] arm: Refactor bootm to reduce #ifdefs

2013-05-08 Thread Simon Glass
With fewer #ifdefs the code is more readable and more of the code is compiled for all boards. Add defines in the header file to control what features are enabled, and then use if() instead of #ifdef. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: - Fix

[U-Boot] [PATCH v3 09/12] m68k: Use image_setup_linux() instead of local code

2013-05-08 Thread Simon Glass
Rather than having similar code in m68k, use image_setup_linux() which should be common across all architectures that use the FDT. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/m68k/lib/bootm.c | 15 +++ 1 file changed, 3

[U-Boot] [PATCH v3 11/12] buildman: Allow conflicting tags to avoid spurious errors

2013-05-08 Thread Simon Glass
Conflicting tags can prevent buildman from building two series which exist one after the other in a branch. There is no reason not to allow this sort of workflow with buildman, so ignore conflicting tags in buildman. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in

[U-Boot] [PATCH v3 08/12] powerpc: Use image_setup_linux() instead of local code

2013-05-08 Thread Simon Glass
Rather than having similar code in powerpc, use image_setup_linux() which should be common across all architectures that use the FDT. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v3: None Changes in v2: None arch/powerpc/lib/bootm.c | 84

[U-Boot] [PATCHv2 1/6] spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

2013-05-08 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index

[U-Boot] [PATCHv2 2/6] spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out

2013-05-08 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 0c50657..fac6f2d

[U-Boot] [PATCHv2 5/6] spl_mmc: add Falcon mode support for raw variant

2013-05-08 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from sector CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR and CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS of kernel argument parameters starting from sector

[U-Boot] [PATCHv2 3/6] spl_mmc: add Falcon mode support for FAT variant

2013-05-08 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot. Signed-off-by: Peter

[U-Boot] [PATCHv2 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-08 Thread Peter Korsgaard
Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so move it past u-boot instead. For raw mmc, we store the kernel parameter area in the free space after the MBR (if

[U-Boot] [PATCHv2 0/6] Falcon boot mode for spl_mmc

2013-05-08 Thread Peter Korsgaard
This patch series adds falcon boot mode for MMC (raw and FAT), similar to the existing nand support. As an example, it adds falcon boot support for the am335x evm board, which is the platform that has been used to test the series. Changes since V1: - Adjusted am335x parameters according to Tom

[U-Boot] [PATCHv2 4/6] spl_mmc: mmc_load_image_raw(): Add sector argument

2013-05-08 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com --- drivers/mmc/spl_mmc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index d250b40..d710c0d 100644 ---

Re: [U-Boot] [PATCHv2 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-08 Thread Tom Rini
On Wed, May 08, 2013 at 09:09:56PM +0200, Peter Korsgaard wrote: Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so move it past u-boot instead. For raw mmc, we

Re: [U-Boot] [PATCHv2 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat) and nand

2013-05-08 Thread Peter Korsgaard
Tom == Tom Rini tr...@ti.com writes: Hi, This also enables the spl command in the full u-boot so the kernel parameter area snapshot can be created. Signed-off-by: Peter Korsgaard peter.korsga...@barco.com Tom You forgot to drop the RFC part :) Argh, indeed. +/* nand */ +#define

[U-Boot] representing multi-socket CPU platform in .dts

2013-05-08 Thread Curt Brune
Hi, What does u-boot expect to find in the device tree for a system with multiple CPU sockets (not multi-core, but multiple physical CPUs) ? For example if you have a two socket system, with a dual-core CPU per socket would there just be 4 nodes in cpus {} with reg = 0, 1, 2, 3 or is there

[U-Boot] [PATCH 1/6] am335x_evm: Drop useless CONFIG_ENV_IS_NOWHERE

2013-05-08 Thread Tom Rini
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define of NOWHERE. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h |4 1 file changed, 4 deletions(-) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index ef00306..945ec09

[U-Boot] [PATCH 3/6] am335x_evm: Only set CONFIG_NAND when !CONFIG_SPI_BOOT

2013-05-08 Thread Tom Rini
Due to hardware design, we can't have NAND present (as we know of NAND today) when booting from SPI, so disable NAND then as that simplifies logic. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 2/6] am335x_evm: Add MTDPARTS info for SPI flash

2013-05-08 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 945ec09..004a06a 100644 --- a/include/configs/am335x_evm.h +++ b/include/configs/am335x_evm.h @@

[U-Boot] [PATCH 4/6] am335x_evm: Rework board_is_foo() checks

2013-05-08 Thread Tom Rini
We rework the various board_is_foo() checks to take a pointer to struct am335x_baseboard_id rather than using a local copy in board.c. This allows us to make use of the same checks in mux.c as well as fixing problems when this code could be running from read-only memory. Signed-off-by: Tom Rini

[U-Boot] [PATCH 5/6] am335x_evm:Add support for the NOR module on the memory cape

2013-05-08 Thread Tom Rini
From: Steve Kipisz s-kipi...@ti.com This patch adds support for the NOR module that attaches to the memory cape for a Beaglebone board. This does not add booting support; only support so that you can boot from SD/MMC and see the NOR module so that it can be programmed. Signed-off-by: Steve

[U-Boot] [PATCH 6/6] am335x_evm: Add support to boot from NOR.

2013-05-08 Thread Tom Rini
From: Steve Kipisz s-kipi...@ti.com NOR requires that s_init be within the first 4KiB of the image so that we can perform the rest of the required pinmuxing to talk with the rest of NOR that we are found on. When NOR_BOOT is set we save our environment in NOR at 512KiB and a redundant copy at

Re: [U-Boot] [Patch v2, batch 2 15/23] T4/USB: Add USB 2.0 UTMI dual phy support

2013-05-08 Thread Andy Fleming
On Mon, Mar 25, 2013 at 12:33 PM, York Sun york...@freescale.com wrote: From: Roy Zang tie-fei.z...@freescale.com T4240 internal UTMI phy is different comparing to previous UTMI PHY in P3041. This patch adds USB 2.0 UTMI Dual PHY new memory map and enable it for T4240. The phy timing is

Re: [U-Boot] [PATCH] powerpc/p1022ds: boot from SD card/SPI flash with SPL

2013-05-08 Thread Scott Wood
On 05/08/2013 05:04:23 AM, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com This patch introduces SPL to enable a loader stub that runs in the L2 SRAM, after being loaded by the code from the internal on-chip ROM. It loads the final uboot image into DDR, then jump to

Re: [U-Boot] [Patch v2, batch 2 17/23] powerpc/85xx: add missing QMAN frequency calculation

2013-05-08 Thread Fleming Andy-AFLEMING
Ah, ok, makes sense. On May 7, 2013, at 18:18, sun york-R58495 r58...@freescale.com wrote: On 05/07/2013 04:04 PM, Andy Fleming wrote: On Mon, Mar 25, 2013 at 12:33 PM, York Sun york...@freescale.com mailto:york...@freescale.com wrote: From: Shaohui Xie shaohui@freescale.com

Re: [U-Boot] [PATCH v4] nand: add Faraday FTNANDC021 NAND controller support

2013-05-08 Thread Scott Wood
On 05/07/2013 01:33:11 AM, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to FTNANDC021 would

Re: [U-Boot] [PATCH v4] nand: add Faraday FTNANDC021 NAND controller support

2013-05-08 Thread Kuo-Jung Su
2013/5/9 Scott Wood scottw...@freescale.com: On 05/07/2013 01:33:11 AM, Kuo-Jung Su wrote: From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example:

[U-Boot] [PATCH v5] nand: add Faraday FTNANDC021 NAND controller support

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to FTNANDC021 would result in a page write + a read status operation.

Re: [U-Boot] [PATCH v4 1/2] usb: ehci: add Faraday USB 2.0 EHCI support

2013-05-08 Thread Kuo-Jung Su
2013/5/8 Marek Vasut ma...@denx.de: Dear Kuo-Jung Su, 2013/5/8 Marek Vasut ma...@denx.de: Dear Kuo-Jung Su, [...] --- a/common/usb_hub.c +++ b/common/usb_hub.c @@ -419,6 +419,14 @@ static int usb_hub_configure(struct usb_device *dev) portstatus =

Re: [U-Boot] u-boot UBI support

2013-05-08 Thread Paul B. Henson
On Tue, May 07, 2013 at 11:01:35PM -0400, Tom Rini wrote: All changes do, but you can just reply to this thread. Ok, here it is again, with the tag. From 532cc340712c0542526be601c3f9f886e7054e5c Mon Sep 17 00:00:00 2001 From: Paul B. Henson hen...@acm.org Date: Sat, 4 May 2013 17:44:43 -0700

[U-Boot] [PATCH v5 0/4] usb: add Faraday EHCI Gadget support

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch adds support to both Faraday FUSBH200 and FOTG210, the differences between Faraday EHCI and standard EHCI are listed bellow: 1. The PORTSC starts at 0x30 instead of 0x44. 2. The CONFIGFLAG(0x40) is not only un-implemented, and also has its

[U-Boot] [PATCH v5 1/4] usb: hub: make minimum power-on delay configurable

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch makes the minimum power-on delay for USB HUB become configurable. The original design waits at least 100 msec here, but some EHCI controlers(e.g. Faraday EHCI) are known to require much longer delay interval. NOTE: The minimal delay is still

[U-Boot] [PATCH v5 2/4] usb: ehci: add weak-aliased functions to portsc tdi

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com There is at least one non-EHCI compliant controller (i.e. Faraday EHCI) known to implement a non-standard TDI stuff. Futhermore, it not only leave reserved and CONFIGFLAG registers un-implemented but also has their address spaces removed. And thus, we

[U-Boot] [PATCH v5 3/4] usb: ehci: add Faraday USB 2.0 EHCI support

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com This patch adds support to both Faraday FUSBH200 and FOTG210, the differences between Faraday EHCI and standard EHCI are listed bellow: 1. The PORTSC starts at 0x30 instead of 0x44. 2. The CONFIGFLAG(0x40) is not only un-implemented, and also has its

Re: [U-Boot] [PATCH v2] at91sam9x5ek: Pass serial and revision tags to Linux

2013-05-08 Thread Bo Shen
Hi Julius, On 5/3/2013 18:54, Julius Hemanth P wrote: This code is small snippet from patch ftp://ftp.linux4sam.org/pub/uboot/u-boot-v2010.06/u-boot-5series_1.0.patch Bug:- I think this should not report bug, it should for compatible with old kernel (only for Linux 2.6.39 released on

[U-Boot] [PATCH v5 4/4] usb: gadget: add Faraday FOTG210 USB gadget support

2013-05-08 Thread Kuo-Jung Su
From: Kuo-Jung Su dant...@faraday-tech.com The Faraday FOTG210 is an OTG chip which could operate as either an EHCI Host or a USB Device as a time. Signed-off-by: Kuo-Jung Su dant...@faraday-tech.com CC: Marek Vasut ma...@denx.de --- Changes for v5: - Coding Style cleanup. - Drop postfix

[U-Boot] Pull request: u-boot-blackfin

2013-05-08 Thread Sonic Zhang
Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. Thanks Sonic The following changes since commit fe8e4dbad1d31c452af3fbabba21e72b210381b3: nds32: Use sections header to obtain link symbols (2013-05-08 12:38:10 +0800) are available in the git repository at:

Re: [U-Boot] [PATCH] EXYNOS: SPI: Support word transfers

2013-05-08 Thread Simon Glass
On Mon, Mar 25, 2013 at 1:56 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: Since SPI register access is so expensive, it is worth transferring data a word at a time if we can. This complicates the driver unfortunately. Use the byte-swapping feature to avoid having to convert to/from

Re: [U-Boot] [PATCH 2/2] ARM: bcm2835: add simplefb DT node during bootz/m

2013-05-08 Thread Simon Glass
On Tue, May 7, 2013 at 10:21 PM, Stephen Warren swar...@wwwdotorg.org wrote: Add a DT simple-framebuffer node to DT when booting the Linux kernel. This will allow the kernel to inherit the framebuffer configuration from U-Boot, and display a graphical boot console, and even run a full SW-

Re: [U-Boot] [PATCH 1/2] lcd: add functions to setup up simplefb device tree

2013-05-08 Thread Simon Glass
Hi Stephen, On Tue, May 7, 2013 at 10:21 PM, Stephen Warren swar...@wwwdotorg.org wrote: simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement

[U-Boot] [PATCH v2 1/2] spi: mxc_spi: Fix pre and post divider calculation

2013-05-08 Thread Dirk Behme
Fix two issues with the calculation of pre_div and post_div: 1. pre_div: While the calculation of pre_div looks correct, to set the CONREG[15-12] bits pre_div needs to be decremented by 1: The i.MX 6Dual/6Quad Applications Processor Reference Manual (IMX6DQRM Rev. 0, 11/2012) states:

[U-Boot] [PATCH 2/2] spi: mxc_spi: Update pre and post divider algorithm

2013-05-08 Thread Dirk Behme
The spi clock divisor is of the form x * (2**y), or x y, where x is 1 to 16, and y is 0 to 15. Note the similarity with floating point numbers. Convert the desired divisor to the smallest number which is = desired divisor, and can be represented in this form. The previous algorithm chose a