Re: [U-Boot] [PATCH v1 0/2] mtd: nand: omap: booting from NAND using u-boot

2014-01-27 Thread Gupta, Pekon
Hi Brian, >From: Brian Norris > >Hi Pekon, > >Sorry, I'm revisiting your patch series a bit late. There are a few >factors that contributed to this, though. > >1. This patch series talks extensively about U-Boot. U-Boot is not my > interest, nor should it be the focus of kernel (driver) developm

[U-Boot] nios2-generic board is broken

2014-01-27 Thread Masahiro Yamada
Hi. I have noticed nios2-generic board is broken. Please fix. Error messages: nios2-generic.c: In function `__early_flash_cmd_reset': nios2-generic.c:23: error: `AMD_CMD_RESET' undeclared (first use in this function) nios2-generic.c:23: error: (Each undeclared identifier is reported only once n

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

2014-01-27 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

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

2014-01-27 Thread 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 | 2 +- drivers/i2c/{bfin-twi_i2c.c => adi_i2

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

2014-01-27 Thread 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/bfin_spi.c | 7 --- drivers/spi/bfin_s

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

2014-01-27 Thread 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 ++ 1 file

[U-Boot] [PATCH 5/10 V2] ARM: IXP: Remove dvl_host board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/dvlhost/Makefile | 8 -- board/dvlhost/dvlhost.c| 112 --- board/dvlhost/dvlhost_hw.h | 31 --- board/dvlhost

[U-Boot] [PATCH 4/10 V2] ARM: IXP: Remove actux4 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux4/Makefile| 8 -- board/actux4/actux4.c| 129 -- board/actux4/actux4_hw.h | 33 boards.cfg

[U-Boot] [PATCH 3/10 V2] ARM: IXP: Remove actux3 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux3/Makefile| 8 -- board/actux3/actux3.c| 149 -- board/actux3/actux3_hw.h | 44 -- board

[U-Boot] [PATCH 2/10 V2] ARM: IXP: Remove actux2 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux2/Makefile| 8 -- board/actux2/actux2.c| 122 board/actux2/actux2_hw.h | 43 -- board/actux

[U-Boot] [PATCH 1/10 V2] ARM: IXP: Remove actux1 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux1/Makefile| 8 -- board/actux1/actux1.c| 148 --- board/actux1/actux1_hw.h | 41 - board/act

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

2014-01-27 Thread Sonic Zhang
From: Sonic Zhang Signed-off-by: Sonic Zhang --- drivers/i2c/bfin-twi_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/bfin-twi_i2c.c b/drivers/i2c/bfin-twi_i2c.c index b3a04d3..5c37280 100644 --- a/drivers/i2c/bfin-twi_i2c.c +++ b/drivers/i2c/bfin-twi_i2c.c

Re: [U-Boot] [PATCH 1/2] SECURE BOOT: add version info for ISBC

2014-01-27 Thread aneesh.ban...@freescale.com
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, January 27, 2014 7:42 PM > To: Bansal Aneesh-B39320 > Cc: u-boot@lists.denx.de; Gupta Ruchika-R66431 > Subject: Re: [U-Boot] [PATCH 1/2] SECURE BOOT: add version info for ISBC > > Dear Aneesh, > > In message

Re: [U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-01-27 Thread Wolfgang Denk
Dear Aneesh, In message <7f771c64c5c44208b24e38c75e159...@dm2pr03mb415.namprd03.prod.outlook.com> you wrote: > > Sorry for the misleading statement. Yes, CONFIG_SYS_RAMBOOT is for > booting from RAM directly and we have used it for the same purpose in > the patch. Let me try and explain. Mind t

Re: [U-Boot] [PATCH 10/10] ARM: serial: Remove the IXP UART driver

2014-01-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1390865440-7023-10-git-send-email-ma...@denx.de> you wrote: > This driver is no longer used, remove it. > > Signed-off-by: Marek Vasut > Cc: Albert Aribaud > Cc: Michael Schwingen > Cc: Tom Rini > --- > doc/driver-model/UDM-serial.txt | 4 -- > drivers/serial/

Re: [U-Boot] [PATCH 01/10] ARM: IXP: Remove actux1 board

2014-01-27 Thread Wolfgang Denk
Dear Marek Vasut, In message <1390865440-7023-1-git-send-email-ma...@denx.de> you wrote: > The board is unmaintained, just like the rest of the IXP. > > Signed-off-by: Marek Vasut > Cc: Albert Aribaud > Cc: Michael Schwingen > Cc: Tom Rini > --- > board/actux1/Makefile| 8 -- > board/a

Re: [U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-01-27 Thread aneesh.ban...@freescale.com
I think I have caused some confusion when trying to explain. I will try and elaborate on it further. Please see inline. > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Monday, January 27, 2014 7:52 PM > To: Bansal Aneesh-B39320 > Cc: Wood Scott-B07421; u-boot@lis

[U-Boot] [PATCH 07/10] ARM: USB: Remove the IXP EHCI driver

2014-01-27 Thread Marek Vasut
The driver is no longer used, remove it. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- drivers/usb/host/Makefile | 1 - drivers/usb/host/ehci-ixp4xx.c | 37 - 2 files changed, 38 deletions(-) delete mode 100644

[U-Boot] [PATCH 01/10] ARM: IXP: Remove actux1 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux1/Makefile| 8 -- board/actux1/actux1.c| 148 --- board/actux1/actux1_hw.h | 41 - board/act

[U-Boot] [PATCH 05/10] ARM: IXP: Remove dvl_host board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/dvlhost/Makefile | 8 -- board/dvlhost/dvlhost.c| 112 --- board/dvlhost/dvlhost_hw.h | 31 --- board/dvlhost

[U-Boot] [PATCH 08/10] ARM: PCI: Remove the IXP PCI driver

2014-01-27 Thread Marek Vasut
The driver is no longer used, remove it. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- doc/driver-model/UDM-pci.txt | 4 - drivers/pci/Makefile | 1 - drivers/pci/pci_ixp.c| 351 --- 3 files cha

[U-Boot] [PATCH 10/10] ARM: serial: Remove the IXP UART driver

2014-01-27 Thread Marek Vasut
This driver is no longer used, remove it. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- doc/driver-model/UDM-serial.txt | 4 -- drivers/serial/Makefile | 1 - drivers/serial/serial.c | 2 - drivers/serial/serial_ixp.c | 130

[U-Boot] [PATCH 06/10] ARM: IXP: Remove the IXP architecture support

2014-01-27 Thread Marek Vasut
The architecture is unmaintained and dead, remove it. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- MAKEALL | 2 - README| 1 - arch/arm/cpu/ixp/Makefile | 12 - a

[U-Boot] [PATCH 03/10] ARM: IXP: Remove actux3 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux3/Makefile| 8 -- board/actux3/actux3.c| 149 -- board/actux3/actux3_hw.h | 44 -- board

[U-Boot] [PATCH 02/10] ARM: IXP: Remove actux2 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux2/Makefile| 8 -- board/actux2/actux2.c| 122 board/actux2/actux2_hw.h | 43 -- board/actux

[U-Boot] [PATCH 04/10] ARM: IXP: Remove actux4 board

2014-01-27 Thread Marek Vasut
The board is unmaintained, just like the rest of the IXP. Signed-off-by: Marek Vasut Cc: Albert Aribaud Cc: Michael Schwingen Cc: Tom Rini --- board/actux4/Makefile| 8 -- board/actux4/actux4.c| 129 -- board/actux4/actux4_hw.h | 33 boards.cfg

[U-Boot] [PATCH] SPL: Add CONFIG_SUPPORT_EMMC_BOOT support to CONFIG_SPL_FRAMEWORK

2014-01-27 Thread Tom Rini
We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some additional features of the eMMC boot partitions. Add support for being told that we have booted from one of these partitions to the spl framework and implement this for the dra7xx_evm board. Cc: Pantelis Antoniou Cc: Lokesh Vutla S

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Wolfgang Denk
Dear Stephen, In message <52e6c6cc.7000...@wwwdotorg.org> you wrote: > > > I understand and agree with your intentions, but I dislike to invent a > > new, totally non-standard command. > > > > In UNIX, we would use the "test" command for such purposes. Would it > > not make sense to implement th

[U-Boot] [PATCH V3 12/12] fat: implement exists() for FAT fs

2014-01-27 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the FAT filesystem. Signed-off-by: Stephen Warren --- v3: * s/ext/fat/ in the commit description too:-( * Invert return value of exists(), per change to previous

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Stephen Warren
On 01/26/2014 12:44 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <1390507020-15766-2-git-send-email-swar...@wwwdotorg.org> you > wrote: >> From: Stephen Warren >> >> This could be used in scripts such as: >> >> if exists mmc 0:1 /boot/boot.scr; then >> load mmc 0:1 ${script

[U-Boot] [PATCH V3 07/12] cmd_test: evaluate to false without any arguments

2014-01-27 Thread Stephen Warren
From: Stephen Warren This emulates bash: $ if test; then echo yes; else echo no; fi no Currently, the code sets expr = -1 in this case, which gets mapped to 0 (true) at the end of do_test() by the logical -> shell exit code conversion. Signed-off-by: Stephen Warren --- v3: New patch. --- comm

[U-Boot] [PATCH V3 11/12] ext4: implement exists() for ext4fs

2014-01-27 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the ext4 filesystem. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v3: Invert return value of exists(), per change to previous patch. v2: No change. --

[U-Boot] [PATCH V3 10/12] sandbox: enable CONFIG_CMD_FS_GENERIC

2014-01-27 Thread Stephen Warren
From: Stephen Warren Since the generic ls command no longer segfaults sandbox, enabling it. Signed-off-by: Stephen Warren --- v3: New patch. --- include/configs/sandbox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index a6d55822b82

[U-Boot] [PATCH V3 06/12] cmd_test: implement ! on sub-expressions

2014-01-27 Thread Stephen Warren
From: Stephen Warren Currently, ! can only be parsed as the first operator in an expression. This prevents the following from working: $ if test ! ! 1 -eq 1; then echo yes; else echo no; fi yes $ if test ! 1 -eq 2 -a ! 3 -eq 4; then echo yes; else echo no; fi yes Fix this by parsing ! like any

[U-Boot] [PATCH V3 04/12] cmd_test: use table lookup for parsing

2014-01-27 Thread Stephen Warren
From: Stephen Warren do_test() currently uses strcmp() twice to determine which operator is present; once to determine how many arguments the operator needs, then a second time to actually decode the operator and implement it. Rewrite the code so that a table lookup is used to translate the oper

[U-Boot] [PATCH V3 09/12] sandbox: implement exists() function

2014-01-27 Thread Stephen Warren
From: Stephen Warren This hooks into the generic "file exists" support added in an earlier patch, and provides an implementation for the sandbox test environment. Signed-off-by: Stephen Warren Acked-by: Simon Glass --- v3: * Remove "sb exists" command; it's part of "test" now. * Invert return

[U-Boot] [PATCH V3 08/12] cmd_test: implement -e test for file existence

2014-01-27 Thread Stephen Warren
From: Stephen Warren This is much like a regular shell's -e operator, except that it takes multiple arguments to specify the device type and device/partition ID in addition to the usual filename: if test -e mmc 0:1 /boot/boot.scr; then echo yes; else echo no; fi Signed-off-by: Stephen Warren

[U-Boot] [PATCH V3 05/12] cmd_test: check for binary operators before unary

2014-01-27 Thread Stephen Warren
From: Stephen Warren This better mirrors the behaviour of bash, for example: $ if test -z = -z; then echo yes; else echo no; fi yes This is parsed as a string comparison of "-z" and "-z", since the check for the binary "=" operator occurs first. Without this change, the command would be parsed

[U-Boot] [PATCH V3 02/12] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Stephen Warren
From: Stephen Warren This could be used in scripts such as: if test -e mmc 0:1 /boot/boot.scr; then load mmc 0:1 ${scriptaddr} /boot/boot.scr source ${scriptaddr} fi rather than: if load mmc 0:1 ${scriptaddr} /boot/boot.scr; then source ${scriptaddr} fi This prevents errors being

[U-Boot] [PATCH V3 03/12] fs: don't pass NULL dev_desc to most filesystems

2014-01-27 Thread Stephen Warren
From: Stephen Warren FAT and ext4 expect that the passed in block device descriptor not be NULL. This causes problems on sandbox, where get_device_and_partition() succeeds for the "host" device, yet passes back a NULL device descriptor. Add special handling for this situation, so that the generic

[U-Boot] [PATCH V3 01/12] fs: fix generic save command implementation

2014-01-27 Thread Stephen Warren
From: Stephen Warren Fix a few issues with the generic "save" shell command, and fs_write() function. 1) fstypes[].write wasn't filled in for some file-systems, and isn't checked when used, which could cause crashes/... if executing save on e.g. fat/ext filesystems. 2) fs_write() requires

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

2014-01-27 Thread Marek Vasut
On Monday, January 27, 2014 at 06:26:21 PM, Jagannadha Sutradharudu Teki wrote: > Hi Tom, > > SF code optimized stuff and few fixes. Hi, I see PR, but I don't see the fixed patches reposted to the ML. Did you repost the new ones please ? Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH v1 0/2] mtd: nand: omap: booting from NAND using u-boot

2014-01-27 Thread Gupta, Pekon
Hi Brian, >From: Brian Norris > >1. This patch series talks extensively about U-Boot. U-Boot is not my > interest, nor should it be the focus of kernel (driver) development. > Any work done here should be framed in the kernel driver context. [1] > Apologies for cross-posting, I understand that

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

2014-01-27 Thread Paul Chavent
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. * Bugs * Some elf generated with older TI's cgt have mis-aligned header sect

[U-Boot] [PATCH] at91sam9263ek: add mmc support

2014-01-27 Thread Andreas Henriksson
Add support for using the Atmel MCI driver on at91sam9263ek. This change is modeled after the existing at91sam9260ek support. Please note that this hooks up slot1 (MCI1) for SD. Not both. Tested with at91bootstrap and u-boot on dataflash in slot 0 and fat-formatted 8GB SDHC in slot 1 on first rev

Re: [U-Boot] [PATCH v1 0/2] mtd: nand: omap: booting from NAND using u-boot

2014-01-27 Thread Brian Norris
On Mon, Jan 27, 2014 at 9:46 AM, Gupta, Pekon wrote: >>From: Brian Norris >> >>1. This patch series talks extensively about U-Boot. U-Boot is not my >> interest, nor should it be the focus of kernel (driver) development. >> Any work done here should be framed in the kernel driver context. [1]

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-01-27 Thread Wolfgang Denk
Dear Andreas Färber, In message <52e6a96b.1080...@suse.de> you wrote: > > I figured out that the section was apparently not caught by the .gnu* > wildcard and this patch fixed our build for the following ARM configs: Do I understand you correctly that this fixes a _build_ error? So we can assume

[U-Boot] [PATCH 5/6] mmc: kona: Add Kona mmc driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 127 ++ 2 files changed, 128 insertions(+) cr

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

2014-01-27 Thread Darwin Rambo
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. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kr

[U-Boot] [PATCH 3/6] gpio: kona: Add Kona gpio driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 143 ++ 2

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

2014-01-27 Thread Darwin Rambo
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 also provided here. These patches work on u-boot master as well as the u

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

2014-01-27 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile|

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

2014-01-27 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 99 boards.cfg |

[U-Boot] [PATCH 4/6] i2c: kona: Add Kona I2C driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731 insertions

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-01-27 Thread Andreas Färber
Hello, Am 27.01.2014 15:24, schrieb Wolfgang Denk: > In message <1390798091-24747-1-git-send-email-afaer...@suse.de> you wrote: >> Avoids "could not find output section .gnu.hash" ld.bfd errors on openSUSE. >> >> Cc: Albert Aribaud >> Cc: Tom Rini >> Signed-off-by: Andreas Färber >> --- >> Mor

Re: [U-Boot] [PATCH] ventana: Add Gateworks Ventana family support

2014-01-27 Thread Tim Harvey
On Mon, Jan 27, 2014 at 3:57 AM, Fabio Estevam wrote: > On Tue, Jan 21, 2014 at 4:41 PM, Tim Harvey wrote: > >> +static int setup_pmic_voltages(void) >> +{ >> + int ret; >> + unsigned char value, rev_id = 0; >> + >> + ret = i2c_set_bus_num(1); >> + if (ret) >> +

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Simon Glass
Hi Stephen, On 27 January 2014 09:03, Stephen Warren wrote: > On 01/26/2014 08:41 AM, Simon Glass wrote: >> Hi Stephen, >> >> On 23 January 2014 12:56, Stephen Warren > > wrote: >> >> From: Stephen Warren mailto:swar...@nvidia.com>> >> >> This could be used i

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

2014-01-27 Thread Jagannadha Sutradharudu Teki
Hi Tom, SF code optimized stuff and few fixes. -- Thanks! Jagan. The following changes since commit 0876703cf2ee107372b56037d4eeeb7604c56796: boards.cfg: Keep the entries sorted (2014-01-27 08:28:35 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master fo

Re: [U-Boot] [PATCH 4/7] rsa: add sha256-rsa2048 algorithm

2014-01-27 Thread Simon Glass
Hi Heiko, On 26 January 2014 22:45, Heiko Schocher wrote: > Hello Simon, > > Am 26.01.2014 22:10, schrieb Simon Glass: > >> Hi Heiko, >> >> On 24 January 2014 23:44, Heiko Schocher wrote: >>> >>> based on patch from andr...@oetken.name: >>> >>> http://patchwork.ozlabs.org/patch/294318/ >> >> >>

Re: [U-Boot] [PATCH 5/7] rsa: add sha256,rsa4096 algorithm

2014-01-27 Thread Simon Glass
Hi Heiko, On 26 January 2014 23:36, Heiko Schocher wrote: > Hello Simon, > > Am 26.01.2014 22:19, schrieb Simon Glass: > >> Hi Heiko, >> >> On 24 January 2014 23:44, Heiko Schocher wrote: >>> >>> Signed-off-by: Heiko Schocher >>> Cc: Simon Glass >> >> >> Missing commit message. Is there no way t

Re: [U-Boot] [PATCH V3 01/14] mmc: tegra: support Tegra124

2014-01-27 Thread Simon Glass
On 27 January 2014 08:53, Stephen Warren wrote: > On 01/26/2014 09:11 AM, Simon Glass wrote: >> Hi Stephen, >> >> On 24 January 2014 12:46, Stephen Warren > > wrote: >> >> From: Stephen Warren mailto:swar...@nvidia.com>> >> >> Tegra124's MMC controller is very

Re: [U-Boot] [PATCH V2 5/5] fat: implement exists() for FAT fs

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:52 AM, Simon Glass wrote: > Hi Stephen, > > On 23 January 2014 12:57, Stephen Warren > wrote: > > From: Stephen Warren mailto:swar...@nvidia.com>> > > This hooks into the generic "file exists" support added in an earlier > patch, and pr

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:41 AM, Simon Glass wrote: > Hi Stephen, > > On 23 January 2014 12:56, Stephen Warren > wrote: > > From: Stephen Warren mailto:swar...@nvidia.com>> > > This could be used in scripts such as: > > if exists mmc 0:1 /boot/boot.scr; then >

Re: [U-Boot] [PATCH V2 1/5] fs: fix generic save command implementation

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:26 AM, Simon Glass wrote: > On 23 January 2014 12:56, Stephen Warren > wrote: > > From: Stephen Warren mailto:swar...@nvidia.com>> > > Fix a few issues with the generic "save" shell command, and fs_write() > function. ... > > Not sure a

Re: [U-Boot] [PATCH V3 01/14] mmc: tegra: support Tegra124

2014-01-27 Thread Stephen Warren
On 01/26/2014 09:11 AM, Simon Glass wrote: > Hi Stephen, > > On 24 January 2014 12:46, Stephen Warren > wrote: > > From: Stephen Warren mailto:swar...@nvidia.com>> > > Tegra124's MMC controller is very similar to earlier SoC generations, > and can be su

Re: [U-Boot] [PATCH V2 13/13] ARM: tegra: fix "bootp" issue for Tegra124 too

2014-01-27 Thread Stephen Warren
On 01/23/2014 11:53 PM, Jim Lin wrote: > On Fri, 2014-01-24 at 08:43 +0800, Stephen Warren wrote: >> From: Jim Lin >> >> Fix the timeout issue after running "bootp" command in U-Boot console. >> >> TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a >> controller reset and befo

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

2014-01-27 Thread Simon Glass
On 26 November 2013 00:13, Masahiro Yamada 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: > -Wall -Wst

Re: [U-Boot] sandbox: fix the return type of os_free() function

2014-01-27 Thread Simon Glass
Hi Tom, On 27 January 2014 07:56, Tom Rini wrote: > On Wed, Jan 15, 2014 at 01:06:41PM +0900, Masahiro Yamada wrote: > >> The function os_free() returns nothing. >> Its return type should be "void" rather than "void *". >> >> Signed-off-by: Masahiro Yamada > > Applied to u-boot/master, thanks!

[U-Boot] [PATCH] mx6qsabreauto: Update imximage.cfg

2014-01-27 Thread Fabio Estevam
Use the latest DDR and clock settings as the one from Freescale BSP. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabreauto/imximage.cfg | 136 + 1 file changed, 59 insertions(+), 77 deletions(-) diff --git a/board/freescale/mx6qsabreauto/imximage.cfg b/boar

[U-Boot] [PATCH 2/2] mx6qsabreauto: Add splash screen support

2014-01-27 Thread Fabio Estevam
Allow the splash screen to work on LVDS or HDMI. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 195 ++ include/configs/mx6qsabreauto.h | 16 +++ 2 files changed, 211 insertions(+) diff --git a/board/freescale/mx6qsabreaut

[U-Boot] [PATCH 8/8] arm/km: introduce kmsugp1 target

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. The only difference is that the PCIe reset is connected to Kirkwood pin MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_PCIE_RESET_MPP7. Such pin should theoretically be handled by the PCIe subsystem au

[U-Boot] [PATCH 3/8] arm/km/suv31: switch to 256MB RAM

2014-01-27 Thread Holger Brunck
We now use 256MB RAM instead of 128MB. We can use the same config file as kmnusa. Signed-off-by: Holger Brunck --- include/configs/km_kirkwood.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h index 74c7232..2bd89b1 100644 ---

[U-Boot] [PATCH 5/8] arm/km: fix wrong error handling

2014-01-27 Thread Holger Brunck
miiphy_read and miiphy_write are returning 0 on success. Signed-off-by: Holger Brunck --- board/keymile/km_arm/km_arm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index c104896..5f32e70 100644 --- a

[U-Boot] [PATCH 7/8] arm/km: define fdt_high env variable and allow backwards compatibility

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto Add set_fdthigh subcommand to "subbootcmds" (release) so to set "fdt_high" This is necessary on Kirkwood so that the FDT does not get relocated above the memory limit that the kernel cannot access (that is the memory part reserved for the switch). This was tested on NUSA1,

[U-Boot] [PATCH 6/8] arm/km: enable FDT for km_kirwkood

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto This consists of: a) Defining the addresses, enabling fdtsupport [arm] b) Defining "cramfsloadfdt" [arm,powerpc => common] c) Adding the FDT address to bootm [arm,powerpc => common] d) Defining "tftpfdt" in ramfs-,develop- [arm,powerpc >= common] This should work with 3.1

[U-Boot] [PATCH 2/8] arm/km: make local function startup_allowed static

2014-01-27 Thread Holger Brunck
Signed-off-by: Holger Brunck --- board/keymile/km_arm/km_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 946cbed..c104896 100644 --- a/board/keymile/km_arm/km_arm.c +++ b/board/keymile/km_arm/km_arm.c @@

[U-Boot] [PATCH 4/8] arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment

2014-01-27 Thread Holger Brunck
This is needed for board specific additional environment variables. E.g. the mgcoge3un has this additional "waitforne" variable. Signed-off-by: Holger Brunck --- include/configs/km/km_arm.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/km/km_arm.h b/include/configs/km/

[U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-01-27 Thread Holger Brunck
CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So remove this unneeded define. Signed-off-by: Holger Brunck --- board/keymile/km_arm/km_arm.c | 4 1 file changed, 4 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 5620737..

Re: [U-Boot] [U-Boot, v3] board_r - fixup functions table after relocation

2014-01-27 Thread Tom Rini
On Mon, Jan 20, 2014 at 02:30:39PM +0400, Alexey Brodkin wrote: > This is only required for "PIC" relocation and doesn't apply to modern > "PIE" relocation which does data relocation as well as code. > > "init_sequence_r" is just an array that consists of compile-time > adresses of init functions

Re: [U-Boot] [U-Boot, v2, 3/4] spl: common: Support for USB MSD FAT image loading

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:30AM -0600, Dan Murphy wrote: > Add SPL support to be able to detect a USB Mass Storage device > connected to a USB host. Once a USB Mass storage device is detected > the SPL will load the u-boot.img from a FAT partition to target address. > > Signed-off-by: Dan Mur

Re: [U-Boot] [U-Boot, v2, 2/4] spl: common: Move FAT funcs to a common file

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:29AM -0600, Dan Murphy wrote: > Move the FAT functions to a common location for reuse. > > Signed-off-by: Dan Murphy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [U-Boot,v2,4/4] arm: am43xx: Add USB spl boot support

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:31AM -0600, Dan Murphy wrote: > Add the USB host boot support for the am43xx evm > Add the macros to boot from a usb drive in uBoot > > Signed-off-by: Dan Murphy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v3] powerpc: mpc5xxx: remove redundant CONFIG_MPC5xxx definition

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:03:07AM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_MPC5xxx in board config headers > (and start.S) because it is defined in arch/powerpc/cpu/mpc5xxx/config.mk. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signatu

Re: [U-Boot] powerpc: mpc86xx: move CONFIG_MPC86xx definition to CPU config.mk

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:14:21AM +0900, Masahiro Yamada wrote: > Define CONFIG_MPC86xx in arch/powerpc/cpu/mpc86xx/config.mk > because all target boards with mpc86xx cpu define it. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digit

Re: [U-Boot] [U-Boot, v2] ARM: merge commonly-defined PLATFORM_RELFLAGS

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 11:00:45AM +0900, Masahiro Yamada wrote: > Before this commit, all arch/arm/cpu/${CPU}/config.mk except ARMv8 > had the same option: > $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) > > This commit moves it into arch/arm/config.mk. > > If the co

