Re: [U-Boot] [PATCH 1/5] usb: s3c-otg: Remove useless include

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 06:07:30, Marek Vasut wrote: > Remove the useless inclusion of arch/arm/gpio.h , which is completely > bogus in this driver. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers Acked-by: Pavel Machek -- (english) http://www.livejourn

Re: [U-Boot] [PATCH 2/5] usb: s3c-otg: Encapsulate PHY control

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 06:07:31, Marek Vasut wrote: > Encapsulate the Samsung PHY control and it's register accesses "its" > into the otg_phy_init() and otg_phy_off() functions. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers Acked-by: Pavel Machek -

Re: [U-Boot] [PATCH 3/5] usb: s3c-otg: Split out PHY control

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 06:07:32, Marek Vasut wrote: > Split the Samsung specific PHY control into a separate file > and compile this into the S3C OTG driver only if used on a > Samsung system. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers Acked-by: Pave

Re: [U-Boot] [PATCH 4/5] usb: s3c-otg: Allow custom gusbcfg

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 06:07:33, Marek Vasut wrote: > Allow passing in a custom configuration of the gusbcfg register > via platform data. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers Acked-by: Pavel Machek > debug("Reseting OTG controller\n");

Re: [U-Boot] [PATCH v2 1/3] usb:ehci-mx6 add board_ehci_usb_mode function

2014-11-04 Thread Jeroen Hofstee
Hello Peng, On 04-11-14 14:36, Peng Fan wrote: Hi Jeroen, 在 11/4/2014 7:40 PM, Jeroen Hofstee 写道: Hello Peng, On 04-11-14 08:50, Peng Fan wrote: Include a weak function board_ehci_usb_mode to gives board code a choice. If the board want the otg port work in host mode but not device mode, th

Re: [U-Boot] Query on the ci_udc driver for USB client implementation

2014-11-04 Thread Sanchayan Maity
On Tuesday 04 November 2014 10:25 AM, Marek Vasut wrote: > On Monday, November 03, 2014 at 04:46:48 PM, Fabio Estevam wrote: >> On Mon, Nov 3, 2014 at 3:33 AM, Sanchayan Maity >> >> wrote: >>> Hello, >>> >>> Any pointers? >> >> Adding Marek and Stefan on Cc in case they can provide some help. >> >

[U-Boot] [PATCH 3/6] include: move various macros to include/linux/kernel.h

2014-11-04 Thread Masahiro Yamada
U-Boot has imported various utility macros from Linux scattering them to various places without consistency. In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN, container_of, DIV_ROUND_UP, etc. In include/linux/compat.h are min_t, max_t, round_up, round_down, etc. We also have duplica

[U-Boot] [PATCH 0/6] Collect utility macros to include/linux/kernel.h synced with Linux

2014-11-04 Thread Masahiro Yamada
We have imported useful macros from Linux scattering them to various places. In include/common.h are min, max, min3, max3, ARRAY_SIZE, ALIGN, container_of, DIV_ROUND_UP, roundup, etc. In include/linux/compat.h are min_t, max_t, round_up, round_down, etc. We also have duplicated defines of min_t in

[U-Boot] mkimage and load addresses beyond 4 Gb

2014-11-04 Thread John Jacques
At present, the load address and entry point are both "unsigned int". I'm porting to aarch64, and will run the SPL at 0x803100. mkimage truncates this to 0x3100. Are there any plans to support a load address and entry point larger than 32 bits? ___

[U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Masahiro Yamada
U-Boot has never cared about the type when we get max/min of two values, but Linux Kernel does. This commit gets min, max, min3, max3 macros synced with the kernel introduing type checks. Many of references of those macros must be fixed to suppress warnings. We have two options: - Use min, max,

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-04 Thread Pavel Machek
Hi! > Add example of an USB UDC configuration with DFU and UMS. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Vince Bridgers > Cc: Pavel Machek > Cc: Stefan Roese > Cc: Lukasz Majewski > +/* USB IDs */ > +#define CONFIG_G_DNL_VENDOR_NUM 0x0525 /

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

2014-11-04 Thread Tom Rini
On Tue, Nov 04, 2014 at 06:09:00AM +0100, Marek Vasut wrote: > The following changes since commit 46b7b2e8025770fb29f7810c2d7d15a6650b9643: > > Merge branch 'master' of git://git.denx.de/u-boot-mips (2014-11-03 12:46:12 > -0500) > > are available in the git repository at: > > > git://git.

Re: [U-Boot] please pull u-boot-samsung master

2014-11-04 Thread Tom Rini
On Tue, Nov 04, 2014 at 07:57:33PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: > > arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) > > are available in the git repository at: > > http://git.

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

