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

2013-05-13 Thread Sonic Zhang
Hi Tom, Please pull the following patches from u-boot-blackfin into your tree. In this second pull request: - CONFIG_CMD_SOFTSWITCH document is added to the README file. - The tools/patman folder is synced with upstream master. - 3 missing patches were sent to the mailing list. Thanks The follow

Re: [U-Boot] [PATCH v2] arm: fix a comment

2013-05-13 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 14 May 2013 10:43:07 +0900, Masahiro Yamada wrote: > > > Changed for v2: > >- Fix one more comment > > I added one more comment line fixed at version 2. > > So, I am thinking the commit log should become > "arm: fix comments" > rather than > "arm: fix a comment" > >

[U-Boot] 2013 Plumber's CFP: Fastboot

2013-05-13 Thread Mehaffey, John
Hello All, I am proposing a microconference on fastboot at the Linux Plumber's conference 2013 in New Orleans. The goal is to get to sub 1S boot times for a large (IVI) system using NAND flash. This pushes the state of the art, and will require innovative solutions in may areas of Linux plumbin

[U-Boot] [PATCH 2/2] mx6qsabreauto: Add Port Expander reset

2013-05-13 Thread Renato Frias
There are 3 IO expanders on the mx6qsabreauto all reset by the same GPIO, just set it to high to use the IO. Signed-off-by: Renato Frias --- board/freescale/mx6qsabreauto/mx6qsabreauto.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/board/freescale/mx6qsabreauto/mx6qsabreauto.c

[U-Boot] [PATCH 1/2] mx6qsabreauto: Add i2c to mx6qsabreauto board

2013-05-13 Thread Renato Frias
Add i2c2 and 3 to mx6qsabreauto board, i2c3 is multiplexed use gpio to set steering. Signed-off-by: Renato Frias --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 50 + include/configs/mx6qsabreauto.h |6 +++ 2 files changed, 56 insertions(+) diff -

Re: [U-Boot] [PATCH v2] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT

2013-05-13 Thread Zhang Ying-B40530
-Original Message- From: Tom Rini [mailto:tom.r...@gmail.com] On Behalf Of Tom Rini Sent: Tuesday, May 14, 2013 6:13 AM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; Wood Scott-B07421; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [U-Boot] [PATCH v2] common/Makefile: Add new symbol

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

2013-05-13 Thread Stephen Warren
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 functions to create a DT node (or fill in an existing node) with parameters that describe the framebuf

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

2013-05-13 Thread Stephen Warren
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- rendered X server. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- board/r

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

2013-05-13 Thread Kuo-Jung Su
From: Kuo-Jung Su The Faraday FOTG210 is an OTG chip which could operate as either an EHCI Host or a USB Device at a time. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- Changes for v8: - Nothing updates Changes for v7: - Nothing updates Changes for v6: - Nothing updates Changes fo

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

2013-05-13 Thread Kuo-Jung Su
From: Kuo-Jung Su 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. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- Changes f

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

2013-05-13 Thread Kuo-Jung Su
From: Kuo-Jung Su 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 address space removed. 3

[U-Boot] [PATCH v8 2/4] usb: ehci: add weak-aliased function for PORTSC

2013-05-13 Thread Kuo-Jung Su
From: Kuo-Jung Su There is at least one non-EHCI compliant controller (i.e. Faraday EHCI) not only leave RESERVED and CONFIGFLAG registers un-implemented but also has their address spaces removed. As an result, the PORTSC register of Faraday EHCI always starts from 0x30 instead of 0x44 in standa

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

2013-05-13 Thread Kuo-Jung Su
From: Kuo-Jung Su 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 address removed. 3. Fara

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Tom Warren
Allen, > -Original Message- > From: Allen Martin [mailto:amar...@nvidia.com] > Sent: Monday, May 13, 2013 7:12 PM > To: Tom Warren > Cc: Simon Glass; Stephen Warren; U-Boot Mailing List > Subject: Re: [PATCH] Tegra: clk: always use find_best_divider() for periph > clocks > > On Mon, May 1

Re: [U-Boot] Question: issues for usb keyboard work with OHCI HCD

2013-05-13 Thread Marek Vasut
Dear Bo Shen, > Hi Marek, > > On 5/13/2013 23:12, Marek Vasut wrote: > > Dear Bo Shen, > > > >> Hi All, > >> > >> On 5/6/2013 11:01, Bo Shen wrote: > >>> Hi Marek, > >>> > >>> On 5/3/2013 21:40, Marek Vasut wrote: > Dear Bo Shen, > > > Hi All, > > > > Now, I test u

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Allen Martin
On Mon, May 13, 2013 at 10:24:17AM -0700, Tom Warren wrote: > Allen, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: Friday, May 10, 2013 8:06 PM > > To: Allen Martin > > Cc: Tom Warren; Stephen Warren; U-Boot Mailing List > >

