Re: [U-Boot] [PATCH v2 3/9] arc: add library functions

2014-01-29 Thread Wolfgang Denk
Dear Mischa, In message you wrote: > > checkpatch says: > > > > WARNING: line over 80 characters > > #610: FILE: arch/arc/lib/relocate.c:61: > > + debug(" %p: rom reloc %x, ram %p, value > > %x, > > limit %x\n", > > In the Linux kernel this is OK if it is a st

Re: [U-Boot] [PATCH v2 2/9] arc: add cpu files

2014-01-29 Thread Wolfgang Denk
Dear Mischa, In message you wrote: > > > +void icache_enable(void) > > > +{ > > > + write_aux_reg(ARC_REG_IC_CTRL, read_aux_reg(ARC_REG_IC_CTRL) & > > > + ~IC_CTRL_CACHE_DISABLE); > > > +} > > > > > > I missed this in patch # 1 - why do you need these read_aux_reg() / > > write_

Re: [U-Boot] [RFC] [PATCH] omap3_beagle: fdt: xMA/B set hsusb2_power_reg active-high

2014-01-29 Thread Tom Rini
On Wed, Jan 29, 2014 at 03:55:36PM -0600, Robert Nelson wrote: > > Well, we have per-platform fixups in the tree today. However this now > > means that only u-boot is going to provide a correct and fully > > functional tree for those revs, which isn't good imho for the > > beagleboard community us

Re: [U-Boot] [PATCH 1/6] arch: kona: Initial commit of kona-common architecture code

2014-01-29 Thread Tom Rini
On Mon, Jan 27, 2014 at 10:53:25AM -0800, Darwin Rambo wrote: > The Kona architecture is present on a number of Broadcom mobile SoCs > including the bcm281xx family of chips. [snip] > +int __weak clk_sdio_enable(void *base, u32 rate, u32 *actual_ratep) > +{ > + return 0; > +} > +int __weak clk

Re: [U-Boot] [PATCH 0/6] Introducing the Broadcom bcm281xx Architecture

2014-01-29 Thread Tom Rini
On Mon, Jan 27, 2014 at 10:53:24AM -0800, Darwin Rambo wrote: > This patchset introduces the Broadcom bcm281xx family of mobile SoC > chips. Broadcom kona hardware blocks are often found in Broadcom mobile > SoC chips including the bcm281xx family, so support for some of these > kona blocks is a

