[U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C

2012-10-22 Thread Piotr Wilczek
This patchset enables both software and hardware I2C support for Exynos 4. New multi_i2c driver is added to support simultaneous use of hardware and software I2C drivers. The s3c24x0_i2c driver is modified to use for for both Exynos 4 and Exynos 5. Both s3c24x0_i2c and soft_i2c drivers are modified

[U-Boot] [PATCH v2 1/9] exynos:clock: Add i2c clock

2012-10-22 Thread Piotr Wilczek
This patch adds i2c clock for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes for v2: - modified exynos4_get_i2c_clk function arch/arm/cpu/armv7/exynos/clock.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) di

[U-Boot] [PATCH v2 2/9] exynos:cpu: Add Exynos4 I2C spacing

2012-10-22 Thread Piotr Wilczek
This patch add the spacing for i2c for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none arch/arm/include/asm/arch-exynos/cpu.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch

[U-Boot] [PATCH v2 3/9] exynos:pinmux: Add pinmux support for i2c

2012-10-22 Thread Piotr Wilczek
This patch add pinmux for I2C for Exynos4 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none arch/arm/cpu/armv7/exynos/pinmux.c | 51 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a

[U-Boot] [PATCH v2 4/9] drivers:i2c: Modify I2C driver for Exynos4

2012-10-22 Thread Piotr Wilczek
This patch modifies the S3C i2c driver to support both Exynos4 and Exynos5 Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - none drivers/i2c/s3c24x0_i2c.c | 19 --- 1 files changed, 12 insertions(+), 7 deletions(-) diff

[U-Boot] [PATCH v2 5/9] drivers:i2c: Add support for multi I2C

2012-10-22 Thread Piotr Wilczek
This patch enables use of SOFT I2C and HARD I2C simultaneously. Signed-off-by: Gwuieon Jin Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - new patch drivers/i2c/Makefile|1 + drivers/i2c/multi_i2c.c | 124 +++

[U-Boot] [PATCH v2 7/9] driver:i2c: Modify s3c24x0_i2c driver for Multi-I2C

2012-10-22 Thread Piotr Wilczek
This patch modifies s3c24x0_i2c driver to support multi-I2C. If CONFIG_MULTI_I2C is not set the original version is used. Signed-off-by: Gwuieon Jin Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - new patch drivers/i2c/s3c24x0_i2c.c |

[U-Boot] [PATCH v2 6/9] driver:i2c: Modify Soft I2C driver for Multi-I2C

2012-10-22 Thread Piotr Wilczek
This patch modifies soft_i2c driver to support multi-I2C. If CONFIG_MULTI_I2C is not set the original version is used. Signed-off-by: Gwuieon Jin Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - new patch drivers/i2c/soft_i2c.c | 60 ++

[U-Boot] [PATCH v2 9/9] arm:trats: Use Multi-I2C on Trarts board

2012-10-22 Thread Piotr Wilczek
This patch use bot hardware and software I2C on Samsung Trats board Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - new patch board/samsung/trats/trats.c | 35 +-- include/configs/trats.h |9 +

[U-Boot] [PATCH v2 8/9] drivers:i2c: modify I2C header for Multi-I2C

2012-10-22 Thread Piotr Wilczek
This patch modifies i2c.h header to support Multi-I2C. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Minkyu Kang --- Changes in v2: - new patch include/i2c.h | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/include/i2c.h b/include/i2c

[U-Boot] [PATCH] ColdFire: Fix unused variable in cpu_init.c

2012-10-22 Thread Alison Wang
Fix the following build warnings in cpu_init.c: cpu_init.c: In function 'cpu_init_f': cpu_init.c:47:9: warning: unused variable 'pll' cpu_init.c:46:10: warning: unused variable 'fbcs' cpu_init.c:44:10: warning: unused variable 'scm1' Signed-off-by: Alison Wang --- arch/m68k/cpu/mcf5227x/cpu_ini

Re: [U-Boot] [PATCH 04/28] powerpc/mpc85xx: Introduce new macros to add and delete TLB entries

2012-10-22 Thread Andy Fleming
This is causing a bunch of non QorIQ boards to stop building. Please investigate: $ ./MAKEALL MPC8548CDS Configuring for MPC8548CDS board... start.S:300: Error: missing operand start.S:300: Error: missing operand start.S:300: Error: missing operand start.S:300: Error: missing operand start.S:300:

[U-Boot] [PATCH 0/6 V7] EXYNOS5: Enable SPI support

2012-10-22 Thread Hatim Ali
This patch set adds SPI driver for EXYNOS5 and enables same. This patch set is based on latest Mainline u-boot.git tree. Changes in V2: - Correted the Commit message. Changes in V3: - Removed SPI_SLAVE Flag. - Corrected warning messages. Changes in V4: - Rebased on

[U-Boot] [PATCH 1/6 V7] EXYNOS5: Add pinmux support for SPI

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde This patch adds pinmux support for SPI channels Signed-off-by: Rajeshwari Shinde Signed-off-by: Hatim Ali --- Changes since v4: Fixed minor nits suggested by Simon Glass Changes since v5: No change Changes since v6: Incorporated review comments b