Re: [U-Boot] [PATCH v2] arm: fix a comment

2013-05-13 Thread Masahiro Yamada
> Changed for v2: >- Fix one more comment I added one more comment line fixed at version 2. So, I am thinking the commit log should become "arm: fix comments" rather than "arm: fix a comment" Is it better to re-post my patch as version 3 with only commit log changed? Am I too worried about

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

2013-05-13 Thread Kuo-Jung Su
2013/5/13 Marek Vasut : > Dear Kuo-Jung Su, > >> 2013/5/13 Marek Vasut : >> > Dear Kuo-Jung Su, >> > >> >> From: Kuo-Jung Su >> >> >> >> 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 re

Re: [U-Boot] Question: issues for usb keyboard work with OHCI HCD

2013-05-13 Thread Bo Shen
Hi Marek, On 5/13/2013 23:12, Marek Vasut wrote: Dear Bo Shen, Hi All, On 5/6/2013 11:01, Bo Shen wrote: Hi Marek, On 5/3/2013 21:40, Marek Vasut wrote: Dear Bo Shen, Hi All, Now, I test usb host support with Atmel boards, for example, at91sam9x5ek board. When test OHCI USB

Re: [U-Boot] [Patch v2, batch 3 08/17] powerpc/85xx: fix build error introduced by serdes_get_prtcl

2013-05-13 Thread Andy Fleming
Hmmm... I see this is going to be a common thread for these patches... On Mon, Mar 25, 2013 at 12:39 PM, York Sun wrote: > From: Shengzhou Liu > > Removed unused declare serdes_get_prtcl() which was no longer needed. > > Signed-off-by: Shengzhou Liu > This is added by the patch RIGHT BEFORE

Re: [U-Boot] [Patch v2, batch 2 03/23] powerpc/pcie: add PCIe version 3.x support

2013-05-13 Thread Andy Fleming
On Mon, May 13, 2013 at 2:25 PM, York Sun wrote: > Andy, > > I think I caught this issue and asked Roy to submit another patch to fix > it http://patchwork.ozlabs.org/patch/230825/ We can't do it that way. I can't apply a patch which is known to break the build -- it breaks bisectability. Roy,

Re: [U-Boot] [PATCH 3/4] ELPPC: Don't write magic numbers via short.

2013-05-13 Thread Wolfgang Denk
Dear Tom Rini, In message <1368477117-32669-3-git-send-email-tr...@ti.com> you wrote: > We need to write each segment of the buffer directly rather than using > shorts. > > Cc: Frank Gottschling > Signed-off-by: Tom Rini > --- > board/eltec/elppc/misc.c |9 ++--- > 1 file changed, 6 in

Re: [U-Boot] [PATCH 4/4] mpc8323erdb: Update crc32 check of MAC

2013-05-13 Thread Wolfgang Denk
Dear Tom Rini, In message <1368477117-32669-4-git-send-email-tr...@ti.com> you wrote: > We need to cast to unsigned char, not unsigned short here to avoid a > warning. You fix the warning, but break the code. > Cc: Michael Barkowski > Signed-off-by: Tom Rini > --- > board/freescale/mpc8323erd

Re: [U-Boot] [PATCH 1/4] powerpc: Correct im_dprambase cast

2013-05-13 Thread Wolfgang Denk
Dear Tom Rini, In message <1368477117-32669-1-git-send-email-tr...@ti.com> you wrote: > When casting im_dprambase we must cast to unsigned char not unsigned > short. No, this is wrong. Now you write only 8 bit where 16 bit needs to be written. Best regards, Wolfgang Denk -- DENX Software En

Re: [U-Boot] [PATCH 2/4] mpc8xx: Correct cast of im_cpm.cp_dparam

2013-05-13 Thread Wolfgang Denk
Dear Tom Rini, In message <1368477117-32669-2-git-send-email-tr...@ti.com> you wrote: > We must cast this to unsigned char not unsigned short to avoid warnings. But this is wrong. We're actually reading a 16 bit value here. I think there was previous discussion, and Scott Wodd has a patch out t