Re: [U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-29 Thread Tom Rini
On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote: > Add bcm281xx architecture support code including a clock framework and > chip reset. Define register block base addresses for the bcm281xx > architecture and create an empty gpio header file required when > CONFIG_CMD_GPIO is set. [s

Re: [U-Boot] [PATCH] board: nios2: Check if flash is configured before calling early_flash_cmd_reset()

2014-01-29 Thread Tom Rini
On Tue, Jan 28, 2014 at 07:19:06AM -0300, Ezequiel Garcia wrote: > If CONFIG_CFI_FLASH_MTD is not defined, then we shouldn't perform the > flash early reset. > > This commit fixes the following build error: > > nios2-generic.c: In function `__early_flash_cmd_reset': > nios2-generic.c:23: err

Re: [U-Boot] sandbox: Use system headers first for sandbox's os.c in a different way

2014-01-29 Thread Tom Rini
On Tue, Nov 26, 2013 at 04:13:59PM +0900, Masahiro wrote: > Commit cbe5cdfcd changed config.mk and arch/sandbox/cpu/Makefile > to use -idirafter instead of -I and remove -nostdinc. > > But > * Sandbox-specific code dirties config.mk > * os.c is compiled without such compiler flags as: > -

Re: [U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-29 Thread Tom Rini
On Mon, Jan 27, 2014 at 10:53:30AM -0800, Darwin Rambo wrote: > Add support for the bcm28155_ap reference board. > > Signed-off-by: Darwin Rambo > Reviewed-by: Steve Rae > Reviewed-by: Tim Kryger [snip] > + gd->ram_size = CONFIG_SYS_SDRAM_SIZE; Please use get_ram_size(...); > +/* Memory

Re: [U-Boot] [PATCH] arm/da850 : [RFC] add bootdsp to cmd_elf

2014-01-29 Thread Tom Rini
On Mon, Jan 27, 2014 at 05:28:22PM +0100, Paul Chavent wrote: > On platform with a DSP co-processor, add a command to boot an elf on > it. > > * Test * > > This patch has been tested on an OMAP-L138 EVM with DSP code generated > with TI's code generation tools 7.4.6 with the --abi=eabi option. >

Re: [U-Boot] [PATCH] powerpc/t104xrdb: Add basic ethernet support

2014-01-29 Thread York Sun
On 01/27/2014 10:44 PM, Priyanka Jain wrote: > This covers only non-L2 switch ethernet interfaces i.e. > RGMII and SGMII interface for both > -T1040RDB > -T1042RDB_PI > > T1040RDB is configured as serdes protocol 0x66 which can > support following interfaces > -2 RGMIIS on DTSEC4, DTSEC5 > -1 SGM

Re: [U-Boot] [PATCH v2 3/9] kmp204x: I2C deblocking for I2C-bus1 added

2014-01-29 Thread York Sun
On 01/27/2014 02:49 AM, Valentin Longchamp wrote: > From: Rainer Boschung > > -uses common deblocking algorithm from ../common/common.c I don't see any algorithm in the common.c file. > -supports deblocking of of I2C-bus1 by means of QRIO GPIO > - SCL1 = GPIO_A16 > - SDA1 = GPIO_A17 > > Q

[U-Boot] [PATCH 0/3] Adjust and fix kernel-doc

2014-01-29 Thread Masahiro Yamada
"make %docs" have not worked for a while. This problem was reported by Abraham Varricatt: "make htmldocs" gives error http://u-boot.10912.n7.nabble.com/quot-make-htmldocs-quot-gives-error-td168840.html This series adjust kernel doc stuff to the current build system and fix errors. After applyin

[U-Boot] [PATCH 3/3] kernel-doc: fix some errors

2014-01-29 Thread Masahiro Yamada
- Delete fs.xml from DOCBOOKS to fix an error Commit e3ff797c added fs.xml to DOCBOOKS but missed to add doc/DocBook/fs.tmpl - Fix the location of include guard in include/linker_lists.h Signed-off-by: Masahiro Yamada Reported-by: Abraham Varricatt --- This problem was reported by

[U-Boot] [PATCH 1/3] kernel-doc: move kernel-doc tools to scripts/

2014-01-29 Thread Masahiro Yamada
tools/kernel-doc/docproc.c and tools/kernel-doc/kernel-doc are script files imported Linux Kernel. They originally resided under scripts/ directory in Linux Kernel. This commit moves them to the original location. Signed-off-by: Masahiro Yamada --- Makefile | 1

[U-Boot] [PATCH 2/3] kernel-doc: update kernel-doc related files to Linux v3.13

2014-01-29 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- doc/DocBook/stylesheet.xsl | 1 - scripts/docproc.c | 72 +++- scripts/kernel-doc | 74 +++--- 3 files changed, 101 insertions(+), 46 deletions(-) diff --git a/do

Re: [U-Boot] "make htmldocs" gives error

2014-01-29 Thread Masahiro Yamada
Hello Abraham, On Tue, 3 Dec 2013 14:25:44 +0530 "Abraham V." wrote: > Hello everyone, > (cc Simon Glass) > > I just tried to make the documentation for uboot with the following > command (checked out latest mainline sources); > > [snip] > We can see that there's some issue with parsing the c

[U-Boot] Compilation

2014-01-29 Thread JYOTI DUBEY
Can anyone inform me the steps for compiling and running the u-boot source code? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] designware_i2c: Enhance DesignWare I2C driver address support

2014-01-29 Thread Heiko Schocher
Hello Chin, Am 22.01.2014 16:37, schrieb Chin Liang See: Thanks Alexey. Hi Heiko, I believe this patch should be good for apply. Would need your help then. :) Thanks Chin Liang On Wed, 2014-01-15 at 15:51 +, Alexey Brodkin wrote: On Wed, 2014-01-15 at 09:45 -0600, Chin Liang See wrote:

Re: [U-Boot] [PATCH v2 1/2] i2c: zynq: Support for 0-length register address

2014-01-29 Thread Heiko Schocher
Hello Michal, Am 22.01.2014 09:46, schrieb Michal Simek: From: Michael Burr Fixed bug with alen == 0 in 'i2c_write', 'i2c_read' Further minor corrections: - Write 'address' register before 'data' register. - Write 'transfer_size' register before 'address' register. Signed-off-by: Michael Burr

Re: [U-Boot] [PATCH v2 2/2] i2c: zynq: Add support for the second i2c controller

2014-01-29 Thread Heiko Schocher
Hello Michal, Am 22.01.2014 09:46, schrieb Michal Simek: From: Michael Burr Initialize the second i2c controller. Signed-off-by: Michael Burr Signed-off-by: Michal Simek --- Changes in v2: None Changes in v1: - Based on original thread from Michael Burr http://lists.denx.de/pipermail/u-boo

Re: [U-Boot] [PATCH 1/4] blackfin: the sclk MHz in i2c driver should be divided by 1000 other than 1024

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang Signed-off-by: Sonic Zhang --- drivers/i2c/bfin-twi_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-i2c.git, thanks! bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk

[U-Boot] [PATCH] powerpc/usb: Workaround for erratum-A006261

2014-01-29 Thread Suresh Gupta
USB spec says that the minimum disconnect threshold should be over 525 mV. However, internal USB PHY threshold value is below this specified value. Due to this some devices disconnect at run-time. Hence, phy settings are tweaked to increased disconnect thresh

Re: [U-Boot] [PATCH 2/4] blackfin: add spi and i2c specific get clock functions

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/blackfin_local.h | 7 --- arch/blackfin/include/asm/clock.h | 11 +++ drivers/i2c/bfin-twi_i2c.c | 3 ++- drivers/spi/bfi

Re: [U-Boot] [PATCH 4/4] blackfin: make i2c driver blackfin independant

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Scott Jiang The ADI twi peripheral is not binding to Blackfin processor only. Access i2c registers by standard io functions. Fix coding style. Signed-off-by: Scott Jiang Signed-off-by: Sonic Zhang --- drivers/i2c/adi_i2c.c | 151 ++

Re: [U-Boot] [PATCH 3/4] blackfin: rename bfin-twi_i2c driver to adi_i2c

2014-01-29 Thread Heiko Schocher
Hello Sonic, Am 28.01.2014 06:53, schrieb Sonic Zhang: From: Sonic Zhang The ADI twi peripheral is not binding to Blackfin processor only. Change to a generic name. Signed-off-by: Sonic Zhang --- arch/blackfin/include/asm/twi.h | 15 +++ drivers/i2c/Makefile

[U-Boot] Porting U-boot

2014-01-29 Thread JYOTI DUBEY
After compiling the u-boot code what steps must be followed to boot the current system (system with Grub) with u-boot?I mean how can I port my system with the u-boot which I compiled? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailm

[U-Boot] [PATCH][v2] powerpc/t104xrdb: Add basic ethernet support

2014-01-29 Thread Priyanka Jain
This covers only non-L2 switch ethernet interfaces i.e. RGMII and SGMII interface for both -T1040RDB -T1042RDB_PI T1040RDB is configured as serdes protocol 0x66 which can support following interfaces -2 RGMIIS on DTSEC4, DTSEC5 -1 SGMII on DTSEC3 T1042RDB_PI is configured as serdes protocol 0x06

Re: [U-Boot] [PATCH] fsl_esdhc: Add Auto command 12 interrupt bit detecting

2014-01-29 Thread Pantelis Antoniou
Sorry, just had a baby and things are a bit busy. It's not fallen into the bit-bucket if that's what you're worried about. Regards -- Pantelis On Jan 29, 2014, at 11:14 PM, York Sun wrote: > On 11/01/2013 12:47 AM, Zhang Haijun wrote: >> :-) >> >> Thanks. >> >> 于 2013/11/1 15:45, Pantelis Ant

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-01-29 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 29.01.2014 20:47, schrieb Tom Rini: > On 01/29/2014 02:41 PM, Andreas Färber wrote: >> Am 29.01.2014 19:38, schrieb Stephen Warren: >>> On 01/29/2014 02:22 AM, Andreas Färber wrote: Am 29.01.2014 06:42, schrieb Stephen Warren: > The entries

Re: [U-Boot] [PATCH v2 3/9] kmp204x: I2C deblocking for I2C-bus1 added

2014-01-29 Thread Valentin Longchamp
On 01/30/2014 03:30 AM, York Sun wrote: > On 01/27/2014 02:49 AM, Valentin Longchamp wrote: >> From: Rainer Boschung >> >> -uses common deblocking algorithm from ../common/common.c > > I don't see any algorithm in the common.c file. The file is board/keymile/common/common.c, where the i2c_make_a

Re: [U-Boot] u-boot spl with fat32 on arm

2014-01-29 Thread Michal Simek
On 01/29/2014 10:57 PM, Tom Rini wrote: > On Tue, Jan 28, 2014 at 03:23:23PM +0100, Michal Simek wrote: > >> Hi guys, >> >> I do play a little bit with u-boot spl and I am curious >> about fat32 implementation. There is MAX_CLUSTSIZE which is 65k >> and there are 3 buffers in fat.c code >> do_fat_

Re: [U-Boot] [RFC PATCH 1/2] common: Add new clk command

2014-01-29 Thread Michal Simek
On 01/23/2014 08:53 AM, Michal Simek wrote: > On 01/22/2014 08:44 PM, Gerhard Sittig wrote: >> On Wed, Jan 22, 2014 at 12:02 +0100, Michal Simek wrote: >>> >>> --- /dev/null >>> +++ b/common/cmd_clk.c >>> @@ -0,0 +1,51 @@ >>> +/* >>> + * Copyright (C) 2013 Xilinx, Inc. >>> + * >>> + * SPDX-License-

<    1   2