Re: [U-Boot] [PATCH RFC] dfu: ram support

2013-09-08 Thread Lukasz Majewski
Hi Afzal Mohammed, > DFU spec mentions it as a method to upgrade firmware (software stored > in writable non-volatile memory). It also says other potential uses of > DFU is beyond scope of the spec. > > Here such a beyond the scope use is being attempted - directly pumping > binary images from ho

Re: [U-Boot] [PATCH] PCIe:Add a function to get the address of requested capability structure.

2013-09-08 Thread Wolfgang Denk
Dear Zhao Qiang, In message <1378689694-26708-1-git-send-email-b45...@freescale.com> you wrote: > Add a function to get the address of requested capability structure in PCIe > configuration space by capability ID. > The step of this function: > 1. Read Status register in PCIe configuration s

Re: [U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-08 Thread Wolfgang Denk
Dear Rob Herring, In message <1378671174-18535-1-git-send-email-robherri...@gmail.com> you wrote: > From: Rob Herring > > Much of the ARM timer code is re-implemented for each platform yet it > is all pretty much the same code. > > This series introduces a common implementation of timer functio

[U-Boot] [i2c] Pull request

2013-09-08 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c: The following changes since commit 1affd4d4a3fe512050e1ad1636d9360c670da531: cam_enc_4xx: Move CONFIG_SPL_PAD_TO to a config header (2013-09-06 13:09:08 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for you

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Fix the I2C bus speed error on p1022

2013-09-08 Thread Heiko Schocher
Hello yuantian.t...@freescale.com, Am 06.09.2013 04:45, schrieb yuantian.t...@freescale.com: From: Tang Yuantian The source clock frequency of I2C bus on p1022 is the platform(CCB) clock, not CCB/2. The wrong source clock frequency leads to wrong I2C bus speed setting. so, fixed it. Signed-off

Re: [U-Boot] [PATCH] SPL: P1022DS: switch to new multibus/multiadapter support

2013-09-08 Thread Heiko Schocher
Hello ying.zh...@freescale.com, Am 04.09.2013 11:05, schrieb ying.zh...@freescale.com: From: Ying Zhang - Added section "u_boot_list" in arch/powerpc/cpu/mpc85xx/u-boot-spl.lds - Use the function i2c_init_all instead of i2c_init Signed-off-by: Ying Zhang --- arch/powerpc/cpu/mpc85xx/u-boot-s

Re: [U-Boot] mxc_i2c: add new i2c subsystem support

2013-09-08 Thread Heiko Schocher
Hello Philippe, Am 07.09.2013 09:41, schrieb Philippe Reynes: Hi Heiko, The mxc_i2c driver use the legacy framework. I plan to move this driver to new i2c subsystem (CONFIG_SYS_I2C). Great! Is someone already working on this task ? I think not ... If no, I propose to only add new i2c su

[U-Boot] [PATCH] PCIe:Add a function to get the address of requested capability structure.

2013-09-08 Thread Zhao Qiang
Add a function to get the address of requested capability structure in PCIe configuration space by capability ID. The step of this function: 1. Read Status register in PCIe configuration space to confirm that Capabilities List is valid. 2. Find the address of Capabilities

Re: [U-Boot] [PATCH 5/9] ARM: mx25: convert to common timer code

2013-09-08 Thread Benoît Thébaudeau
Dear Rob Herring, On Sunday, September 8, 2013 10:12:50 PM, Rob Herring wrote: > From: Rob Herring > > Convert mx25 to use the commmon timer code. > > Signed-off-by: Rob Herring > --- [...] > diff --git a/include/configs/mx25pdk.h b/include/configs/mx25pdk.h > index ccd3b6c..568ed6c 100644 > -

[U-Boot] uboot: PCI resource allocation

2013-09-08 Thread Sasikanth babu
Hello all, Does u-boot is responsible to allocate resource for PCI bridges and devices? If yes, is it possible to increase the PCI resource allocation for a bridge/root bus?. The problem I have been facing is 1. When the device is in reset mode neither u-boot nor linux pci code detec

[U-Boot] [PATCH 3/9] time: create default __udelay

2013-09-08 Thread Rob Herring
From: Rob Herring Implement a default __udelay using get_tbclk and get_ticks. Signed-off-by: Rob Herring --- lib/time.c | 21 + 1 file changed, 21 insertions(+) diff --git a/lib/time.c b/lib/time.c index 68b8ff4..55f05bb 100644 --- a/lib/time.c +++ b/lib/time.c @@ -7,11 +7

[U-Boot] [PATCH 0/9] Consolidate ARM timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Much of the ARM timer code is re-implemented for each platform yet it is all pretty much the same code. This series introduces a common implementation of timer functions and simplifies the platform code down to 2 or 3 config defines. It is intended for platforms with 32-bit fre

[U-Boot] [PATCH 9/9] ARM: tegra: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert tegra to use the commmon timer code. Signed-off-by: Rob Herring --- arch/arm/cpu/tegra-common/Makefile | 2 +- arch/arm/cpu/tegra-common/timer.c | 95 -- include/configs/tegra-common.h | 3 ++ 3 files changed, 4 insertions(+)

[U-Boot] [PATCH 2/9] examples: enable gc-sections option

2013-09-08 Thread Rob Herring
From: Rob Herring This fixes building time.c when unreferenced functions are added. Signed-off-by: Rob Herring --- examples/api/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/api/Makefile b/examples/api/Makefile index 4d68340..33cc91b 100644 --- a/example

[U-Boot] [PATCH 8/9] ARM: socfpga: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert socfpga to use the commmon timer code. Signed-off-by: Rob Herring --- arch/arm/cpu/armv7/socfpga/timer.c | 72 -- include/configs/socfpga_cyclone5.h | 3 +- 2 files changed, 2 insertions(+), 73 deletions(-) diff --git a/arch/arm/c

[U-Boot] [PATCH 7/9] ARM: vexpress: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert vexpress to use the commmon timer code. Signed-off-by: Rob Herring --- board/armltd/vexpress/vexpress_common.c | 71 - include/configs/vexpress_common.h | 4 ++ 2 files changed, 4 insertions(+), 71 deletions(-) diff --git a/boar

[U-Boot] [PATCH 4/9] ARM: highbank: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert highbank to use the commmon timer code. Signed-off-by: Rob Herring --- arch/arm/cpu/armv7/highbank/timer.c | 83 - include/configs/highbank.h | 4 ++ 2 files changed, 4 insertions(+), 83 deletions(-) diff --git a/arch/arm

[U-Boot] [PATCH 6/9] ARM: mx27: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert mx27 to use the commmon timer code. Signed-off-by: Rob Herring --- arch/arm/cpu/arm926ejs/mx27/timer.c | 110 include/configs/imx27lite-common.h | 3 + 2 files changed, 3 insertions(+), 110 deletions(-) diff --git a/arch/arm/cp

[U-Boot] [PATCH 1/9] ARM: add common timer functions

2013-09-08 Thread Rob Herring
From: Rob Herring Many ARM platforms duplicate pretty much the same timer code yet they all have a 32-bit freerunning counter register. Create a common implementation that simply requires 3 defines to add timer support: CONFIG_SYS_TIMER_RATE - Clock rate of the timer counter CONFIG_SYS_TIMER_COU

[U-Boot] [PATCH 5/9] ARM: mx25: convert to common timer code

2013-09-08 Thread Rob Herring
From: Rob Herring Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring --- arch/arm/cpu/arm926ejs/mx25/timer.c | 117 include/configs/mx25pdk.h | 3 + include/configs/tx25.h | 2 + include/configs/zmx25.h

Re: [U-Boot] [PATCH 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-09-08 Thread Gerhard Sittig
On Sun, Sep 08, 2013 at 10:42 +0900, Masahiro Yamada wrote: > > First of all, this series convert makefiles in sub directories > to Kbuild style. > > What this series do is quite simple: > - Moving common lines in sub makefiles to a new file 'scripts/Makefile.build' > - Renaming COBJS-y and SOB

[U-Boot] [PATCH RFC] dfu: ram support

2013-09-08 Thread Afzal Mohammed
DFU spec mentions it as a method to upgrade firmware (software stored in writable non-volatile memory). It also says other potential uses of DFU is beyond scope of the spec. Here such a beyond the scope use is being attempted - directly pumping binary images from host via USB to RAM. This facility

[U-Boot] [PATCH] Fix loading freeze when netconsole is active

2013-09-08 Thread Frédéric Leroy
Netconsole calls eth_halt() before giving control to another operating system. But the state machine of netconsole don't take it into account. Thus, netconsole calls network functions of an halted network device, making the whole system freeze. Rather than modifying the state machine of netconsole,

Re: [U-Boot] [PATCH v2] mmc: don't support write & erase for SPL builds

2013-09-08 Thread Andreas Bießmann
Dear Paul Burton, On 06.09.13 15:43, Paul Burton wrote: > For SPL builds this is just dead code since we'll only need to read. > Eliminating it results in a significant size reduction for the SPL > binary, which may be critical for certain platforms where the binary > size is highly constrained. >

Re: [U-Boot] [PATCH v3 0/3] arm: add support for LaCie CloudBox

2013-09-08 Thread Frédéric Leroy
Le 02/07/2013 00:24, Prafulla Wadaskar a écrit : > > -Original Message- > > From: Frédéric Leroy [mailto:fr...@starox.org] > > Sent: 01 July 2013 18:28 > > To: u-boot@lists.denx.de > > Cc: Wolfgang Denk; Prafulla Wadaskar; Albert ARIBAUD; > > Simon Guinot > > Subject: [PATCH v3 0/3] arm: ad