Re: [U-Boot] How do ARM platform initialize DDR?

2013-09-20 Thread Mj Embd
Hi York, I was thinking about your problem and this could be a solution mpc85xx uses a family of ddr controllers. I believe they would be migrated to LayerScape, Freescale has also i.mx4/5/6 series and coming i.mx8, that series uses/might use another ddr controller Option1 As you suggested

Re: [U-Boot] [PATCH 05/12 V3] Exynos5420: Modify TZPC init to support 5420

2013-09-20 Thread Rajeshwari Birje
Hi Simon Thank you for coments. Regards, Rajeshwari Shinde On Thu, Sep 19, 2013 at 11:27 AM, Simon Glass s...@chromium.org wrote: Hi Rajeshwari, On Wed, Sep 11, 2013 at 4:01 AM, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: From: Akshay Saraswat aksha...@samsung.com

[U-Boot] [PATCH v6 (cosmetic) 2/5] mtd: nand: omap: optimize chip-ecc.hwctl() for H/W ECC schemes

2013-09-20 Thread Pekon Gupta
chip-ecc.hwctl() is used for preparing the H/W controller before read/write NAND accesses (like assigning data-buf, enabling ECC scheme configs, etc.) Though all ECC schemes in OMAP NAND driver use GPMC controller for generating ECC syndrome (for both Read/Write accesses). But but in current code

[U-Boot] [PATCH v6 (cosmetic) 1/5] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-09-20 Thread Pekon Gupta
BCH8_ECC scheme implemented in omap_gpmc.c driver has following favours +---+-+-+ |ECC Scheme | ECC Calculation | Error Detection | +---+-+-+

[U-Boot] [PATCH v6 (cosmetic) 3/5] mtd: nand: omap: optimize chip-ecc.calculate() for H/W ECC schemes

2013-09-20 Thread Pekon Gupta
chip-ecc.calculate() is used for calculating and fetching of ECC syndrome by processing the data passed during Read/Write accesses. All H/W based ECC schemes use GPMC controller to calculate ECC syndrome. But each BCHx_ECC scheme has its own implemetation of post-processing and fetching ECC