2014-11-04 Thread Tom Rini
On Fri, Oct 31, 2014 at 01:02:52AM +0100, Anatolij Gustschin wrote: > Hey Tom, > > The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: > > arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) > > are available in the git repository at: > > git:/

Re: [U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 20:26:26, Masahiro Yamada wrote: > U-Boot has never cared about the type when we get max/min of two > values, but Linux Kernel does. This commit gets min, max, min3, max3 > macros synced with the kernel introduing type checks. "introducing" > Many of references of those macros

Re: [U-Boot] [PATCH v2 1/3] usb:ehci-mx6 add board_ehci_usb_mode function

2014-11-04 Thread Marek Vasut
On Tuesday, November 04, 2014 at 02:29:56 PM, Peng Fan wrote: > Hi Marek, > > 在 11/4/2014 7:01 PM, Marek Vasut 写道: > > On Tuesday, November 04, 2014 at 11:50:29 AM, Peng Fan wrote: > >> 在 11/4/2014 6:33 PM, Marek Vasut 写道: > >>> On Tuesday, November 04, 2014 at 08:50:00 AM, Peng Fan wrote: >

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-04 Thread Marek Vasut
On Tuesday, November 04, 2014 at 08:51:57 PM, Pavel Machek wrote: > Hi! > > > Add example of an USB UDC configuration with DFU and UMS. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > Cc: Vince Bridgers > > Cc: Pavel Machek > > Cc: Stefan Roese > > Cc: Luka

Re: [U-Boot] [PATCH v3 1/3] mtd, spi: add MTD layer driver

2014-11-04 Thread Jagan Teki
On 5 September 2014 11:08, Heiko Schocher wrote: > From: Daniel Schwierzeck > > add MTD layer driver for spi, original patch from: > http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced > > changes from Heiko Schocher against this patch: > - remove

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Wolfgang Denk
Dear Ian, In message <1415116135.11486.51.ca...@hellion.org.uk> you wrote: > > > > /* > > > * Parse the user's input, partially heuristic. Valid formats: > > > * <0x00112233 4 05> - an array of cells. Numbers follow standard > > > *C conventions. > > > * [00 11 2

Re: [U-Boot] [PATCH v3 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2014-11-04 Thread Jagan Teki
Hi Heiko Schocher, Nice pick - On 5 September 2014 11:08, Heiko Schocher wrote: > move common functions from cmd_nand.c (for calculating offset > and size from cmdline paramter) to common place, so they could > used from other commands which use mtd partitions. > > For onenand the arg_off_size()

Re: [U-Boot] mkimage and load addresses beyond 4 Gb

2014-11-04 Thread Wolfgang Denk
Dear John, In message you wrote: > > At present, the load address and entry point are both "unsigned int". I'm > porting to aarch64, and will run the SPL at 0x803100. mkimage > truncates this to 0x3100. Are there any plans to support a load > address and entry point larger than 32 b

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Tom Rini
On Tue, Nov 04, 2014 at 09:53:02PM +0100, Wolfgang Denk wrote: > Dear Ian, > > In message <1415116135.11486.51.ca...@hellion.org.uk> you wrote: > > > > > > /* > > > > * Parse the user's input, partially heuristic. Valid formats: > > > > * <0x00112233 4 05>- an array of cells. Numbers follo

Re: [U-Boot] [PATCH 5/5] arm: socfpga: Add example UDC config

2014-11-04 Thread Pavel Machek
On Tue 2014-11-04 21:09:38, Marek Vasut wrote: > On Tuesday, November 04, 2014 at 08:51:57 PM, Pavel Machek wrote: > > Hi! > > > > > Add example of an USB UDC configuration with DFU and UMS. > > > > > > Signed-off-by: Marek Vasut > > > Cc: Chin Liang See > > > Cc: Dinh Nguyen > > > Cc: Vince B

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Wolfgang Denk
Dear Tom, In message <20141104205800.GM15133@bill-the-cat> you wrote: > > > Well, we probably should not use this FDT centric decoding function > > directly on arguments passed from the U-Boot command line. > > No, look again at what we're doing. We're not calling a U-Boot function > to do U-Bo

Re: [U-Boot] [PATCH v2 00/12] spi: sf: ICH SPI driver fix and flash params update

2014-11-04 Thread Jagan Teki
On 1 November 2014 14:23, Bin Meng wrote: > This series fix several bugs in current ICH SPI driver as well as > adding byte program support for the SST25* flash. > > Flash params are updated to explicitly list supported read commands > and change flash sector size to 4KiB as long as flash supports

Re: [U-Boot] [PATCH v3 1/3] mtd, spi: add MTD layer driver

2014-11-04 Thread Daniel Schwierzeck
2014-11-04 21:32 GMT+01:00 Jagan Teki : > On 5 September 2014 11:08, Heiko Schocher wrote: >> From: Daniel Schwierzeck >> >> add MTD layer driver for spi, original patch from: >> http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced >> >> changes fro

Re: [U-Boot] [PATCH v6 2/6] fs: interface changes to accomodate files greater than 2GB

2014-11-04 Thread Suriyan Ramasami
Hello Pavel, On Tue, Nov 4, 2014 at 11:26 AM, Pavel Machek wrote: > On Mon 2014-11-03 18:49:58, Suriyan Ramasami wrote: >> Change the interface for the generic FS functions to take in an extra >> parameter of type "loff_t *" to return the size. The return values of >> these funtions now serve as

[U-Boot] Pull request: u-boot-sh/master

2014-11-04 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh master branch. The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-sh.git origin/master f

[U-Boot] [PATCH] arm: rmobile: Add support R8A7793

2014-11-04 Thread Nobuhiro Iwamatsu
Renesas R8A7793 is CPU with Cortex-A15. This supports the basic register definition and GPIO and framework of PFC. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Makefile |1 + arch/arm/cpu/armv7/rmobile/cpu_info.c|

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-11-04 Thread Jagan Teki
On 4 November 2014 03:04, Scott Wood wrote: > On Fri, 2014-10-31 at 11:26 +0100, Heiko Schocher wrote: >> Add MAINTAINERS and doc/git-mailrc entry. >> >> Signed-off-by: Heiko Schocher >> >> --- >> as discussed this step here and there first of all with Scott Wood >> for example here: >> http://li

[U-Boot] Pull request: u-boot-sh/rmobile

2014-11-04 Thread Nobuhiro Iwamatsu
Dear Tom Rini. Please pull u-boot-sh rmobile branch. The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-sh.git HEAD for you t

Re: [U-Boot] [PATCH] common.h: Add prototype of arch_preboot_os

2014-11-04 Thread Nobuhiro Iwamatsu
Hi! 2014-11-04 16:50 GMT+09:00 Igor Grinberg : > On 11/04/14 09:14, Nobuhiro Iwamatsu wrote: >> When we used arch_preboot_os() function because prototype of this is not >> declared, following warning is output. > > Or.. you just need to include the correct file: > > $ grep -nr arch_preboot_os incl

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Tom Rini
On Tue, Nov 04, 2014 at 10:20:46PM +0100, Wolfgang Denk wrote: > Dear Tom, > > In message <20141104205800.GM15133@bill-the-cat> you wrote: > > > > > Well, we probably should not use this FDT centric decoding function > > > directly on arguments passed from the U-Boot command line. > > > > No, lo

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Wolfgang Denk
Dear Tom, In message <20141104220213.GN15133@bill-the-cat> you wrote: > > > Hm is there a way to determine in advance where we are passing a > > number as argument [see "common/cmd_fdt.c" lines 260ff] ? > > The problem is that 'fdt set ... ' is valid and 'fdt set ... > <0xhex>' is valid (as

Re: [U-Boot] Inconsistency between $filesize and commands which accept numeric params

2014-11-04 Thread Tom Rini
On Tue, Nov 04, 2014 at 11:11:40PM +0100, Wolfgang Denk wrote: > Dear Tom, > > In message <20141104220213.GN15133@bill-the-cat> you wrote: > > > > > Hm is there a way to determine in advance where we are passing a > > > number as argument [see "common/cmd_fdt.c" lines 260ff] ? > > > > The pr

Re: [U-Boot] [PATCH v3 1/3] i2c: use __weak

2014-11-04 Thread Tom Rini
On Mon, Oct 27, 2014 at 10:27:18PM +0100, Jeroen Hofstee wrote: > Cc: Heiko Schocher > Signed-off-by: Jeroen Hofstee Applied to u-boot/master, thanks! -- Tom ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/5] sparc: merge arch/sparc/cpu/*/config.mk to arch/sparc/config.mk

2014-11-04 Thread Tom Rini
On Thu, Oct 30, 2014 at 03:30:56PM +0900, Masahiro Yamada wrote: > Remove arch/sparc/cpu/{leon2,leon3}/config.mk and move duplicated > defines of -fPIC to arch/sparc/config.mk. > > Signed-off-by: Masahiro Yamada > Cc: Daniel Hellstrom Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 1/5] sparc: Use nicer prompt for board select menu