Re: [U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module.

2013-05-13 Thread Wolfgang Denk
Dear "SARTRE Leo", In message <3465d313fdfb824f9a9c8cd24fa4f6bc0108c...@frontmail.adetel.com> you wrote: > > I will rework my patch taking all your remarks, and those from Wolfgang, into > acount, I just like to talk a bit about the problem of duplicated code that > you spooted. > This patch i

Re: [U-Boot] [PATCH v2] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT

2013-05-13 Thread Tom Rini
On Mon, May 13, 2013 at 03:07:57PM +0800, ying.zh...@freescale.com wrote: > From: Ying Zhang > > There will need the environment in SPL for reasons other than network > support (in particular, hwconfig contains info for how to set up DDR). > > Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace

Re: [U-Boot] [PATCH v3 0/16] Provide a mechanism to avoid using #ifdef everywhere

2013-05-13 Thread Simon Glass
Hi Tom, On Thu, Mar 21, 2013 at 7:38 AM, Tom Rini wrote: > On Tue, Feb 26, 2013 at 08:10:53AM -0800, Simon Glass wrote: > >> Many parts of the U-Boot code base are sprinkled with #ifdefs. This makes >> different boards compile different versions of the source code, meaning >> that we must build a

Re: [U-Boot] [PATCH] usb: asix: Move software resets to basic_init

2013-05-13 Thread Marek Vasut
Dear Joe Hershberger, > On Mon, May 13, 2013 at 10:14 AM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> From: Julius Werner > >> > >> The ASIX driver calls a basic_init() function during get_info(), so that > >> not all initialization tasks need to be redone on every init(). > >> Unfortuna

Re: [U-Boot] [RFC PATCH 0/15] RFC: Add tracing functionality to U-Boot

2013-05-13 Thread Simon Glass
Hi Tom, On Mon, May 13, 2013 at 2:36 PM, Tom Rini wrote: > On Sat, Apr 27, 2013 at 07:17:37PM -0700, Simon Glass wrote: > >> This series adds a tracing feature to U-Boot which is useful for >> profiling boot time and other purposes. >> >> The core trace library relies on standard gcc function ins

[U-Boot] Please pull u-boot-x86.git

2013-05-13 Thread Simon Glass
Hi Tom, The following changes since commit bbd0f7e3ba66d288a2f146f1c7797801e04598ae: Move FDT_RAMDISK_OVERHEAD from fdt.h to libfdt_env.h (2013-05-10 19:04:50 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to 8f0278eab4410

Re: [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage

2013-05-13 Thread Simon Glass
Hi Tom, On Mon, May 13, 2013 at 12:25 PM, Tom Rini wrote: > On Thu, May 09, 2013 at 02:22:32PM -0700, Simon Glass wrote: > >> Hi Tom, >> >> On Thu, Apr 25, 2013 at 3:12 PM, Simon Glass wrote: >> > Hi Vadim, >> > >> > On Thu, Apr 18, 2013 at 8:50 AM, Vadim Bendebury () >> > wrote: >> >> On

Re: [U-Boot] da850-evm: MMC-SD query

2013-05-13 Thread Tom Rini
On Sun, May 12, 2013 at 01:03:09AM +0530, Manish Badarkhe wrote: > Hi All > > May I know what is use of "CONFIG_DAVINCI_MMC_SD1" in case of da850-evm? > Currently, We are using instance 0 of MMC SD card in case of da850-evm. > I think this define (CONFIG_DAVINCI_MMC_SD1) is of no use for da850-ev

Re: [U-Boot] [PATCH v1 2/2] blackfin: bf609: add softswitch config command

2013-05-13 Thread Tom Rini
On Sat, May 11, 2013 at 10:50:23PM +0800, Sonic Zhang wrote: > Hi Tom > > > On Wed, Feb 27, 2013 at 4:37 PM, Sonic Zhang wrote: > > From: Bob Liu > > > > Add softswitch_output command for bf609-ezkit to enable softswitches. > > > > Signed-off-by: Bob Liu > > Signed-off-by: Sonic Zhang > > ---

Re: [U-Boot] [RFC PATCH 0/15] RFC: Add tracing functionality to U-Boot

2013-05-13 Thread Tom Rini
On Sat, Apr 27, 2013 at 07:17:37PM -0700, Simon Glass wrote: > This series adds a tracing feature to U-Boot which is useful for > profiling boot time and other purposes. > > The core trace library relies on standard gcc function instrumentation > and a microsecond timer which should work correctl

Re: [U-Boot] [Patch v2 2/4] NET: macb: support sama5d3x devices

2013-05-13 Thread Joe Hershberger
On Sun, May 12, 2013 at 6:33 AM, Andreas Bießmann wrote: > Dear Bo Shen, > > > On 12.03.2013 07:15, Bo Shen wrote: >> >> Add macb support for sama5d3x devices >> >> Signed-off-by: Bo Shen >> --- >> change in v2: >>No change >> --- >> drivers/net/macb.c |6 -- >> 1 file changed, 4 i

Re: [U-Boot] [PATCH] usb: asix: Move software resets to basic_init

2013-05-13 Thread Joe Hershberger
On Mon, May 13, 2013 at 10:14 AM, Marek Vasut wrote: > Dear Simon Glass, > >> From: Julius Werner >> >> The ASIX driver calls a basic_init() function during get_info(), so that >> not all initialization tasks need to be redone on every init(). >> Unfortunately, the most important one is still tri

[U-Boot] [PATCH 3/4] ELPPC: Don't write magic numbers via short.

2013-05-13 Thread Tom Rini
We need to write each segment of the buffer directly rather than using shorts. Cc: Frank Gottschling Signed-off-by: Tom Rini --- board/eltec/elppc/misc.c |9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/board/eltec/elppc/misc.c b/board/eltec/elppc/misc.c index 89f

[U-Boot] [PATCH 4/4] mpc8323erdb: Update crc32 check of MAC

2013-05-13 Thread Tom Rini
We need to cast to unsigned char, not unsigned short here to avoid a warning. Cc: Michael Barkowski Signed-off-by: Tom Rini --- board/freescale/mpc8323erdb/mpc8323erdb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mpc8323erdb/mpc8323erdb.c b/board/fre

[U-Boot] [PATCH 2/4] mpc8xx: Correct cast of im_cpm.cp_dparam

2013-05-13 Thread Tom Rini
We must cast this to unsigned char not unsigned short to avoid warnings. Cc: Wolfgang Denk Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc8xx/cpu.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c index

[U-Boot] [PATCH 1/4] powerpc: Correct im_dprambase cast

2013-05-13 Thread Tom Rini
When casting im_dprambase we must cast to unsigned char not unsigned short. Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc8260/commproc.c|2 +- arch/powerpc/cpu/mpc8260/cpu.c |2 +- arch/powerpc/cpu/mpc8260/i2c.c |8 arch/powerpc/cpu/mpc8260

Re: [U-Boot] [PULL] please pull u-boot-avr32/master

2013-05-13 Thread Tom Rini
On Mon, May 13, 2013 at 10:39:55AM +0200, Andreas Bie??mann wrote: > Dear Tom Rini, > > please pull the following change from u-boot-avr/master into u-boot/master. > > The following changes since commit bbd0f7e3ba66d288a2f146f1c7797801e04598ae: > > Move FDT_RAMDISK_OVERHEAD from fdt.h to libf

Re: [U-Boot] [PATCH] OMAP5: Add support for the SOM5_EVB board (OMAP5430-based)

2013-05-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/26/2013 11:59 AM, Lubomir Popov wrote: > Hi Tom, > > On 25/04/13 22:01, Tom Rini wrote: >> On Mon, Apr 01, 2013 at 05:06:16PM +0300, Lubomir Popov wrote: >> >>> Signed-off-by: Lubomir Popov >> >> Thought I had reviewed this already, sorry. >

Re: [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage

2013-05-13 Thread Tom Rini
On Thu, May 09, 2013 at 02:22:32PM -0700, Simon Glass wrote: > Hi Tom, > > On Thu, Apr 25, 2013 at 3:12 PM, Simon Glass wrote: > > Hi Vadim, > > > > On Thu, Apr 18, 2013 at 8:50 AM, Vadim Bendebury () > > wrote: > >> On Wed, Apr 17, 2013 at 7:13 PM, Simon Glass wrote: > >>> > >>> This ser

Re: [U-Boot] [Patch v2, batch 2 03/23] powerpc/pcie: add PCIe version 3.x support

2013-05-13 Thread York Sun
Andy, I think I caught this issue and asked Roy to submit another patch to fix it http://patchwork.ozlabs.org/patch/230825/ York On 05/13/2013 11:50 AM, Andy Fleming wrote: > This patch causes all sorts of problems. I'm NACKing it for now. Please > make sure none of these changes break 83xx befo

Re: [U-Boot] [PATCH] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT

2013-05-13 Thread Tom Rini
On Fri, May 10, 2013 at 07:28:46PM -0500, Scott Wood wrote: > On 05/10/2013 07:03:07 PM, Wolfgang Denk wrote: > >Dear ying.zh...@freescale.com, > > > >In message > ><1368182421-859-1-git-send-email-ying.zh...@freescale.com> you > >wrote: > >> From: Ying Zhang > >> > >> Add a new symbol CONFIG_SPL_

Re: [U-Boot] [Patch v2, batch 2 03/23] powerpc/pcie: add PCIe version 3.x support

2013-05-13 Thread Andy Fleming
This patch causes all sorts of problems. I'm NACKing it for now. Please make sure none of these changes break 83xx before re-submitting. On Mon, Mar 25, 2013 at 12:33 PM, York Sun wrote: > From: Roy ZANG > > T4240 PCIe IP is version 3.0 and has some update comparing previous > QorIQ products.

Re: [U-Boot] [v2] Please pull u-boot-mpc85xx.git

2013-05-13 Thread Andy Fleming
Ok, I'm not quite sure how that happened (I did test 83xx...), but I see it, now. I'm going to pull that patch, and apply some others, and I'll submit another pull request today. On Sat, May 11, 2013 at 7:29 AM, Tom Rini wrote: > On Fri, May 10, 2013 at 02:26:35PM -0500, Andy Fleming wrote: > >

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

2013-05-13 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 used).

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

2013-05-13 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard --- 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 100644 --- a/drivers/mmc/spl

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

2013-05-13 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 (FAT and raw). Changes since V2: - Drop RFC and adjust am335x nand

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

2013-05-13 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 Korsga

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

2013-05-13 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard --- 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 --- a/drivers/mmc/spl_mmc.c +++ b/d

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

2013-05-13 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard --- 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 7efdcb8..0c50657 100644 ---

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

2013-05-13 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 CONFIG_SYS_MMCSD_RAW_MODE_ARGS_

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

2013-05-13 Thread Tom Rini
From: Steve Kipisz 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 Kipisz [trini: Clean

[U-Boot] [PATCH v2 5/7] am335x_evm: Rework board_is_foo() checks

2013-05-13 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 v2 7/7] am335x_evm: Add support to boot from NOR.

2013-05-13 Thread Tom Rini
From: Steve Kipisz 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 768KiB. We avoid u

[U-Boot] [PATCH v2 4/7] am335x_evm: Only set CONFIG_NAND when !CONFIG_SPI_BOOT

2013-05-13 Thread Tom Rini
Due to hardware design the board supported by the am335x_evm config cannot have both NAND and SPI (or NOR) enabled at the same time due to conflicts. Disable the NAND SW stack when we know we can't have it present. Signed-off-by: Tom Rini --- Changes in v2: - Reword commit message --- include/

[U-Boot] [PATCH v2 3/7] am335x_evm: Update SPI_BOOT support, add MTDPARTS info

2013-05-13 Thread Tom Rini
- Style cleanup (# define -> #define) - Due to ROM issues, redudant loading isn't feasible, so drop. - Given extra space, increase max size of U-Boot to 512KiB - Correct env size to match usage (we had not re-defined ENV_SIZE). - Given extra space, keep env size as 128KiB, add redundant environment

[U-Boot] [PATCH v2 2/7] am335x_evm: Drop useless CONFIG_ENV_IS_NOWHERE

2013-05-13 Thread Tom Rini
We always set a CONFIG_ENV_IS_...somewhere... so drop the initial define of NOWHERE. Reviewed-by: Peter Korsgaard Signed-off-by: Tom Rini --- 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

[U-Boot] [PATCH v2 1/7] am33xx/omap3: Clean up gpmc_init slightly

2013-05-13 Thread Tom Rini
We don't really need the gpmc_config, base and size variables and can just call enable_gpmc_cs_config more directly, like the boards which need to re-configure CS0 or CS1 do. Signed-off-by: Tom Rini --- Changes in v2: - New patch --- arch/arm/cpu/armv7/am33xx/mem.c | 12 ++-- arch/arm

Re: [U-Boot] [PATCH 3/3] usb: Correct CLEAR_FEATURE code in ehci-hcd

2013-05-13 Thread Julius Werner
Thanks for taking charge of this Simon, looks good to me. Good catch with the missing break! Now that I look at it, the FEAT_C_ENABLE section seems to be broken as well, it should be setting EHCI_PS_PEC instead of EHCI_PS_PE. Maybe that code path is never used in practice. Acked-by: Julius Werner

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Allen Martin
On Mon, May 13, 2013 at 10:24:17AM -0700, Tom Warren wrote: > Allen, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: Friday, May 10, 2013 8:06 PM > > To: Allen Martin > > Cc: Tom Warren; Stephen Warren; U-Boot Mailing List > >

Re: [U-Boot] [PATCH] Tegra: clk: always use find_best_divider() for periph clocks

2013-05-13 Thread Tom Warren
Allen, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, May 10, 2013 8:06 PM > To: Allen Martin > Cc: Tom Warren; Stephen Warren; U-Boot Mailing List > Subject: Re: [PATCH] Tegra: clk: always use find_best_divider() for periph >

[U-Boot] [PATCH v02 2/2] OMAP5: add ABB setup for MPU voltage domain

2013-05-13 Thread Andrii Tseglytskyi
Patch adds a call of abb_setup() function, and proper registers definitions needed for ABB setup sequence. ABB is initialized for MPU voltage domain. Signed-off-by: Andrii Tseglytskyi --- arch/arm/cpu/armv7/omap-common/clocks-common.c |9 + arch/arm/cpu/armv7/omap5/prcm-regs.c

[U-Boot] [PATCH v02 0/2] OMAP3+: introduce generic Adaptive Body Bias Support

2013-05-13 Thread Andrii Tseglytskyi
Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ldos are present for some voltage domains: starting with OMAP3630. There are three modes of operation: * Bypass - the default, it just follows the vdd

[U-Boot] [PATCH v02 1/2] OMAP3+: introduce generic ABB support

2013-05-13 Thread Andrii Tseglytskyi
Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ldos are present for some voltage domains starting with OMAP3630. There are three modes of operation: * Bypass - the default, it just follows the vdd v

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

2013-05-13 Thread Tom Rini
On Mon, May 13, 2013 at 08:24:23AM -0400, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/12/2013 05:10 PM, Peter Korsgaard wrote: > >> "Tom" == Tom Rini writes: > > > > Tom> Signed-off-by: Tom Rini Tom> --- Tom> > > include/configs/am335x_evm.h |7 +++ To

Re: [U-Boot] [PATCH] usb: asix: Move software resets to basic_init

2013-05-13 Thread Marek Vasut
Dear Simon Glass, > From: Julius Werner > > The ASIX driver calls a basic_init() function during get_info(), so that > not all initialization tasks need to be redone on every init(). > Unfortunately, the most important one is still triggered too often: the > driver does a full port and MII reset

Re: [U-Boot] Question: issues for usb keyboard work with OHCI HCD

2013-05-13 Thread Marek Vasut
Dear Bo Shen, > Hi All, > > On 5/6/2013 11:01, Bo Shen wrote: > > Hi Marek, > > > > On 5/3/2013 21:40, Marek Vasut wrote: > >> Dear Bo Shen, > >> > >>> Hi All, > >>> > >>> Now, I test usb host support with Atmel boards, for example, > >>> > >>> at91sam9x5ek board. > >>> > >>> When te

Re: [U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module.

2013-05-13 Thread SARTRE Leo
On Monday 13 May 2013 14:58:32, Stefano Babic wrote : > On 13/05/2013 14:02, SARTRE Leo wrote: > > Signed-off-by: Leo Sartre > > --- > > Hi Leo, Hi Stefano, I will rework my patch taking all your remarks, and those from Wolfgang, into acount, I just like to talk a bit about the problem of dupl

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

2013-05-13 Thread Marek Vasut
Dear Kuo-Jung Su, > 2013/5/13 Marek Vasut : > > Dear Kuo-Jung Su, > > > >> From: Kuo-Jung Su > >> > >> 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 >

Re: [U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-13 Thread Andrii Tseglytskyi
On 05/13/2013 05:58 PM, Nishanth Menon wrote: Few minor comments follow: On 17:15-20130513, Andrii Tseglytskyi wrote: diff --git a/arch/arm/cpu/armv7/omap-common/abb.c b/arch/arm/cpu/armv7/omap-common/abb.c new file mode 100644 index 000..7ade110 --- /dev/null +++ b/arch/arm/cpu/armv7

Re: [U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module.

2013-05-13 Thread Eric Bénard
Hi Leo, Le Mon, 13 May 2013 14:02:57 +0200, "SARTRE Leo" a écrit : > diff --git a/board/freescale/cgtqmx6/cgtqmx6.c > b/board/freescale/cgtqmx6/cgtqmx6.c > new file mode 100644 > index 000..ed5476a > --- /dev/null > +++ b/board/freescale/cgtqmx6/cgtqmx6.c > @@ -0,0 +1,630 @@ > +/* > + * Copy

Re: [U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-13 Thread Nishanth Menon
Few minor comments follow: On 17:15-20130513, Andrii Tseglytskyi wrote: > diff --git a/arch/arm/cpu/armv7/omap-common/abb.c > b/arch/arm/cpu/armv7/omap-common/abb.c > new file mode 100644 > index 000..7ade110 > --- /dev/null > +++ b/arch/arm/cpu/armv7/omap-common/abb.

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

2013-05-13 Thread Scott Wood
On 05/13/2013 05:17:40 AM, Zhang Ying-B40530 wrote: > diff --git a/spl/Makefile b/spl/Makefile > index b5a8de7..3a3b868 100644 > --- a/spl/Makefile > +++ b/spl/Makefile > @@ -51,6 +51,9 @@ LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o > endif > ifeq ($(CPU),mpc85xx) > LIBS-y += arch/powerpc/cp

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

2013-05-13 Thread Julius Hemanth P
Hi Bo, Thanks for the reference. On Mon, May 13, 2013 at 8:09 AM, Bo Shen wrote: > Hi Julius, > > > On 5/11/2013 13:01, Julius Hemanth P wrote: >> >> If Bo doesn't have any code in pipeline as of now, then I shall start >> working on it. > > > Now, I don't have code in pipeline, you can work thi

[U-Boot] [PATCH v1 2/2] OMAP5: add ABB setup for MPU voltage domain

2013-05-13 Thread Andrii Tseglytskyi
From: "Andrii.Tseglytskyi" Patch adds a call of abb_setup() function, and proper registers definitions needed for ABB setup sequence. ABB is initialized for MPU voltage domain. Signed-off-by: Andrii.Tseglytskyi --- arch/arm/cpu/armv7/omap-common/clocks-common.c |9 + arch/arm/cpu/a

[U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-13 Thread Andrii Tseglytskyi
Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ldos are present for some voltage domains starting with OMAP3630. There are three modes of operation: * Bypass - the default, it just follows the vdd v

[U-Boot] [PATCH v1 0/2] OMAP3+: introduce generic Adaptive Body Bias Support

2013-05-13 Thread Andrii Tseglytskyi
From: "Andrii.Tseglytskyi" Adaptive Body Biasing (ABB) modulates transistor bias voltages dynamically in order to optimize switching speed versus leakage. Adaptive Body-Bias ldos are present for some voltage domains: starting with OMAP3630. There are three modes of operation: * Bypass - the defa

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

2013-05-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/2013 05:53 PM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > >>> Why not use SPL when booting from NOR as well? You still want >>> to relocate into DDR. > > Tom> Frankly, I'm allergic to SPL for NOR. It's the historical and > w

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

2013-05-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/2013 05:19 PM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > > Space missing after ':' in subject. Whoops. > Tom> From: Steve Kipisz Tom> This patch adds > support for the NOR module that attaches Tom> to the memory cape > f

Re: [U-Boot] [PATCH 2/2] Add instruction file (based on the README for the sabrelite) for booting the Congatec board from SD-Card.

2013-05-13 Thread Stefano Babic
On 13/05/2013 14:02, SARTRE Leo wrote: > Signed-off-by: Leo Sartre > --- > board/freescale/cgtqmx6/README | 35 +++ > 1 file changed, 35 insertions(+) > create mode 100644 board/freescale/cgtqmx6/README > > diff --git a/board/freescale/cgtqmx6/README b/board/fr

Re: [U-Boot] [PATCH 2/2] Add instruction file (based on the README for the sabrelite) for booting the Congatec board from SD-Card.

2013-05-13 Thread Wolfgang Denk
Dear "SARTRE Leo", In message <3465d313fdfb824f9a9c8cd24fa4f6bc0108c...@frontmail.adetel.com> you wrote: > Signed-off-by: Leo Sartre > --- > board/freescale/cgtqmx6/README | 35 +++ > 1 file changed, 35 insertions(+) > create mode 100644 board/freescale/cgtqmx

Re: [U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module.

2013-05-13 Thread Stefano Babic
On 13/05/2013 14:02, SARTRE Leo wrote: > Signed-off-by: Leo Sartre > --- Hi Leo, > board/freescale/cgtqmx6/Makefile | 42 +++ > board/freescale/cgtqmx6/cgtqmx6.c | 627 > + > boards.cfg|1 + > include/configs/cgtqmx6.h

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

2013-05-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/2013 05:10 PM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > > Tom> Signed-off-by: Tom Rini Tom> --- Tom> > include/configs/am335x_evm.h |7 +++ Tom> 1 file changed, 7 > insertions(+) > > Tom> diff --git a/include/confi

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

2013-05-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/12/2013 05:08 PM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > > Tom> Due to hardware design, we can't have NAND present (as we know > of NAND Tom> today) when booting from SPI, so disable NAND then as > that simplifies Tom> logic.

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Łukasz Dałek
On 13.05.2013 12:23, Vivek Gautam wrote: Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. Signed-off-by: Vivek Gautam Cc: Lukasz Majewski Cc: Piotr Wilczek Cc: Kyungmin Park Cc: Lukasz Dalek Cc: Marek Vasut --- Just did a build test on u-boot-usb/m

[U-Boot] [PATCH 2/2] Add instruction file (based on the README for the sabrelite) for booting the Congatec board from SD-Card.

2013-05-13 Thread SARTRE Leo
Signed-off-by: Leo Sartre --- board/freescale/cgtqmx6/README | 35 +++ 1 file changed, 35 insertions(+) create mode 100644 board/freescale/cgtqmx6/README diff --git a/board/freescale/cgtqmx6/README b/board/freescale/cgtqmx6/README new file mode 100644 index 000

[U-Boot] [PATCH] Add minimal support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module.

2013-05-13 Thread SARTRE Leo
Signed-off-by: Leo Sartre --- board/freescale/cgtqmx6/Makefile | 42 +++ board/freescale/cgtqmx6/cgtqmx6.c | 627 + boards.cfg|1 + include/configs/cgtqmx6.h | 294 + 4 files changed, 964 insertions(+) c

[U-Boot] [PATCH 0/2] Add support for Congatec Conga-QEVAl board

2013-05-13 Thread SARTRE Leo
This patch add support for Congatec Conga-QEVAl Evaluation Carrier Board with a conga-Qmx6 module, more information can be found on the official website: http://www.congatec.com/en/products/accessories/dView/conga-qeval.html Files are based on the sabrelite configuration files because it uses

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Albert ARIBAUD
Hi Kyungmin, On Mon, 13 May 2013 19:50:28 +0900, Kyungmin Park wrote: > On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam wrote: > > > Use get_unaligned() while fetching wMaxPacketSize to avoid > > voilating any alignment rules. > > > > It's another story, can we get performance gain with unaligne

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Vivek Gautam
Hi, On Mon, May 13, 2013 at 4:20 PM, Kyungmin Park wrote: > On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam wrote: > >> Use get_unaligned() while fetching wMaxPacketSize to avoid >> voilating any alignment rules. typo here s/voilating/violating >> > > It's another story, can we get performance g

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

2013-05-13 Thread Albert ARIBAUD
On Fri, 10 May 2013 11:24:44 +0200, Albert ARIBAUD wrote: > Sorry for not spotting this before it was merged in; but now this must > be fixed. I'm ok with the wrongly-ulong symbols being changed back to > char[], though I would prefer their type to be char[0] if possible, as > this is (admittedly

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

2013-05-13 Thread Albert ARIBAUD
Hi Andreas, On Mon, 13 May 2013 10:35:12 +0200, "Andreas Bießmann" wrote: > Hi Albert, > > On 05/10/2013 05:09 PM, Albert ARIBAUD wrote: > > Hi Andreas, > > > > On Fri, 10 May 2013 12:57:21 +0200, "Andreas Bießmann" > > wrote: > > > >> Hi Albert, > >> > >> On 05/10/2013 11:24 AM, Albert ARIB

Re: [U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Kyungmin Park
On Mon, May 13, 2013 at 7:23 PM, Vivek Gautam wrote: > Use get_unaligned() while fetching wMaxPacketSize to avoid > voilating any alignment rules. > It's another story, can we get performance gain with unaligned access feature? In case of kernel, we got some gains. Anyway, good job! Acked-by: K

Re: [U-Boot] [PATCH] .gitignore: add GNU GLOBAL files

2013-05-13 Thread Masahiro Yamada
Hi, Wolfgang Denk. > Please excuse my ignorance - but which tool would create such files? GNU GLOBAL creates them. Please refer to Please see Linux Kernel topleve .gitignore too. The following lines are included. > +# gnu global files > +GPATH > +GRTAGS > +

[U-Boot] [PATCH 2/2] usb: gadget: Use unaligned access for wMaxPacketSize

2013-05-13 Thread Vivek Gautam
Use get_unaligned() while fetching wMaxPacketSize to avoid voilating any alignment rules. Signed-off-by: Vivek Gautam Cc: Lukasz Majewski Cc: Piotr Wilczek Cc: Kyungmin Park Cc: Lukasz Dalek Cc: Marek Vasut --- Just did a build test on u-boot-usb/master branch. Need to be tested further. B

[U-Boot] [PATCH 1/2] usb: Use get_unaligned() in usb_endpoint_maxp() for wMaxPacketSize

2013-05-13 Thread Vivek Gautam
Use unaligned access to fetch wMaxPacketSize in usb_endpoint_maxp() api. In its absence we see following data abort message: == data abort MAYBE you should read doc/README.arm-unaligned-accesses pc : [] lr : [] sp : bf37c7b0

  1   2   >