[U-Boot] [PATCH v6 (cosmetic) 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-09-20 Thread Pekon Gupta
*changes in v6* [PATCH 1/5] incorporated feedbacks from Scott Wood scottw...@freescale.com - renamed CONFIG_SYS_NAND_ECCSCHEME to CONFIG_NAND_OMAP_ECCSCHEME - updated omap_select_ecc_scheme() to handle error conditions without depending on caller. - renamed

[U-Boot] [PATCH v6 (cosmetic) 4/5] mtd: nand: omap: optimized chip-ecc.correct() for H/W ECC schemes

2013-09-20 Thread Pekon Gupta
chip-ecc.correct() is used for detecting and correcting bit-flips during read operations. In omap-nand driver it implemented as: (a) omap_correct_data(): for h/w based ECC_HAM1 scheme (b) omap_correct_data_bch() + CONFIG_NAND_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW for ECC_BCH8 scheme using

[U-Boot] [PATCH v6 (cosmetic) 5/5] board/ti/am335x/README: update for NAND boot

2013-09-20 Thread Pekon Gupta
NAND boot mode on AM335x EVM has been verified, and steps to use it has been documented and update in this README Signed-off-by: Pekon Gupta pe...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk --- board/ti/am335x/README | 53 ++ 1 file

Re: [U-Boot] [PATCH V4 01/17] usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, i.mx6 has 1 otg controller, and 3 host ports. So, CONFIG_USB_MAX_CONTROLLER_COUNT can be greater than 1 even though only 1 device mode controller is supported. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com The problem is, will the 3 additional ports still

Re: [U-Boot] [PATCH V4 02/17] usb: ehci-mx6: add support for host mode otg port

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, Previously, only host1 was supported using an index of 0. Now, otg has index 0, host1 is 1, host2 is 2, host3 is 3. Since OTG requires usbmode to be set after reset, I added a weak function ehci_hcd_init_after_reset to handle this, and removed it from ehci_hcd_init. I also

Re: [U-Boot] [PATCH V4 03/17] usb: gadget: ether set wMaxPacketSize

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, set wMaxPacketSize for full speed descriptors fs_source_desc, fs_sink_desc to 64. Full-speed bulk endpoint can have a maximum packet size of 8, 16, 32, or 64 bytes, so choice 64. The hs_source_desc, hs_sink_desc, already have their wMaxPacketSize set to 512. That is the

Re: [U-Boot] [PATCH V4 04/17] usb: gadget: ether: return error from rx_submit if no request

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, This prevents a crash if tftpboot is given a bad filename. rx_req will be released by eth_reset_config which is called by eth_disconnect, which is called using the .disconnect member of usb_gadget_driver by mv_pullup in mv_udc which is called using the .pullup member of

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- v4: updated commit message removed ifdef UDC_BULK_HS_PACKET_SIZE since 512 is the only legal value, it shouldn't be overridden.

Re: [U-Boot] [PATCH V4 10/17] usb: gadget: mv_udc: optimize bounce

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, Only perform one copy, either in the bounce routine for IN transfers, or the debounce rtn for OUT transfer. On out transfers, only copy the number of bytes received from the bounce buffer Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- v4: no change

[U-Boot] [PATCH] Tegra114: Fix PLLX M, N, P init settings

2013-09-20 Thread Thierry Reding
From: Jimmy Zhang jimmzh...@nvidia.com The M, N and P width have been changed from Tegra30. The maximum value for N is limited to 255. So, the tegra_pll_x_table for Tegra114 should be set accordingly. Signed-off-by: Jimmy Zhang jimmzh...@nvidia.com Reviewed-by: Tom Warren twar...@nvidia.com

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-20 Thread Thierry Reding
On Wed, Sep 04, 2013 at 11:59:44AM -0600, Stephen Warren wrote: On 09/04/2013 07:00 AM, Alban Bedel wrote: Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. CC'ing the Tegra maintainer would be helpful (Tom Warren; I CC'd him here) diff --git a/arch/arm/cpu/tegra-common/ap.c

[U-Boot] [PATCH V6 0/3] Introduce Samsung's new board Trats2

2013-09-20 Thread Piotr Wilczek
This patchset add support for a new Samsung board Trats2. Multi i2c file is updated for third soft I2C adapter for Trats2 board Battery support is added for Trats2. This patchset depends on: http://patchwork.ozlabs.org/patch/245307/ Changes in v6: - fixed build issue for other board. Changes in

[U-Boot] [PATCH V6 1/3] power:battery: add battery support for Trats2 board

2013-09-20 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes in v6: none Changes in v5: none Changes in v4: none Changes in v3: none Changes in v2: none drivers/power/battery/Makefile |1 + drivers/power/battery/bat_trats2.c | 65

[U-Boot] [PATCH V6 2/3] samsung:common:i2c: add definions for third soft I2C adapter for Trats2 board

2013-09-20 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes in v6: fixed build iss for other board Changes in v5: updated for new i2c framework Changes in v4: none Changes in v3: none Changes in

[U-Boot] [PATCH V6 3/3] samsung: trats2: add support for new board Trats2

2013-09-20 Thread Piotr Wilczek
This patch add support for a new Samsung board Trats2. 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 in v6: - none Changes in v5: - updated Maintainer entry - removed direct access to

[U-Boot] [PATCH 2/2] image: Only relocate ramdisk when necessary

2013-09-20 Thread Thierry Reding
If a ramdisk has been loaded to low memory to begin with, there's no need to relocate it. Signed-off-by: Thierry Reding tred...@nvidia.com --- common/image.c | 12 1 file changed, 12 insertions(+) diff --git a/common/image.c b/common/image.c index 47336f2..d19c0e6 100644 ---

[U-Boot] [PATCH 1/2] image: Don't relocate ramdisk to highmem