2014-11-04 Thread Tom Rini
On Thu, Oct 30, 2014 at 03:30:54PM +0900, Masahiro Yamada wrote: > The Board names in the board select menu were simply taken from the > board directory name by a conversion tool when switching to Kconfig. > > Let's use more descriptive prompts taken from > include/configs/gr*.h and board/gaisler

Re: [U-Boot] [PATCH 2/5] sparc: move CONFIG_{LEON, LEON2, LEON3} to Kconfig

2014-11-04 Thread Tom Rini
On Thu, Oct 30, 2014 at 03:30:55PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Cc: Daniel Hellstrom Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH v2, rebased 3/3] serial: add prototypes for init functions

2014-11-04 Thread Tom Rini
On Mon, Oct 27, 2014 at 08:10:07PM +0100, Jeroen Hofstee wrote: > While at it, sort them. > > Cc: Tom Rini > Cc: Simon Glass > Signed-off-by: Jeroen Hofstee Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 4/5] sparc: merge CONFIG_SYS_CPU and CONFIG_SYS_VENDOR defines

2014-11-04 Thread Tom Rini
On Thu, Oct 30, 2014 at 03:30:57PM +0900, Masahiro Yamada wrote: > For now, all the SPARC boards in U-Boot are provided by Gaisler. > > Signed-off-by: Masahiro Yamada > Cc: Daniel Hellstrom Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 5/5] sparc: move CONFIG_SYS_TEXT_BASE to Kconfig