[U-Boot] [PATCH 2/6 V7] EXYNOS: Add clock for SPI.

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde This patch adds api to calculate and set the clock for SPI channels Signed-off-by: James Miller Signed-off-by: Simon Glass Signed-off-by: Rajeshwari Shinde Signed-off-by: Hatim Ali --- Changes since v4: Added Signed-off-by of James Miller Changes since v5:

[U-Boot] [PATCH 3/6 V7] EXYNOS5: Add base address for SPI.

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes since v4: - Rebased on u-boot-samsung.git - Added Acked-by Simon Glass Changes since v5: No Change Changes since v6: No Change diff --git a/arch/arm/include/asm/arch-exyn

[U-Boot] [PATCH 4/6 V7] SPI: Add SPI Driver for EXYNOS.

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde This patch adds SPI driver for EXYNOS. Signed-off-by: Simon Glass Signed-off-by: Padmavathi Venna Signed-off-by: Gabe Black Signed-off-by: Rajeshwari Shinde Signed-off-by: Hatim Ali Acked-by: Mike Frysinger Tested-by: jy0922.s...@samsung.com --- Changes since V4:

[U-Boot] [PATCH 5/6 V7] EXYNOS5: Enable SPI

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde This patch enables SPI driver for EXYNOS5. Signed-off-by: Rajeshwari Shinde Signed-off-by: Hatim Ali --- Changes since v4: - Rebased on u-boot-samsung.git Changes since v5: No change Changes since v6: Removed unused define from the config file

[U-Boot] [PATCH 6/6 V7] EXYNOS5: Enable SPI booting.

2012-10-22 Thread Hatim Ali
From: Rajeshwari Shinde This patch enables SPI Booting for EXYNOS5 Signed-off-by: Rajeshwari Shinde --- Changes since v4: No Change Changes since v5: No Change Changes since v6: No Change diff --git a/board/samsung/smdk5250/Makefile b/board/samsung/smdk5250/Makefile in

Re: [U-Boot] fw_printenv is not working

2012-10-22 Thread Wolfgang Denk
Dear Nih_a, when replying to a mail, please make sure to maintain thread information, i. e. make sure to set appropriate In-reply-to: and References: headers. In message <34585226.p...@talk.nabble.com> you wrote: > > I am also facing the same issue. I am also getting the error: > fw_printenv: l

Re: [U-Boot] [PATCH v2 3/5] pmic_fsl: Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH

2012-10-22 Thread Fabio Estevam
On Tue, Oct 16, 2012 at 11:39 AM, Stefano Babic wrote: >> --- a/drivers/misc/pmic_fsl.c >> +++ b/drivers/misc/pmic_fsl.c >> @@ -53,7 +53,7 @@ int pmic_init(void) >> #elif defined(CONFIG_PMIC_I2C) >> p->interface = PMIC_I2C; >> p->hw.i2c.addr = CONFIG_SYS_FSL_PMIC_I2C_ADDR; >> - p

Re: [U-Boot] [PATCH 6/7] fs: Add a Coreboot Filesystem (CBFS) driver and commands

2012-10-22 Thread Tom Rini
On Fri, Oct 12, 2012 at 05:26:11PM -0700, Simon Glass wrote: > From: Gabe Black > > This change adds CBFS support and some commands to use it to u-boot. These > commands are: > > cbfsinit - Initialize CBFS support and pull all metadata into RAM. The end of > the ROM is an optional parameter whi

[U-Boot] [PATCH 2/2] eco5pk: Add board config and MAINTAINERS entry