2013-09-20 Thread Thierry Reding
The Linux kernel cannot unpack a ramdisk that's stored in high memory. Unless the initrd_high environment variable is explicitly set, abide by that restriction using the getenv_bootm_low() and getenv_bootm_mapsize() helpers. Signed-off-by: Thierry Reding tred...@nvidia.com --- Changes in v2: -

Re: [U-Boot] [PATCH] mx6sabresd: Fix the fdt file for the mx6dl version

2013-09-20 Thread Stefano Babic
Hi Eric, On 18/09/2013 15:48, Eric Nelson wrote: This allows the boot script to produce the DTB name as shown here: https://github.com/boundarydevices/u-boot-imx6/blob/staging/board/boundary/nitrogen6x/6x_bootscript.txt#L72 If/when you move to a single binary for DQ/DL, you won't

Re: [U-Boot] [PATCH] mx6sabresd: Fix the fdt file for the mx6dl version

2013-09-20 Thread Stefano Babic
At least for the upcoming 2013.10, it would be nice to have my original patch of this thread applied for sabresd though. Agree. I will merge it, and we can then discuss for improvements. Regards, Stefano -- = DENX

Re: [U-Boot] [PATCH v6 (cosmetic) 5/5] board/ti/am335x/README: update for NAND boot

2013-09-20 Thread Tom Rini
On Fri, Sep 20, 2013 at 03:10:59PM +0530, Pekon Gupta wrote: NAND boot mode on AM335x EVM has been verified, and steps to use it has been documented and update in this README Signed-off-by: Pekon Gupta pe...@ti.com Acked-by: Peter Korsgaard jac...@sunsite.dk --- board/ti/am335x/README |

[U-Boot] [PATCH] pci: Properly configure prefetchable memory region

2013-09-20 Thread Thierry Reding
Forcibly set hose-pci_prefetch to NULL to make sure it will be setup. This will help if for any reason callers didn't make sure themselves to NULL the field. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/pci/pci_auto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [U-Boot] [PATCH] ARM: arch-mx6: fix PLL2_PFD2_FREQ

2013-09-20 Thread Stefano Babic
On 11/09/2013 15:30, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de according to the manual frequency of PLL2 PFD2 is 396.000.000 instead of 400.000.000 Signed-off-by: Markus Niebel markus.nie...@tqs.de --- arch/arm/include/asm/arch-mx6/crm_regs.h |2 +- 1 file

[U-Boot] [PATCH 2/4] net: rtl8169: Improve cache maintenance

2013-09-20 Thread Thierry Reding
Instead of directly calling the low-level invalidate_dcache_range() and flush_cache() functions, provide thin wrappers that take into account alignment requirements. While at it, fix a case where the cache was flushed but should have been invalidated, two cases where the buffer data was flushed

[U-Boot] [PATCH 1/4] net: rtl8169: Fix format string

2013-09-20 Thread Thierry Reding
currticks() is defined as get_timer(0), which returns an unsigned long, so use %lu instead of %d to print the result. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/net/rtl8169.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/rtl8169.c

[U-Boot] [PATCH 4/4] net: rtl8169: Add support for RTL8168evl/8111evl

2013-09-20 Thread Thierry Reding
This chip is compatible with other RTL8168 chips and can be found on the NVIDIA Cardhu and Beaver boards. Signed-off-by: Thierry Reding tred...@nvidia.com --- drivers/net/rtl8169.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index

[U-Boot] [PATCH 3/4] net: rtl8169: Add support for RTL8168d/8111d

2013-09-20 Thread Thierry Reding
This chip is compatible with the existing driver, except that it uses BAR2 instead of BAR1 for the I/O memory region. Using this patch I can use the PCIe ethernet interface on the CompuLab Trimslice to boot from the network. Signed-off-by: Thierry Reding tred...@nvidia.com ---

[U-Boot] [PATCH] ARM: mxs: Add PPC-AG BG0900 board

2013-09-20 Thread Marek Vasut
This board supports FEC Ethernet, SPI NOR and NAND flash. Signed-off-by: Marek Vasut ma...@denx.de Cc: Stefano Babic sba...@denx.de Cc: Christoph Baumann c.baum...@ppc-ag.de --- board/ppcag/bg0900/Makefile | 31 ++ board/ppcag/bg0900/bg0900.c | 86 ++