2014-11-04 Thread Tom Rini
On Thu, Oct 30, 2014 at 03:30:58PM +0900, Masahiro Yamada wrote: > Defining CONFIG_SYS_TEXT_BASE in config.mk is very old style. > > Create CONFIG_SYS_TEXT_BASE option in Kconfig, but let it > depend on CONFIG_SPARC because we do not want to disturb > the other architectures that still define CON

Re: [U-Boot] [PATCH v2] kbuild: do not hide clang warnings during build with W=1

2014-11-04 Thread Tom Rini
On Fri, Oct 31, 2014 at 11:00:34AM +0900, Masahiro Yamada wrote: > These lines originate in Linux; it looks like Linux folks chose to > hide bunch of warnings reported by clang rather than fixing C code. > > In U-boot, warnings are being fixed thanks to Jeroen's great efforts. > Let's stop suppr

Re: [U-Boot] [PATCH] MAINTAINERS: fix Pantelis Antoniou email address

2014-11-04 Thread Tom Rini
On Mon, Nov 03, 2014 at 11:19:14AM +0200, Igor Grinberg wrote: > Trivial fix (unless Pantelis has a new email address): > > Pantelis Antoniou > ^ > make it: > Pantelis Antoniou > > Signed-off-by: Igor Grinberg > Cc: Pantelis Antoniou Applied to u-boot/master, thanks!