Re: [U-Boot] powerpc: mpc824x: remove redundant CONFIG_MPC824X definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:13:49AM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_MPC824X in board config headers > because it is defined in arch/powerpc/cpu/mpc824x/config.mk. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] sandbox: fix the return type of os_free() function

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 01:06:41PM +0900, Masahiro Yamada wrote: > The function os_free() returns nothing. > Its return type should be "void" rather than "void *". > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] board: delete meaningless serial.h

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 06:00:25PM +0900, Masahiro Yamada wrote: > Delete some serial.h files, whole code in which is surrounded by > #if 0 ... #endif > > Signed-off-by: Masahiro Yamada > Acked-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] powerpc: mpc85xx: move CONFIG_MPC85xx definition to CPU config.mk

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:14:07AM +0900, Masahiro Yamada wrote: > Define CONFIG_MPC85xx in arch/powerpc/cpu/mpc85xx/config.mk > because all target boards with mpc85xx cpu define it. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digit

Re: [U-Boot] [U-Boot, v2] powerpc: mpc8xx: remove redundant CONFIG_8xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:26:43PM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_8xx in source files > because it is defined in arch/powerpc/cpu/mpc8xx/config.mk > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] powerpc: mpc512x: remove redundant CONFIG_MPC512X definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:11:28AM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_MPC512X in board config headers > because it is defined in arch/powerpc/cpu/mpc512x/config.mk. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] powerpc: mpc5xx: remove redundant CONFIG_5xx definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:13:00AM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_5xx in a source file > because it is defined in arch/powerpc/cpu/mpc5xx/config.mk. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] drivers: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:48PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, v2] powerpc: ppc4xx: remove redundant CONFIG_4xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:24:35PM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_4xx in board config headers > because it is defined in arch/powerpc/cpu/ppc4xx/config.mk. > > include/configs/JSE.h defines "CONFIG_4x", not "CONFIG_4xx". > I believe it is a typo because "CONFIG_4x

Re: [U-Boot] include: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:27PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, v2] powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:26:17PM +0900, Masahiro Yamada wrote: > We do not have to define CONFIG_MPC83xx in board config headers > because it is defined in arch/powerpc/cpu/mpc83xx/config.mk. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] board: tec-ng: Do not make directories in a board Makefile

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 10:55:02AM +0900, Masahiro Yamada wrote: > Commit e5c5301f refactored the build system not to make > directories in board makefiles. > But commit 8f380381 create directories again in > board/avionic-design/tec-ng/Makefile. > > Signed-off-by: Masahiro Yamada > Cc: Alban Be

Re: [U-Boot] board: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:02PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Acked-by: Stefan Roese > Acked-by: Matthias Fuchs Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] blackfin: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:10:15PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] x86: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:10:46PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

  1   2   >