Re: [U-Boot] [PATCH] mx6sabresd: Fix the fdt file for the mx6dl version

2013-09-20 Thread Eric Nelson
Thanks, Stefano, On 09/20/2013 06:43 AM, Stefano Babic wrote: Hi Eric, On 18/09/2013 15:48, Eric Nelson wrote: This allows the boot script to produce the DTB name as shown here: https://github.com/boundarydevices/u-boot-imx6/blob/staging/board/boundary/nitrogen6x/6x_bootscript.txt#L72

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

2013-09-20 Thread Tom Rini
On Tue, Sep 17, 2013 at 08:11:30PM +0300, Pantelis Antoniou wrote: Hi Tom, The following changes since commit 46ef4faed18196472eb95216b2f74c1397ecf024: Prepare v2013.10-rc3 (2013-09-16 20:08:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master

Re: [U-Boot] [PATCH] ARM: arch-mx6: fix PLL2_PFD2_FREQ

2013-09-20 Thread Pierre Aubert
Stefano Babic wrote On 11/09/2013 15:30, Markus Niebel wrote: From: Markus Niebel lt; Markus.Niebel@ gt; according to the manual frequency of PLL2 PFD2 is 396.000.000 instead of 400.000.000 Signed-off-by: Markus Niebel lt; Markus.Niebel@ gt; ---

Re: [U-Boot] i.MX6SL pad declarations (was [RFC PATCH 4/3] i.MX6DQ/DLS: remove unused pad declarations)

2013-09-20 Thread Eric Nelson
Thanks Shawn, I noticed that Otavio's e-mail had a bad reference for the list, and we've veered off the original topic. On 09/20/2013 01:44 AM, Shawn Guo wrote: On Thu, Sep 19, 2013 at 07:08:35AM -0700, Eric Nelson wrote: There are currently 8 pads defined in U-Boot that aren't defined in the

Re: [U-Boot] [PATCH 05/12 V3] Exynos5420: Modify TZPC init to support 5420

2013-09-20 Thread Simon Glass
Hi Rajeshwari, On Fri, Sep 20, 2013 at 3:32 AM, Rajeshwari Birje rajeshwari.bi...@gmail.com wrote: Hi Simon Thank you for coments. Regards, Rajeshwari Shinde On Thu, Sep 19, 2013 at 11:27 AM, Simon Glass s...@chromium.org wrote: Hi Rajeshwari, On Wed, Sep 11, 2013 at 4:01 AM,

Re: [U-Boot] NAND flash question

2013-09-20 Thread ANDY KENNEDY
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Peter Barada Sent: Thursday, September 19, 2013 3:26 PM To: u-boot@lists.denx.de; Peter Barada Subject: Re: [U-Boot] NAND flash question On 09/19/2013 04:04 PM, ANDY KENNEDY

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Check the result from malloc()

2013-09-20 Thread Stefano Babic
On 12/09/2013 15:35, Fabio Estevam wrote: malloc can fail, so we should better check its return value before using it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] mx28evk: Fix checkpatch warning

2013-09-20 Thread Stefano Babic
On 15/09/2013 00:34, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Fix the following checkpatch warning: $ ./tools/checkpatch.pl -F board/freescale/mx28evk/mx28evk.c CHECK: Alignment should match open parenthesis #109: FILE: freescale/mx28evk/mx28evk.c:109: +

Re: [U-Boot] [PATCH v3] doc: README.mxs: Add instruction to install 'libssl-dev'

2013-09-20 Thread Stefano Babic
On 16/09/2013 16:25, Fabio Estevam wrote: Since commit bce883707 (ARM: mxs: tools: Add mkimage support for MXS bootstream) the following build error is seen when doing a MAKEALL build: $ ./MAKEALL mx28evk Configuring for mx28evk - Board: mx28evk, Options: ENV_IS_IN_MMC mxsimage.c:18:25:

Re: [U-Boot] [PATCH] mx6sabresd: Fix the fdt file for the mx6dl version

2013-09-20 Thread Stefano Babic
On 18/09/2013 03:55, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com We need to load 'imx6dl-sabresd.dtb' in the mx6dl version. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2 2/2] mx6slevk: Add Ethernet support

2013-09-20 Thread Stefano Babic
On 13/09/2013 05:36, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6slevk has a SMSC8720 connected in RMII mode. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2] net: fec_mxc: Fix timeouts during tftp transfer

2013-09-20 Thread Stefano Babic
On 18/09/2013 04:13, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Performing tftp transfers on mx28 results in random timeouts. Hector Palacios and Robert Hodaszi analyzed the root cause being related to the wrong alignment of the 'buff' buffer inside fec_recv().

Re: [U-Boot] [PATCH] i.MX6DL/S: add drive-strength back to pads DISP0_DAT2/DAT10

2013-09-20 Thread Stefano Babic
On 13/09/2013 18:19, Eric Nelson wrote: This patch fixes a regression introduced by commit 87d720e0. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 1/2] net: fec_mxc: Add support for mx6 solo-lite

2013-09-20 Thread Stefano Babic
On 13/09/2013 00:41, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Similarly as mx25 and mx53, mx6solo-lite needs to setup the MII gasket for RMII mode. Add support for mx6solo-lite. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to

[U-Boot] Pull request: u-boot-mmc #2

2013-09-20 Thread Pantelis Antoniou
Hi Tom, The following changes since commit 46ef4faed18196472eb95216b2f74c1397ecf024: Prepare v2013.10-rc3 (2013-09-16 20:08:33 -0400) are available in the git repository at: git://git.denx.de/u-boot-mmc.git master for you to fetch changes up to 2c011847c129491084a19c753a039a3441b7dce4:

Re: [U-Boot] [PATCH] Tegra114: Fix PLLX M, N, P init settings

2013-09-20 Thread Tom Warren
Including Jimmy, since he wrote this patch originally. -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, September 20, 2013 9:19 AM To: Thierry Reding Cc: Tom Warren; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] Tegra114: Fix PLLX M, N, P

Re: [U-Boot] [PATCH v3] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-20 Thread York Sun
On 09/09/2013 02:10 AM, Shengzhou Liu wrote: - Remove duplicate doc/README.p1010rdb - Update for P1010RDB-PB board P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu

Re: [U-Boot] [PATCH] arm: prevent using movt/movw address loads

2013-09-20 Thread Jeroen Hofstee
Hello Tom, On 09/19/2013 11:16 PM, Tom Rini wrote: On Sat, Aug 24, 2013 at 01:55:38PM +0200, Jeroen Hofstee wrote: The movt/movw instruction can be used to hardcode an memory location in the instruction itself. The linker starts complaining about this if the compiler decides to do so:

Re: [U-Boot] [PATCH] wandboard: Use imx6dl-wandboard.dtb for the solo version

2013-09-20 Thread Stefano Babic
On 09/09/2013 23:28, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com The wandboard solo version should boot the 'imx6dl-wandboard.dtb' file, since dual-lite and solo variants are the same SoC with only the number of cores being different. Signed-off-by: Fabio

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-20 Thread Tom Warren
Alban, Were you going to do a V2 of this patchset? Tom -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Friday, September 20, 2013 9:04 AM To: Thierry Reding Cc: Tom Warren; Alban Bedel; u-boot@lists.denx.de; julian.scheel@avionic- design.de Subject:

Re: [U-Boot] [PATCH V4 01/17] usb: gadget: mv_udc: don't check CONFIG_USB_MAX_CONTROLLER_COUNT

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:45 AM, Marek Vasut wrote: Dear Troy Kisky, i.mx6 has 1 otg controller, and 3 host ports. So, CONFIG_USB_MAX_CONTROLLER_COUNT can be greater than 1 even though only 1 device mode controller is supported. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com The problem is,