Re: [U-Boot] [PATCH 3/3] ARM: kwimage: fix v0 format

2014-11-04 Thread Tom Rini
On Fri, Oct 31, 2014 at 01:03:27AM +0100, Gerald Kerma wrote: > This patch fix the kwimage tools for version 0 fileformat used for kirkwood > Tested on sheevaplug > > Signed-off-by: Gerald Kerma Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] Fix cosmetic issues in mkimage manpage

2014-11-04 Thread Tom Rini
On Sat, Nov 01, 2014 at 06:09:01PM -0700, Vagrant Cascadian wrote: > * Escape use of - in description of -F. > > * Fix line continuations in examples so that the continued lines are > also bold. > > Signed-off-by: Vagrant Cascadian Applied to u-boot/master, thanks! -- Tom signature.asc D

Re: [U-Boot] [PATCH v2, rebased 2/3] arm926ejs: cache: use __weak

2014-11-04 Thread Tom Rini
On Mon, Oct 27, 2014 at 08:10:06PM +0100, Jeroen Hofstee wrote: > Cc: Albert Aribaud > Signed-off-by: Jeroen Hofstee Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] tools/env: Fix environment size and CRC on 64-bit hosts

2014-11-04 Thread Dominic Sacré
On architectures where 'long' is 64 bit, the u-boot environment as seen by the fw_env tools was missing 4 bytes. This patch fixes getenvsize(), and thus also ensures that the environment's CRC32 checksum is calculated correctly. Signed-off-by: Dominic Sacré Cc: Wolfgang Denk Cc: Tom Rini --- t

Re: [U-Boot] mkimage and load addresses beyond 4 Gb

2014-11-04 Thread Simon Glass
Hi, On 4 November 2014 12:55, Wolfgang Denk wrote: > > Dear John, > > In message > you > wrote: > > > > At present, the load address and entry point are both "unsigned int". I'm > > porting to aarch64, and will run the SPL at 0x803100. mkimage > > truncates this to 0x3100. Are there

Re: [U-Boot] [PATCH v6 2/6] fs: interface changes to accomodate files greater than 2GB

2014-11-04 Thread Simon Glass
Hi, On 3 November 2014 18:49, Suriyan Ramasami wrote: > Change the interface for the generic FS functions to take in an extra > parameter of type "loff_t *" to return the size. The return values of > these funtions now serve as an indicator of error conditions alone. > > Signed-off-by: Suriyan Ra