2012-10-22 Thread Raphael Assenat
Signed-off-by: Raphael Assenat --- MAINTAINERS |4 boards.cfg |1 + 2 files changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index ff8e47c..2f2d597 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -571,6 +571,10 @@ Albert ARIBAUD edminiv2ARM926EJS (Or

[U-Boot] [PATCH 0/2] eco5pk: Add support for the eco5pk ARM board

2012-10-22 Thread Raphael Assenat
This patch adds basic support for the 8D Technologies ECO5-PK board which is based on the TI AM3505 ARM SOC. Raphael (2): eco5pk: Add new board and default config eco5pk: Add board config and MAINTAINERS entry MAINTAINERS |4 + board/8dtech/eco5pk/Makefile | 43 +

[U-Boot] [PATCH 1/2] eco5pk: Add new board and default config

2012-10-22 Thread Raphael Assenat
Signed-off-by: Raphael Assenat --- board/8dtech/eco5pk/Makefile | 43 + board/8dtech/eco5pk/eco5pk.c | 61 +++ board/8dtech/eco5pk/eco5pk.h | 404 ++ include/configs/eco5pk.h | 81 + 4 files changed, 589 insertions(+) create mode

Re: [U-Boot] [PATCH 0/2] eco5pk: Add support for the eco5pk ARM board

2012-10-22 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/22/12 08:23, Raphael Assenat wrote: > This patch adds basic support for the 8D Technologies ECO5-PK board > which is based on the TI AM3505 ARM SOC. > > Raphael (2): eco5pk: Add new board and default config eco5pk: Add > board config and MAINTAI

Re: [U-Boot] [PATCH v2 3/5] pmic_fsl: Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH

2012-10-22 Thread Lukasz Majewski
Hi Fabio, > On Tue, Oct 16, 2012 at 11:39 AM, Stefano Babic > wrote: > > >> --- a/drivers/misc/pmic_fsl.c > >> +++ b/drivers/misc/pmic_fsl.c > >> @@ -53,7 +53,7 @@ int pmic_init(void) > >> #elif defined(CONFIG_PMIC_I2C) > >> p->interface = PMIC_I2C; > >> p->hw.i2c.addr = CONFIG_SYS_

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-22 Thread Stephen Warren
On 10/19/2012 11:54 PM, Allen Martin wrote: > On Thu, Oct 18, 2012 at 04:25:58PM -0700, Stephen Warren wrote: >> From: Stephen Warren >> >> Seaboard and Ventana are very similar boards, and so share the seaboard.c >> board file. The one difference needed so far is detected at run-time by >> callin

Re: [U-Boot] [PATCH v2 3/5] pmic_fsl: Introduce CONFIG_SYS_FSL_PMIC_I2C_LENGTH

2012-10-22 Thread Stefano Babic
Am 22/10/2012 17:22, schrieb Fabio Estevam: > On Tue, Oct 16, 2012 at 11:39 AM, Stefano Babic wrote: > >>> --- a/drivers/misc/pmic_fsl.c >>> +++ b/drivers/misc/pmic_fsl.c >>> @@ -53,7 +53,7 @@ int pmic_init(void) >>> #elif defined(CONFIG_PMIC_I2C) >>> p->interface = PMIC_I2C; >>> p->

Re: [U-Boot] [PATCH 04/28] powerpc/mpc85xx: Introduce new macros to add and delete TLB entries

2012-10-22 Thread York Sun
On 10/22/2012 02:14 AM, Andy Fleming wrote: This is causing a bunch of non QorIQ boards to stop building. Please investigate: $ ./MAKEALL MPC8548CDS Configuring for MPC8548CDS board... start.S:300: Error: missing operand start.S:300: Error: missing operand start.S:300: Error: missing operand sta

[U-Boot] [PATCH V3 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-22 Thread Stephen Warren
From: Stephen Warren Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within SPL_TEXT_BASE..SPL_MAX_SIZE. Different .lds files implement this check in two possible ways: 1) An ASSERT() like this 2) Defining a MEMORY region of size SPL_MAX_SIZE, and re-directing all linker outpu