Re: [U-Boot] [PATCH V4 02/17] usb: ehci-mx6: add support for host mode otg port

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:51 AM, Marek Vasut wrote: Dear Troy Kisky, Previously, only host1 was supported using an index of 0. Now, otg has index 0, host1 is 1, host2 is 2, host3 is 3. Since OTG requires usbmode to be set after reset, I added a weak function ehci_hcd_init_after_reset to handle this, and

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- v4: updated commit message removed ifdef UDC_BULK_HS_PACKET_SIZE since 512 is the only legal

Re: [U-Boot] [PATCH V4 03/17] usb: gadget: ether set wMaxPacketSize

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:52 AM, Marek Vasut wrote: Dear Troy Kisky, set wMaxPacketSize for full speed descriptors fs_source_desc, fs_sink_desc to 64. Full-speed bulk endpoint can have a maximum packet size of 8, 16, 32, or 64 bytes, so choice 64. The hs_source_desc, hs_sink_desc, already have their

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- v4: updated commit message removed ifdef

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Troy Kisky
On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com --- v4: updated commit message

Re: [U-Boot] [PATCH] mx35pdk: Remove CONFIG_SYS_CACHELINE_SIZE

2013-09-20 Thread Stefano Babic
On 12/09/2013 21:56, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com In arch/arm/cpu/arm1136/cpu.c we have: #ifndef CONFIG_SYS_CACHELINE_SIZE #define CONFIG_SYS_CACHELINE_SIZE 32 #endif ,so there is no need to define 'CONFIG_SYS_CACHELINE_SIZE' with the default

[U-Boot] [PATCH 3/3] mx35pdk: Fix error handling in board_late_init()

2013-09-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com If smc911x_initialize() fails we should return the error immediately. While at it, also check the error from cpu_eth_init(). Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx35pdk/mx35pdk.c | 10 -- 1 file

Re: [U-Boot] [PATCH 1/2] mx6sabresd: Return error if cpu_eth_init() fails

2013-09-20 Thread Stefano Babic
On 13/09/2013 03:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently board_eth_init() always return 0, but we should propagate the error when cpu_eth_init() fails. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks!

[U-Boot] [PATCH 1/3] mx28evk: Propagate the error if cpu_eth_init() fails

2013-09-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com If cpu_eth_init() fails we should return the error immediately. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx28evk/mx28evk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/mx28evk/mx28evk.c

Re: [U-Boot] [PATCH] ARM: arch-mx6: fix PLL2_PFD2_FREQ

2013-09-20 Thread Stefano Babic
On 11/09/2013 15:30, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de according to the manual frequency of PLL2 PFD2 is 396.000.000 instead of 400.000.000 Signed-off-by: Markus Niebel markus.nie...@tqs.de --- Applied to u-boot-imx, thanks! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky troy.ki...@boundarydevices.com

[U-Boot] [PATCH] tools/imximage.c: Fix compiling warning

2013-09-20 Thread York Sun
Convert set_hdr_func(struct imx_header *imxhdr) to set_hdr_func(void) to get rid of the warning warning: ‘imxhdr’ is used uninitialized in this function Signed-off-by: York Sun york...@freescale.com --- tools/imximage.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH] i2c:zynq: I2C multi-bus support on Zynq

2013-09-20 Thread Michael Burr
Changes: 'zynq_i2c.c': Adapted driver for compliance with new I2C driver model (CONFIG_SYS_I2C). Support for 0-length register address in 'i2c_write', 'i2c_read'. 'i2c.h', 'i2c_core.c': Support for Texas Instruments PCA9548 bus multiplexer. Tested: Xilinx ZC702 eval board (single bus master

[U-Boot] [PATCH 2/3] mx28evk: Propagate the error if cpu_eth_init() fails

2013-09-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com If cpu_eth_init() fails we should return the error immediately. Cc: Marek Vasut ma...@denx.de Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/denx/m28evk/m28evk.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH v2 1/2] mx6sabresd: Avoid hang when HDMI cable is not connected