Re: [U-Boot] [PATCH v6 1/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-04 Thread Simon Glass
Hi, On 3 November 2014 18:49, Suriyan Ramasami wrote: > Test size/read/write commands in a sandbox environment. > > Signed-off-by: Suriyan Ramasami > > --- > > Changes in v6: > * Update expected results in comments > * Simon comments - > * Remove README file and add it in start of script > * D

Re: [U-Boot] [PATCH v6 5/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-04 Thread Simon Glass
On 3 November 2014 18:50, Suriyan Ramasami wrote: > Enable md5sum to check the MD5 of the read and written files to check > their contents for validity. > Use map_sysmem() to map buffer in a sandbox environment. > > Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass > > --- > > Changes in v

Re: [U-Boot] [PATCH v2 7/9] dm: at91: Convert snapper9260 to use driver model

2014-11-04 Thread Simon Glass
Hi Masahiro, On 1 November 2014 10:27, Masahiro YAMADA wrote: > Hi Simon, > > 2014-10-30 4:09 GMT+09:00 Simon Glass : >> diff --git a/include/configs/snapper9260.h b/include/configs/snapper9260.h >> index e2e623e..942af2e 100644 >> --- a/include/configs/snapper9260.h >> +++ b/include/configs/snap

Re: [U-Boot] [PATCH v2 00/12] spi: sf: ICH SPI driver fix and flash params update

2014-11-04 Thread Bin Meng
Hi Jagan, On Wed, Nov 5, 2014 at 5:21 AM, Jagan Teki wrote: > On 1 November 2014 14:23, Bin Meng wrote: >> This series fix several bugs in current ICH SPI driver as well as >> adding byte program support for the SST25* flash. >> >> Flash params are updated to explicitly list supported read comma

[U-Boot] SPL (Secondary Program Loader) on iMX6SL

2014-11-04 Thread John Tobias
Hi All, I ported the SPL features of u-boot into iMX6 SabreSD. I was able to load the SPL image and configure the DDR correctly. Then, I ported it again on iMX6SL-evk, unfortunately, I did not get any data on my serial port window. I played with some different values for CCM_CCGR0 - CCM_CCGR6 and

Re: [U-Boot] verifying & signing - issue in generating private key & ceritficate containing public key

2014-11-04 Thread Srinivasan S
Hi Simon Sorry to push you hard again could you please help me in resolving the below issue that am facing while generating private key & certificate containing public key ie., when executing Step 4: Create a key pair (http://lists.denx.de/pipermail/u-boot/2014-June/180845.html) WARNING:

Re: [U-Boot] [PATCH v2] mtd: nand: allow to skip BBT scanning during NAND inititialization

2014-11-04 Thread Masahiro Yamada
Hi Scott, On Mon, 3 Nov 2014 15:40:59 -0600 Scott Wood wrote: > On Thu, 2014-10-23 at 21:25 +0900, Masahiro Yamada wrote: > > Since commit ff94bc40af34 (mtd, ubi, ubifs: resync with Linux-3.14), > > chip->scan_bbt() is called at the end of nand_scan_tail(). > > It means the first read access ha

Re: [U-Boot] [PATCH] nand: reinstate lazy bad block scanning

2014-11-04 Thread Masahiro Yamada
Hi Scott, Rostislav, On Mon, 3 Nov 2014 15:42:29 -0600 Scott Wood wrote: > On Wed, 2014-10-22 at 13:40 +0200, Rostislav Lisovy wrote: > > Commit ff94bc40af3481d47546595ba73c136de6af6929 > > ("mtd, ubi, ubifs: resync with Linux-3.14") > > accidentally reverted part of the commit > > 13f0fd94e3cae

[U-Boot] [PATCH v3 1/2] exynos5: fix GPIO information of exynos5420

2014-11-04 Thread Hyungwon Hwang
This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. Signed-off-by: Hyungwon Hwang Cc: Minkyu Kang Cc: Lukasz Majewski --- arch/arm/include/asm/arch-exynos/cpu.h | 11 +- arch/arm/include/asm/arch-exynos/gpi

[U-Boot] [PATCH v3 2/2] Odroid-XU3: Add support for Odroid-XU3

2014-11-04 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang Cc: Minkyu Kang Cc: Lukasz Majewski --- Changes for v3: - Remove unnecessary node from DT file - Remove unnecessary features from config file - Remove unnecessary macros from board-specific header file

[U-Boot] [PATCH v3 0/2] Adds support for Exynos5422 odroid xu3 board

2014-11-04 Thread Hyungwon Hwang
This is v3 of the patchset adding support Odroud XU3 board. link to the previous version: https://www.mail-archive.com/u-boot@lists.denx.de/msg152275.html This patchset fixes GPIO information of Exynos5420 which is needed to support Exynos5422 Odroid XU3 board. On the base of the fixes, this patc

Re: [U-Boot] [PATCH 0/6] kbuild, kconfig: sync with Linux 3.18-rc1

2014-11-04 Thread Masahiro Yamada
Hi Tom, On Tue, 4 Nov 2014 10:12:15 -0500 Tom Rini wrote: > On Thu, Oct 30, 2014 at 10:50:45AM +0900, Masahiro Yamada wrote: > > > Masahiro Yamada (5): > > kbuild: bug fixes and cleanups of Makefile.host > > kbuild: improve multi-objs dependency and cleanups > > kbuild: sync top Makefile

Re: [U-Boot] verifying & signing - issue in generating private key & ceritficate containing public key

2014-11-04 Thread Simon Glass
Hi, On 4 November 2014 19:36, Srinivasan S wrote: > Hi Simon > > > Sorry to push you hard again could you please help me in resolving the below > issue that am facing while generating private key & certificate containing > public key > > ie., when executing Step 4: Create a key pair > (http:/

Re: [U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Masahiro Yamada
Hi Pavel, Thanks for your close checking. On Tue, 4 Nov 2014 20:50:13 +0100 Pavel Machek wrote: > On Tue 2014-11-04 20:26:26, Masahiro Yamada wrote: > > U-Boot has never cared about the type when we get max/min of two > > values, but Linux Kernel does. This commit gets min, max, min3, max3 >

[U-Boot] [PATCH] ARM: UniPhier: reset on-board devices on start-up

2014-11-04 Thread Masahiro Yamada
If a support card is attached to the main board, the on-board SMSC9118 LAN controller is available. It must be kept in reset state for a while on start-up. When the board is kicked via a debbuger rather than pushing the hardware reset button, on-board chips are not reset; in this case the reset s

Re: [U-Boot] [PATCH v2] mtd: nand: allow to skip BBT scanning during NAND inititialization

2014-11-04 Thread Scott Wood
On Wed, 2014-11-05 at 12:39 +0900, Masahiro Yamada wrote: > [2] There is no good place to insert a callback to an SoC file. > I need to write parameters such as page_size to hardware registers. > (You can see my code, nand_denali_fixup() in > arch/arm/cpu/armv7/uniphier/board_late_init.c) > >

Re: [U-Boot] [PATCH] nand: reinstate lazy bad block scanning

2014-11-04 Thread Scott Wood
On Wed, 2014-11-05 at 12:40 +0900, Masahiro Yamada wrote: > Hi Scott, Rostislav, > > On Mon, 3 Nov 2014 15:42:29 -0600 > Scott Wood wrote: > > > On Wed, 2014-10-22 at 13:40 +0200, Rostislav Lisovy wrote: > > > Commit ff94bc40af3481d47546595ba73c136de6af6929 > > > ("mtd, ubi, ubifs: resync with L

Re: [U-Boot] [PATCH v2 1/3] usb:ehci-mx6 add board_ehci_usb_mode function

2014-11-04 Thread Peng Fan
在 11/5/2014 1:33 AM, Marek Vasut 写道: On Tuesday, November 04, 2014 at 02:29:56 PM, Peng Fan wrote: Hi Marek, 在 11/4/2014 7:01 PM, Marek Vasut 写道: On Tuesday, November 04, 2014 at 11:50:29 AM, Peng Fan wrote: 在 11/4/2014 6:33 PM, Marek Vasut 写道: On Tuesday, November 04, 2014 at 08:50:00 AM,

[U-Boot] [PATCH v6] net/phy: Add support for CS4315/CS4340 PHY

2014-11-04 Thread Shengzhou Liu
Add support for Cortina CS4315/CS4340 10G PHY. - This driver loads CS43xx firmware from NOR/NAND/SPI/SD device to initialize Cortina PHY. - Cortina PHY has non-standard offset of PHY ID registers, thus we define own get_phy_id() to override default get_phy_id(). - To define macro CONFIG_PHY_COR

Re: [U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Marek Vasut
On Wednesday, November 05, 2014 at 06:06:09 AM, Masahiro Yamada wrote: > Hi Pavel, > > Thanks for your close checking. > > > On Tue, 4 Nov 2014 20:50:13 +0100 > > Pavel Machek wrote: > > On Tue 2014-11-04 20:26:26, Masahiro Yamada wrote: > > > U-Boot has never cared about the type when we get

Re: [U-Boot] [PATCH] MAINTAINERS: CFI flash maintainership only includes the CFI related files

2014-11-04 Thread Heiko Schocher
Hello Stefan, Am 31.10.2014 13:57, schrieb Stefan Roese: All the other files in drivers/mtd/* are not really CFI related. So lets only include the files that are CFI specific. Signed-off-by: Stefan Roese Cc: Heiko Schocher Cc: Scott Wood Cc: Masahiro Yamada Cc: Jagan Teki --- MAINTAINERS | 3

Re: [U-Boot] [PATCH 1/2] ubi: enable error reporting in initialization

2014-11-04 Thread Heiko Schocher
Hello Andrew, Am 04.11.2014 17:07, schrieb Andrew Ruder: The UBI layer will disable much of its error reporting when it is compiled into the linux kernel to avoid stopping boot. We want this error reporting in U-Boot since we don't initialize the UBI layer until it is used and want the error re

Re: [U-Boot] [PATCH 2/2] mtd: nor: initialize writebufsize field

2014-11-04 Thread Heiko Schocher
Hello Andrew, Am 04.11.2014 17:07, schrieb Andrew Ruder: UBI drivers error out if writebufsize is not filled in correctly. Grab this information from the CFI flash_info struct. Signed-off-by: Andrew Ruder Cc: Wolfgang Denk Cc: Heiko Schocher Cc: Stefan Roese --- drivers/mtd/cfi_mtd.c | 1 +

Re: [U-Boot] [PATCH] doc: fix documentation of output directory

2014-11-04 Thread Masahiro Yamada
Hi Timo, On Tue, 4 Nov 2014 12:56:50 +0200 Timo Ketola wrote: > > diff --git a/doc/README.kwbimage b/doc/README.kwbimage > index 13f6f92..8c02298 100644 > --- a/doc/README.kwbimage > +++ b/doc/README.kwbimage > @@ -30,10 +30,10 @@ kwbimage support available with mkimage utility will > genera

[U-Boot] at91, usb, dfu: add dfu support for at91 boards

2014-11-04 Thread Heiko Schocher
Hello all, I have a request for implementing DFU support an at91 based boards (in this case for the siemens at91 boards corvus, taurus both in mainline). I found in include/configs/sama5d3xek.h /* USB */ #define CONFIG_CMD_USB #ifdef CONFIG_CMD_USB #define CONFIG_USB_ATMEL #define CONFIG_USB_A

Re: [U-Boot] at91, usb, dfu: add dfu support for at91 boards

2014-11-04 Thread Bo Shen
Hi Heiko, On 11/05/2014 03:30 PM, Heiko Schocher wrote: Hello all, I have a request for implementing DFU support an at91 based boards (in this case for the siemens at91 boards corvus, taurus both in mainline). I found in include/configs/sama5d3xek.h /* USB */ #define CONFIG_CMD_USB #ifdef CO

[U-Boot] [PATCH v2 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Masahiro Yamada
U-Boot has never cared about the type when we get max/min of two values, but Linux Kernel does. This commit gets min, max, min3, max3 macros synced with the kernel introducing type checks. Many of references of those macros must be fixed to suppress warnings. We have two options: - Use min, max,

Re: [U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Masahiro Yamada
Hi Marek, (reduced Cc) On Wed, 5 Nov 2014 07:02:23 +0100 Marek Vasut wrote: > On Wednesday, November 05, 2014 at 06:06:09 AM, Masahiro Yamada wrote: > > Hi Pavel, > > > > Thanks for your close checking. > > > > > > On Tue, 4 Nov 2014 20:50:13 +0100 > > > > Pavel Machek wrote: > > > On Tue 2

Re: [U-Boot] at91, usb, dfu: add dfu support for at91 boards

2014-11-04 Thread Heiko Schocher
Hello Bo, Am 05.11.2014 08:40, schrieb Bo Shen: Hi Heiko, On 11/05/2014 03:30 PM, Heiko Schocher wrote: Hello all, I have a request for implementing DFU support an at91 based boards (in this case for the siemens at91 boards corvus, taurus both in mainline). I found in include/configs/sama5d3

Re: [U-Boot] [PATCH 6/6] linux/kernel.h: sync min, max, min3, max3 macros with Linux

2014-11-04 Thread Marek Vasut
On Wednesday, November 05, 2014 at 08:48:19 AM, Masahiro Yamada wrote: > Hi Marek, Hi! > (reduced Cc) > > On Wed, 5 Nov 2014 07:02:23 +0100 > > Marek Vasut wrote: > > On Wednesday, November 05, 2014 at 06:06:09 AM, Masahiro Yamada wrote: > > > Hi Pavel, > > > > > > Thanks for your close check

<    1   2