[U-Boot] [PATCH V3 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-22 Thread Stephen Warren
From: Stephen Warren When -ffunction-sections or -fdata-section are used, symbols are placed into sections such as .data.eserial1_device and .bss.serial_current. Update the linker script to explicitly include these. Without this change (at least with my gcc-4.5.3 built using crosstool-ng), I see

[U-Boot] [PATCH V3 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-22 Thread Stephen Warren
From: Stephen Warren Seaboard and Ventana are very similar boards, and so share the seaboard.c board file. The one difference needed so far is detected at run-time by calling machine_is_ventana(). This bloats the Ventana build with code that is never used. Switch to detecting Ventana at compile t

[U-Boot] [PATCH V3 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-22 Thread Stephen Warren
From: Stephen Warren For Tegra, the SPL and main U-Boot are concatenated together to form a single memory image. Hence, the maximum SPL size is the different in TEXT_BASE for SPL and main U-Boot. Instead of manually calculating SPL_MAX_SIZE based on those two TEXT_BASE, which can lead to errors i

[U-Boot] [PATCH V3 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-22 Thread Stephen Warren
From: Stephen Warren Seaboard has a GPIO that switches an external mux between Tegra's debug UART and SPI flash. This is initialized from the SPL so that SPL debug output can be seen. Simplify the code that does this, and don't actually request the GPIO in the SPL; just program it. This saves ~4.

[U-Boot] [PATCH V4 1/3] fs: delete unused Makefile

2012-10-22 Thread Stephen Warren
From: Stephen Warren fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and hence causes make to directly descend two directory levels into each individual filesystem, and it never descends into fs/ itself. So, delete this useless file. Signed-off-by: Stephen Warren Reviewed-b

[U-Boot] [PATCH V4 2/3] fs: separate CONFIG_FS_{FAT, EXT4} from CONFIG_CMD_{FAT, EXT*}

2012-10-22 Thread Stephen Warren
From: Stephen Warren This makes the FAT and ext4 filesystem implementations build if CONFIG_FS_{FAT,EXT4} are defined, rather than basing the build on whether CONFIG_CMD_{FAT,EXT*} are defined. This will allow the filesystems to be built separately from the filesystem-specific commands that use t

[U-Boot] [PATCH V4 3/3] fs: add filesystem switch libary, implement ls and fsload commands

2012-10-22 Thread Stephen Warren
From: Stephen Warren Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it for zfs because I don't have any filesystems of that type to test with. Re

[U-Boot] [PATCH] powerpc/mpc85xx: Fix compiling error

2012-10-22 Thread York Sun
Fix compiling error introduced by adding new macro to simplify TLB in start.S file. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85xx/start.S | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/start.S b/arch/powerp

Re: [U-Boot] [PATCH v2 0/9] arm:exynos4: Enable Multi I2C

2012-10-22 Thread Heiko Schocher
Hello Piotr Wilczek, On 22.10.2012 09:21, Piotr Wilczek wrote: This patchset enables both software and hardware I2C support for Exynos 4. New multi_i2c driver is added to support simultaneous use of hardware and software I2C drivers. There was some I2C multibus support discussions, the latest

Re: [U-Boot] [PATCH] tegra20: initialize variable to avoid compiler warning

2012-10-22 Thread Stephen Warren
On 10/20/2012 01:18 AM, Allen Martin wrote: > Initialize this variable to avoid a compiler warning about possible > use of uninitialized variable with gcc 4.4.6. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/

Re: [U-Boot] [PATCH v2 2/2] tegra: move to common SPL framework

2012-10-22 Thread Stephen Warren
On 10/20/2012 01:08 AM, Allen Martin wrote: > Change tegra SPL to use common SPL framework. Any tegra specific > initialization is now done in spl_board_init() instead of > board_init_f()/board_init_r(). Only one SPL boot target is supported > on tegra, which is boot to RAM image. jump_to_image_

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-22 Thread Allen Martin
On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > Dear Allen Martin, > > [...] > > > > Hi Marek, the change to return value here broke serial output on > > tegra. What I see is that the serial device name (s->name) is > > "eserial0" as set by serial_ns16550.c, and the name passed in

Re: [U-Boot] [PATCH V2 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 09:09:46AM -0700, Stephen Warren wrote: > On 10/19/2012 11:54 PM, Allen Martin wrote: > > On Thu, Oct 18, 2012 at 04:25:58PM -0700, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> Seaboard and Ventana are very similar boards, and so share the seaboard.c > >> board

[U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-22 Thread Heiko Schocher
rebased/reworked the I2C multibus patches from Simon Glass found here: http://www.mail-archive.com/u-boot@lists.denx.de/msg75530.html It seems the timing is coming, to bring this in mainline and move boards over to the new i2c framework. As an example I converted the soft-i2c driver (and all boar

[U-Boot] [PATCH 2/3] i2c: common changes for multibus/multiadapter support

2012-10-22 Thread Heiko Schocher
Signed-off-by: Heiko Schocher Signed-off-by: Simon Glass --- README | 82 ++- arch/arm/lib/board.c| 12 - arch/blackfin/lib/board.c |7 ++ arch/m68k/lib/board.c | 18 +- arch/mips/lib/board.c

[U-Boot] [PATCH 1/3] i2c: add i2c_core and prepare for new multibus support

2012-10-22 Thread Heiko Schocher
This Patch introduce the new i2c_core file, which holds the I2C core functions, for the rework of the multibus/ multiadapter support. Also adds changes in i2c.h for the new I2C multibus/multiadapter support. This new support can be activated with the CONFIG_SYS_I2C define. Signed-off-by: Heiko Sch

Re: [U-Boot] [PATCH V3 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-22 Thread Tom Rini
On Mon, Oct 22, 2012 at 10:19:33AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within > SPL_TEXT_BASE..SPL_MAX_SIZE. > > Different .lds files implement this check in two possible ways: > 1) An ASSERT() like this > 2) De

Re: [U-Boot] [PATCH 31/32] drivers/mtd/nand: sparse fixes

2012-10-22 Thread Scott Wood
On 10/16/2012 07:28:47 PM, Kim Phillips wrote: nand_ecc.c:82:5: warning: symbol 'nand_calculate_ecc' was not declared. Should it be static? nand_ecc.c:155:5: warning: symbol 'nand_correct_data' was not declared. Should it be static? nand_base.c:2854:1: error: directive in argument list nand_b

[U-Boot] [PATCH v2 1/4] am33xx: Enable UART{1,2,3,4,5} clocks

2012-10-22 Thread Andrew Bradford
If configured to use UART{1,2,3,4,5} such as on the Beaglebone RS232 cape or the am335x_evm daughterboard, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford Tested-by: Matt Porter --- Changes from v1: Also enable UART3 clocks arch/arm/cpu/armv7/am33xx/clock

[U-Boot] [PATCH v2 0/4] am335x_evm: Enable UART{1,2,3,4,5}

2012-10-22 Thread Andrew Bradford
To support serial ports other than UART0 on am335x based systems like the Beaglebone with the RS232 cape and am335x_evm with daughterboard. Changes from v1: Reworked on Marek Vasut's serial changes. Added UART3 for am335x_evm profile 5. Andrew Bradford (4): am33xx: Enable UART{1

[U-Boot] [PATCH v2 2/4] am33xx: Enable UART{1,2,3,4,5} pin-mux

2012-10-22 Thread Andrew Bradford
If configured to use UART{1,2,3,4,5} such as on the Beaglebone RS232 cape or on the am335x_evm daughterboard, enable the proper pin-muxing. Signed-off-by: Andrew Bradford Tested-by: Matt Porter --- Changes from v1: Also enable UART3 pin mux arch/arm/cpu/armv7/am33xx/board.c

[U-Boot] [PATCH v2 4/4] am335x_evm: Enable use of UART{1,2,3,4,5}

2012-10-22 Thread Andrew Bradford
Add targets of am335x_evm_uart{1,2,3,4,5} to have serial input/output on UART{1,2,3,4,5} for use with the Beaglebone RS232 cape, am335x_evm daughterboard, and other custom configurations. Signed-off-by: Andrew Bradford Tested-by: Matt Porter --- Changes from v1: Add UART3 target and regi

[U-Boot] [PATCH v2 3/4] serial: ns16550: Enable COM5 and COM6

2012-10-22 Thread Andrew Bradford
Increase the possible number of ns16550 serial devices from 4 to 6. Signed-off-by: Andrew Bradford Tested-by: Matt Porter --- Changes from v1: Consolidation of patches 3, 4, and 5 on top of Marek Vasut's recent serial changes. drivers/serial/serial_ns16550.c | 36

Re: [U-Boot] Access IO register with writel/readl?

2012-10-22 Thread Scott Wood
On 10/18/2012 07:09:19 AM, Simon Glass wrote: Hi, On Wed, Oct 17, 2012 at 6:47 PM, Dennis Lan (dlan) wrote: > HI ALL: >Is it just conventional to access IO register with wriltel, readl? > or is there any specific reason here. > what's the difference with direct access? writel has few arc

Re: [U-Boot] [PATCH 7/7] config: Enable CBFS, ext4 for coreboot

2012-10-22 Thread Tom Rini
On Fri, Oct 12, 2012 at 05:26:12PM -0700, Simon Glass wrote: > Enable Coreboot and EXT4 Filesystems on the coreboot board. > > Signed-off-by: Simon Glass cmd_ext4.c: In function 'do_ext4_write': cmd_ext4.c:110:3: error: format '%lu' expects type 'long unsigned int', but argument 4 has type 'int

Re: [U-Boot] [PATCH] boards: remove the no longer used CONFIG_EHCI_DCACHE

2012-10-22 Thread Marek Vasut
Dear Jeroen Hofstee, > CONFIG_EHCI_DCACHE was removed by commit b8adb12 > "USB: Drop cache flush bloat in EHCI-HCD". Remove the defines from > the boards configs as well. > > Signed-off-by: Jeroen Hofstee > cc: Marek Vasut > cc: Stefan Roese > cc: Tom Rini > cc: Wolfgang Denk > cc: Thierry R

Re: [U-Boot] [PATCH 1/4] powerpc/t4qds: Add T4QDS board

2012-10-22 Thread Andy Fleming
On Thu, Oct 11, 2012 at 12:13 PM, York Sun wrote: > The T4240QDS is a high-performance computing evaluation, development and > test platform supporting the T4240 QorIQ Power Architecture™ processor. > > + > +#define __USB_PHY_TYPE utmi > + > +#defineCONFIG_EXTRA_ENV_SETTINGS

Re: [U-Boot] [PATCH 4/4] powerpc/b4860qds: Add B4860QDS board

2012-10-22 Thread Andy Fleming
On Thu, Oct 11, 2012 at 12:13 PM, York Sun wrote: > B4860QDS is a high-performance computing evaluation, development and > test platform supporting the B4860 QorIQ Power Architecture™ processor. > > VSC3316 is 11.5Gbps 16x16 Asynchronous cross-point switch and > VSC3308 is 11.5Gbps 8x8 Asynchronou

Re: [U-Boot] [PATCH V3 08/32] imximage: make header variable length

2012-10-22 Thread Troy Kisky
On 10/21/2012 1:35 AM, Stefano Babic wrote: Am 21/10/2012 03:31, schrieb Troy Kisky: I've tested this patch on a mx51 boards as well and it worked fine there. Fine, thanks, this saves me time - I will not test it on that SOC. For testing purposes, can you see if this change helps any? Perhap

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

2012-10-22 Thread Tom Rini
On Mon, Oct 22, 2012 at 08:27:55AM +0200, Marek Vasut wrote: > The following changes since commit 99070db0dc0b0e881841a0091f06d53351244a34: > > Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-19 18:23:38 > -0700) > > are available in the git repository at: > > > git://git.d

Re: [U-Boot] [PATCH 1/6 V5] common: Add symbol handling for generic lists into Makefile

2012-10-22 Thread Tom Rini
On Fri, Oct 19, 2012 at 05:00:10PM +0200, Marek Vasut wrote: > This patch adds essential components for generation of the contents of > the linker section that is used by the linker-generated array. All of > the contents is held in a separate file, u-boot.lst, which is generated > at runtime just

Re: [U-Boot] [PATCH 1/7] ide: Add printf format string for CONFIG_SYS_64BIT_LBA option

2012-10-22 Thread Tom Rini
On Fri, Oct 12, 2012 at 05:26:06PM -0700, Simon Glass wrote: > From: Gabe Black > > The size of an LBA type changes depending on this option. We need to > use a different printf() string in each case, so create a define for > this. > > Signed-off-by: Gabe Black > Signed-off-by: Simon Glass E

Re: [U-Boot] [PATCH v1] ARM : Remove unused CONFIG_DRIVER_SMC91111, CONFIG_DRIVER_LAN91C96

2012-10-22 Thread Tom Rini
On Mon, Oct 15, 2012 at 10:30:14PM +0530, Ashok Kumar Reddy wrote: > Remove unused CONFIG_DRIVER_SMC9,CONFIG_DRIVER_LAN91C96, > if required implement smc_set_mac_addr() in board init. > > Signed-off-by: Ashok Kumar Reddy > --- > Changes from v1: > - Fixed typo Applied to u-boot/master

Re: [U-Boot] [PATCH] README : Rename CONFIG_DRIVER_SMC91111 to CONFIG_SMC91111, CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C96

2012-10-22 Thread Tom Rini
On Mon, Oct 15, 2012 at 09:50:47PM +0530, Ashok Kumar Reddy wrote: > Rename CONFIG_DRIVER_SMC9 to CONFIG_SMC9, > CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C96 > > Signed-off-by: Ashok Kumar Reddy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH] omap2424:Rename CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C96 as CONFIG_DRIVER_LAN91C96 is obsolete.

2012-10-22 Thread Tom Rini
On Mon, Oct 15, 2012 at 09:57:47PM +0530, Ashok Kumar Reddy wrote: > Rename CONFIG_DRIVER_LAN91C96 to CONFIG_LAN91C9 as > CONFIG_DRIVER_LAN91C96 is obsolete. > > Signed-off-by: Ashok Kumar Reddy Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel

2012-10-22 Thread Andy Fleming
On Sat, Oct 6, 2012 at 7:04 PM, Marek Vasut wrote: > Pull slightly modified version of Documentation/DocBook, the related perl > script scripts/kernel-doc and the scripts/docproc.c from Linux kernel and > implant it into U-Boot. This will allow smooth generation of kerneldoc > style documentation.

[U-Boot] [PATCH 1/2] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Allen Martin
Change usb_kbd driver to obey alignment requirements for USB DMA on the buffer used for data transfer. This is necessary for architectures that enable dcache and enable USB DMA. Signed-off-by: Allen Martin --- common/usb_kbd.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) d

[U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Allen Martin
Enable USB keyboard for the springbank variant of seaboard Signed-off-by: Allen Martin --- include/configs/seaboard.h |5 - include/configs/tegra20-common.h |5 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/configs/seaboard.h b/include/configs/seab

Re: [U-Boot] [PATCH] boards: remove the no longer used CONFIG_EHCI_DCACHE

2012-10-22 Thread stefano babic
Am 22/10/2012 22:35, schrieb Jeroen Hofstee: > CONFIG_EHCI_DCACHE was removed by commit b8adb12 > "USB: Drop cache flush bloat in EHCI-HCD". Remove the defines from > the boards configs as well. > > Signed-off-by: Jeroen Hofstee > cc: Marek Vasut > cc: Stefan Roese > cc: Tom Rini > cc: Wolfgan

[U-Boot] jffs2_1pass_build_lists max_totlen question

2012-10-22 Thread arunkann
Hi, I see an issue when the u-boot is unable to load (fsload) the kernel or device tree files from NOR flash to RAM, occasionally. I am using u-boot version "U-Boot 2011.12 ". The root cause seems to be the size of “pL->readbuf” malloc’ed in jffs2_1pass_build_lists () jffs_1pass.c file. The s

[U-Boot] [PATCH] boards: remove the no longer used CONFIG_EHCI_DCACHE

2012-10-22 Thread Jeroen Hofstee
CONFIG_EHCI_DCACHE was removed by commit b8adb12 "USB: Drop cache flush bloat in EHCI-HCD". Remove the defines from the boards configs as well. Signed-off-by: Jeroen Hofstee cc: Marek Vasut cc: Stefan Roese cc: Tom Rini cc: Wolfgang Denk cc: Thierry Reding cc: Tom Warren cc: Stephen Warren

[U-Boot] MPC8360 arbiter settings

2012-10-22 Thread Michael Barkowski
Hello Anton and Dave, I am seeing these MPC83xx arbiter settings in most boards except the 8360 ones. (Consistent with Ravi Chandran's recommendation at http://www.freescale.com/files/training_presentation/TP_QUICC_SYSTEM_OPTIMIZATION.pdf). Is there some reason these are not used for 8360? From so

Re: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Stephen Warren
On 10/22/2012 03:39 PM, Allen Martin wrote: > Enable USB keyboard for the springbank variant of seaboard This sounds nice! > diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h > #undef TEGRA_DEVICE_SETTINGS > -#define TEGRA_DEVICE_SETTINGS"stdin=serial,tegra-kbc\0" \ >

Re: [U-Boot] [PATCH 1/2] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Stephen Warren
On 10/22/2012 03:39 PM, Allen Martin wrote: > Change usb_kbd driver to obey alignment requirements for USB DMA on > the buffer used for data transfer. This is necessary for > architectures that enable dcache and enable USB DMA. > diff --git a/common/usb_kbd.c b/common/usb_kbd.c > struct usb_kbd

Re: [U-Boot] [PATCH 1/2] USB: make usb_kbd obey USB DMA alignment requirements

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 02:59:43PM -0700, Stephen Warren wrote: > On 10/22/2012 03:39 PM, Allen Martin wrote: > > Change usb_kbd driver to obey alignment requirements for USB DMA on > > the buffer used for data transfer. This is necessary for > > architectures that enable dcache and enable USB DMA

Re: [U-Boot] [PATCH 2/3] i2c: common changes for multibus/multiadapter support

2012-10-22 Thread Henrik Nordström
mån 2012-10-22 klockan 19:40 +0200 skrev Heiko Schocher: > +- Legacy I2C Support:CONFIG_HARD_I2C | CONFIG_SOFT_I2C > + > + NOTE: It is intended to move drivers to CONFIG_SYS_I2C which > + provides the following compelling advantages: > + 1. Heiko

Re: [U-Boot] [PATCH v2 2/2] tegra: move to common SPL framework

2012-10-22 Thread Lucas Stach
Am Samstag, den 20.10.2012, 00:08 -0700 schrieb Allen Martin: > Change tegra SPL to use common SPL framework. Any tegra specific > initialization is now done in spl_board_init() instead of > board_init_f()/board_init_r(). Only one SPL boot target is supported > on tegra, which is boot to RAM imag

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

2012-10-22 Thread Andy Fleming
Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-19 18:23:38 -0700) are available in the git repository at: git://www.denx.de/git/u-boot-mpc85xx.git master for you to fetch changes up to 23028d69e950023a3cb605751dbcb1e314be8b36: 85xx: Protect timeout_save variable with ifd

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

2012-10-22 Thread Andy Fleming
Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-19 18:23:38 -0700) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to 757bff49ba3159d71ccacabdb68f8309b1eb6613: mmc: dw-mmc: support DesignWare MMC Controller (

Re: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Allen Martin
On Mon, Oct 22, 2012 at 02:56:44PM -0700, Stephen Warren wrote: > On 10/22/2012 03:39 PM, Allen Martin wrote: > > Enable USB keyboard for the springbank variant of seaboard > > This sounds nice! > > > diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h > > > #undef TEGRA_DEVICE

Re: [U-Boot] [PATCH 2/2] tegra: seaboard: Enable USB keyboard

2012-10-22 Thread Stephen Warren
On 10/22/2012 04:58 PM, Allen Martin wrote: > On Mon, Oct 22, 2012 at 02:56:44PM -0700, Stephen Warren wrote: >> On 10/22/2012 03:39 PM, Allen Martin wrote: >>> Enable USB keyboard for the springbank variant of seaboard >> >> This sounds nice! >> >>> diff --git a/include/configs/seaboard.h b/includ

Re: [U-Boot] [RFC PATCH v3 0/13] Port of MUSB driver from Linux (changes from Linux)

2012-10-22 Thread Tom Rini
On Thu, Oct 18, 2012 at 10:51:47PM +0400, Ilya Yanok wrote: > Current MUSB driver in U-Boot uses old UDC API while new gagdet > client drivers need new gadget API. Also current MUSB driver has > some significant limitations (like inability to handle tx for > endpoints other than ep0). So I think p

Re: [U-Boot] P2020rdb :- process hangs while invalidate_tlb's

2012-10-22 Thread Scott Wood
On 10/18/2012 05:50:23 AM, diyaa wrote: Hi I am working on a custom board (VPX Based P2020 board) and trying to port u-boot-2011.09 (supports P2020 RDB) in it . Our board is similar to P2020RDB board and the technical specification is shown below , You should always try with the latest

[U-Boot] [fdt] Pull request

2012-10-22 Thread Jerry Van Baren
Dear Tom, The following changes since commit bcf28c23f2195a91e0713337934f630a9c7bc5a9: ARM : Remove unused CONFIG_DRIVER_SMC9, CONFIG_DRIVER_LAN91C96 (2012-10-22 08:33:52 -0700) are available in the git repository at: git://git.denx.de/u-boot-fdt.git master for you to fetch changes up

[U-Boot] [PATCH V3 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-10-22 Thread Troy Kisky
Use a common watchdog driver for all these cpus. Signed-off-by: Troy Kisky --- v2: add README.watchdog include mx31/mx35 watchdogs move to drivers/watchdog v3: change drivers/watchdog/Makefile to list relevant soc's Please test on a mx31 and mx35 board. qong and mx31pdk

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

2012-10-22 Thread Tabi Timur-B04825
On Mon, Oct 22, 2012 at 5:36 PM, Andy Fleming wrote: > Timur Tabi (4): > powerpc/mpc85xx: fix Unicode characters in release.S > powerpc/85xx: define SRIO LIODN functions only if SRIO is defined > powerpc/85xx: move SRIO configuration out of corenet_ds.h > powerpc/85xx: Add

[U-Boot] [PATCH V3 2/9] net: fec_mxc: delete CONFIG_FEC_MXC_MULTI

2012-10-22 Thread Troy Kisky
It is more logical to test for CONFIG_FEC_MXC_PHYADDR to determine whether to define the function fecmxc_initialize. Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c |2 +- include/configs/m28evk.h |1 - include/configs/mx28evk.h |1 - include/configs/sc_sps_1.h |1 -

[U-Boot] [PATCH V3 3/9] net: fec_mxc: change fec_mii_setspeed parameter

2012-10-22 Thread Troy Kisky
Only the hardware ethernet registers are needed for this function, so don't pass the more general structure. I'm trying to separate MII and fec. This also fixes MX28 fec_mii_setspeed use on secondary ethernet port This was found by inspection of the code and should be checked on real hardware. S

[U-Boot] [PATCH V3 0/9] separate miiphy from ethernet

2012-10-22 Thread Troy Kisky
This series tries to separate the mii regsisters from the ethernet registers as suggested by Andy Fleming. Then, mx6qsabrelite is changed to find the phy address from the possibles 4-7. The V3 series is very different from V2. Troy Kisky (9): doc/README.fec_mxc: add documentation net: fec_mxc

[U-Boot] [PATCH V3 1/9] doc/README.fec_mxc: add documentation

2012-10-22 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: add README.fec_mxc for config options currently used in fec_mxc --- doc/README.fec_mxc | 27 +++ 1 file changed, 27 insertions(+) create mode 100644 doc/README.fec_mxc diff --git a/doc/README.fec_mxc b/doc/README.fec_mxc new f

[U-Boot] [PATCH V3 6/9] net: fec_mxc: use fec_set_dev_name to set name

2012-10-22 Thread Troy Kisky
This allows us to create the phydev before calling fec_probe in later patch. Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index f7384ad..7e27210 100644 ---

[U-Boot] [PATCH V3 4/9] net: fec_mxc: have fecmxc_initialize call fecmxc_initialize_multi

2012-10-22 Thread Troy Kisky
Having only one call to fec_probe will ease the changing of its parameters. Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index eb89e57..f7384ad 100

[U-Boot] [PATCH V3 5/9] phy: add phy_find_by_mask/phy_connect_dev

2012-10-22 Thread Troy Kisky
It is useful to be able to try a range of possible phy addresses to connect. Also, an ethernet device is not required to use phy_find_by_mask leading to better separation of mii vs ethernet, as suggested by Andy Fleming. Signed-off-by: Troy Kisky --- v2: no change --- drivers/net/phy/phy.c |

[U-Boot] [PATCH V3 9/9] mx6qsabrelite: search mii phy address 4-7

2012-10-22 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/board/freescale/mx6qsabrelite/mx6qsabrelite.c b/board/freescale/mx6qsabrelite/mx6qsabrelite.c index af6f917..f010d0c 100644

[U-Boot] [PATCH V3 7/9] net: fec_mxc: only call phy_connect in fec_probe

2012-10-22 Thread Troy Kisky
This allows us to create the phydev before calling fec_probe in later patch. Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 33 - 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 7e27210..

[U-Boot] [PATCH V3 8/9] net: fec_mxc: get phydev before fec_probe

2012-10-22 Thread Troy Kisky
Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 117 +++-- drivers/net/fec_mxc.h |2 +- include/netdev.h |7 +++ 3 files changed, 83 insertions(+), 43 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 913

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

2012-10-22 Thread Tom Rini
On Mon, Oct 22, 2012 at 05:36:15PM -0500, Andy Fleming wrote: > Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-19 18:23:38 > -0700) > > are available in the git repository at: > > > git://www.denx.de/git/u-boot-mpc85xx.git master > > for you to fetch changes up to 23028d69

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

2012-10-22 Thread Tom Rini
On Mon, Oct 22, 2012 at 05:40:58PM -0500, Andy Fleming wrote: > Merge branch 'master' of git://git.denx.de/u-boot-arm (2012-10-19 18:23:38 > -0700) > > are available in the git repository at: > > > git://www.denx.de/git/u-boot-mmc.git master > > for you to fetch changes up to 757bff49ba31

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

2012-10-22 Thread Fleming Andy-AFLEMING
Ah, I knew there was one more I needed to send a mail about. The 5040 patch wouldn't apply anymore. Could you rebase? I was unable to determine how to fix it. The CRC patch met with fierce opposition, so I haven't applied it. On Oct 22, 2012, at 20:23, "Tabi Timur-B04825" wrote: > On Mon, Oct

  1   2   >