2013-09-20 Thread Stefano Babic
On 11/09/2013 23:14, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit d9b894603 (mx6sabresd: Add LVDS splash screen support) the following hang happens if the HDMI cable is not connected or the 'panel' variable is not set: U-Boot

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-20 Thread Stephen Warren
On 09/20/2013 06:45 AM, Thierry Reding wrote: On Wed, Sep 04, 2013 at 11:59:44AM -0600, Stephen Warren wrote: On 09/04/2013 07:00 AM, Alban Bedel wrote: Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. CC'ing the Tegra maintainer would be helpful (Tom Warren; I CC'd him here)

Re: [U-Boot] [PATCH v2 2/2] mx6sabresd: Reset counter to prevent error message

2013-09-20 Thread Stefano Babic
On 11/09/2013 23:14, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com If a HDMI cable is not connected, the following message is seen on boot: CPU: Freescale i.MX6Q rev1.1 at 792 MHz Reset cause: POR

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, On 9/20/2013 12:53 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well.

Re: [U-Boot] [PATCH] Tegra114: Fix PLLX M, N, P init settings

2013-09-20 Thread Tom Warren
Thierry, -Original Message- From: Thierry Reding [mailto:thierry.red...@gmail.com] Sent: Friday, September 20, 2013 5:41 AM To: Tom Warren Cc: u-boot@lists.denx.de Subject: [PATCH] Tegra114: Fix PLLX M, N, P init settings From: Jimmy Zhang jimmzh...@nvidia.com The M, N and P

Re: [U-Boot] [PATCH] arm: prevent using movt/movw address loads

2013-09-20 Thread Tom Rini
On Fri, Sep 20, 2013 at 07:15:29PM +0200, Jeroen Hofstee wrote: Hello Tom, On 09/19/2013 11:16 PM, Tom Rini wrote: On Sat, Aug 24, 2013 at 01:55:38PM +0200, Jeroen Hofstee wrote: The movt/movw instruction can be used to hardcode an memory location in the instruction itself. The linker

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Troy Kisky
On 9/20/2013 2:20 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 12:53 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Troy Kisky
On 9/20/2013 12:53 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common definitions to udc.h This allows musb_udc.h to be removed as well. Signed-off-by: Troy Kisky

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Marek Vasut
Dear Troy Kisky, On 9/20/2013 2:20 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 12:53 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy Kisky, Move common

Re: [U-Boot] [PATCH V4 10/17] usb: gadget: mv_udc: optimize bounce

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:58 AM, Marek Vasut wrote: Dear Troy Kisky, Only perform one copy, either in the bounce routine for IN transfers, or the debounce rtn for OUT transfer. On out transfers, only copy the number of bytes received from the bounce buffer Signed-off-by: Troy Kisky

Re: [U-Boot] [PATCH 2/2] mx6qsabreauto: Return error if cpu_eth_init() fails

2013-09-20 Thread Stefano Babic
On 13/09/2013 03:03, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently board_eth_init() always return 0, but we should propagate the error when cpu_eth_init() fails. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Applied to u-boot-imx, thanks!

Re: [U-Boot] [PATCH] powerpc/c29xpcie: Getting DDR SPD image from 16-bit sub-address EEPROM

2013-09-20 Thread York Sun
On 08/20/2013 11:26 PM, Po Liu wrote: Currently, there is only one EEPROM on c29xpcie board which isAT24C1024. We program the SPD data at beginning of the AT24C1024.But the AT24C1024 has a 16-bit sub-address mode. This patch is tomake it work when getting SPD in a 16-bit sub-address EEPROM.

[U-Boot] [PATCH] i.MX6DQ/DLS: Add pad MX6_PAD_GPIO_1__USB_OTG_ID

2013-09-20 Thread Eric Nelson
This patch adds the pad to i.MX6DQ and changes the i.MX6DLS declaration to match the Linux kernel declaration. Signed-off-by: Eric Nelson eric.nel...@boundarydevices.com --- Note that this is needed for OTG/UDC work Troy is prepping for i.MX6 and that the previous declaration of

Re: [U-Boot] [RFC PATCH 0/3] i.MX6 (DQ/DLS): consolidate mux and pad names

2013-09-20 Thread Eric Nelson
On 09/16/2013 02:26 PM, Eric Nelson wrote: This patch set begins the process of consolidating mux and pad declarations for the i.MX6 Dual/Quad and Dual-Lite/Solo processor variants. Patch 1 replaces the mux/pad names with their equivalents from the Linux kernel (from linux-next). This

Re: [U-Boot] [PATCH V4 06/17] usb: udc: add udc.h include file

2013-09-20 Thread Troy Kisky
On 9/20/2013 3:01 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 2:20 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 12:53 PM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 11:52 AM, Marek Vasut wrote: Dear Troy Kisky, On 9/20/2013 3:55 AM, Marek Vasut wrote: Dear Troy

[U-Boot] [PATCH v3 2/2] OMAP3: igep00x0: rename config file to omap3_igep00x0.h

2013-09-20 Thread Javier Martinez Canillas
There seems to be a naming convention for the configuration files for boards using the same SoC family. This makes easier to do changes that affect different boards based on the same SoC. Since the IGEPv2 board and the IGEP COM Module use a TI OMAP35xx/DM37xx processor, is better to rename its

[U-Boot] [PATCH v3 1/2] ARM: IGEP0033: rename config file to am335x_igep0033.h

2013-09-20 Thread Javier Martinez Canillas
There seems to be a naming convention for the configuration files for boards using the same SoC family. This makes easier to do changes that affect different boards based on the same SoC. Since the IGEP COM AQUILA use TI AM335x processors, is better to rename its board config to use this naming

[U-Boot] [PATCH v3 1/2] ARM: IGEP0033: rename config file to am335x_igep0033.h

2013-09-20 Thread Javier Martinez Canillas
There seems to be a naming convention for the configuration files for boards using the same SoC family. This makes easier to do changes that affect different boards based on the same SoC. Since the IGEP COM AQUILA use TI AM335x processors, is better to rename its board config to use this naming

[U-Boot] [PATCH v3 2/2] OMAP3: igep00x0: rename config file to omap3_igep00x0.h

2013-09-20 Thread Javier Martinez Canillas
There seems to be a naming convention for the configuration files for boards using the same SoC family. This makes easier to do changes that affect different boards based on the same SoC. Since the IGEPv2 board and the IGEP COM Module use a TI OMAP35xx/DM37xx processor, is better to rename its

Re: [U-Boot] [PATCH v2] FIT: delete unnecessary casts

2013-09-20 Thread Simon Glass
On Wed, Sep 18, 2013 at 9:10 PM, Masahiro Yamada yamad...@jp.panasonic.comwrote: Becuase fdt_check_header function takes (const void *) type argument, the argument should be passed to it without being casted to (char *). Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by:

Re: [U-Boot] [PATCH v3 1/3] i2c: fix init on generic board

2013-09-20 Thread Simon Glass
Hi Philippe, On Thu, Sep 19, 2013 at 12:41 PM, Philippe Reynes trem...@yahoo.fr wrote: Signed-off-by: Philippe Reynes trem...@yahoo.fr It looks good, but please can we have an explanation in the commit message? --- common/board_f.c |4 1 files changed, 4 insertions(+), 0

Re: [U-Boot] [PATCH 01/12 V3] EXYNOS5: Create a common board file

2013-09-20 Thread Simon Glass
Hi Rajeshwari, On Wed, Sep 11, 2013 at 4:01 AM, Rajeshwari S Shinde rajeshwar...@samsung.com wrote: Create a common board.c file for all functions which are common across all EXYNOS5 platforms. exynos_init function is provided for platform cpecific code. Signed-off-by: Rajeshwari S Shinde

Re: [U-Boot] [PATCH] arm: prevent using movt/movw address loads

2013-09-20 Thread Simon Glass
On Sat, Aug 24, 2013 at 5:55 AM, Jeroen Hofstee jer...@myspectrum.nlwrote: The movt/movw instruction can be used to hardcode an memory location in the instruction itself. The linker starts complaining about this if the compiler decides to do so: relocation R_ARM_MOVW_ABS_NC against `a local