[U-Boot] [PATCH 16/17] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-15 Thread Tom Rini
Takes the load function from arch/arm/lib/spl_nand.c instead. This will allow for easier integration of SPL-boots-Linux code on other arches. Kill off CONFIG_SPL_NAND_LOAD as a separate option. Signed-off-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/spl.c |2 +- arch/arm/lib/Makefile

Re: [U-Boot] [Patch 0/17] New 'qemu-mips64' test architecture for U-Boot

2012-08-15 Thread Daniel Schwierzeck
Hi, 2012/8/15 Zhi-zhou Zhang : > On Tue, Aug 14, 2012 at 11:51 PM, Mike Frysinger wrote: > >> On Tuesday 14 August 2012 11:49:49 Mike Frysinger wrote: >> > On Tuesday 14 August 2012 11:06:51 Zhi-zhou Zhang wrote: >> > > As so far, U-Boot has already supports mips32. But there are some >> > > >>

[U-Boot] [PATCH 04/17] Makefile: Move SPL files to clobber, remove from clean

2012-08-15 Thread Tom Rini
The 'clean' target has been removing all of spl but not u-boot itself. For consistency and ease of testing, only remove SPL binaries / maps in the clobber target, just like for full U-Boot Signed-off-by: Tom Rini --- Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-)

[U-Boot] [PATCH 15/17] ARM: SPL: Convert davinci to CONFIG_SPL_FRAMEWORK

2012-08-15 Thread Tom Rini
- Convert the non-relocation part of board_init_f to spl_board_init, turn on CONFIG_SPL_BOARD_INIT in the configs. - Remove duplicated code. - Add spl_boot_device() that returns the statically chosen boot device. Signed-off-by: Tom Rini --- arch/arm/cpu/arm926ejs/davinci/spl.c| 45 ++

[U-Boot] [PATCH 03/17] ARM: SPL: Move the omap SPL framework to arch/arm/lib

2012-08-15 Thread Tom Rini
Add a new flag, CONFIG_SPL_FRAMEWORK to opt into the arch/arm/lib SPL framework, enable on all of the previously using boards. Signed-off-by: Tom Rini --- README |5 + arch/arm/cpu/armv7/omap-common/Makefile | 13 -- arch/arm/cpu/armv7/omap-common/s

[U-Boot] [PATCH v3 4/9] arm: add _thumb1_case_uqi to libgcc

2012-08-15 Thread Allen Martin
Add function required by some thumb switch statements Signed-off-by: Allen Martin --- arch/arm/lib/Makefile |1 + arch/arm/lib/_thumb1_case_uqi.S | 42 +++ 2 files changed, 43 insertions(+) create mode 100644 arch/arm/lib/_thumb1_case_uqi.S d

[U-Boot] [PATCH v3 0/9] enable thumb for tegra20

2012-08-15 Thread Allen Martin
Add changes necessary to enable thumb compilation for tegra20. This series includes two patches to work around a bug in gas that incorrectly optimizes short jumps in thumb mode that were posted separately. They can be dropped from this series when they are applied. This patch series is also avai

[U-Boot] [PATCH v3 5/9] arm: use thumb compatible return in arm720t

2012-08-15 Thread Allen Martin
Convert return from relocate_code to a thumb compatible bx instruction. Signed-off-by: Allen Martin --- arch/arm/cpu/arm720t/start.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm720t/start.S b/arch/arm/cpu/arm720t/start.S index 2f914e9..013da46 100644 --

[U-Boot] [PATCH v3 2/9] arm: work around assembler bug

2012-08-15 Thread Allen Martin
Disable sibling call optimization based on binutils version. This is to work around a bug in the assember in binutils versions < 2.22. Branches to weak symbols can be incorrectly optimized in thumb mode to a short branch (b.n instruction) that won't reach when the symbol gets preempted. http://so

[U-Boot] [PATCH v3 3/9] tegra20: remove inline assembly for u32 cast

2012-08-15 Thread Allen Martin
This inline assembly just converts a function address to a u32. Replace it with equivalent C code since the assembly was not thumb compatible. Signed-off-by: Allen Martin --- arch/arm/cpu/tegra20-common/warmboot_avp.c |9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a

[U-Boot] [PATCH v3 7/9] arm720t: add linkage macro for relocate_code

2012-08-15 Thread Allen Martin
The linker needs this to understand that the symbol is actually a function so it will generate correct thumb interworking code. Signed-off-by: Allen Martin --- arch/arm/cpu/arm720t/start.S |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm720t/start.S b/

[U-Boot] [PATCH v3 8/9] arm: use thumb interworking returns in libgcc

2012-08-15 Thread Allen Martin
If CONFIG_SYS_THUMB_BUILD is enabled, use thumb interworking return instructions from libgcc routines, otherwise use ARM returns. Signed-off-by: Allen Martin --- arch/arm/include/asm/assembler.h | 10 ++ arch/arm/lib/_ashldi3.S |3 ++- arch/arm/lib/_ashrdi3.S |

[U-Boot] [PATCH v3 6/9] arm: change arm720t to armv4t

2012-08-15 Thread Allen Martin
arm720t is an armv4t not an armv4. Force some tegra initialization functions to arm mode because they contain arm only inline assembly. Signed-off-by: Allen Martin --- arch/arm/cpu/arm720t/config.mk |2 +- arch/arm/cpu/arm720t/tegra20/config.mk |7 +++ 2 files changed, 8 ins

[U-Boot] [PATCH v3 9/9] tegra20: enable thumb build

2012-08-15 Thread Allen Martin
Signed-off-by: Allen Martin --- include/configs/tegra20-common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/tegra20-common.h b/include/configs/tegra20-common.h index 1c0d235..e6d42b0 100644 --- a/include/configs/tegra20-common.h +++ b/include/configs/tegra20-common.h @

[U-Boot] [PATCH v3 1/9] tools, config.mk: add binutils-version

2012-08-15 Thread Allen Martin
Modeled after gcc-version, add function to get binutils version. Signed-off-by: Allen Martin --- config.mk |1 + tools/binutils-version.sh | 20 2 files changed, 21 insertions(+) create mode 100755 tools/binutils-version.sh diff --git a/config.mk b/co

Re: [U-Boot] [PATCH] mkconfig: add support for SPL CPU

2012-08-15 Thread Allen Martin
On Thu, Aug 09, 2012 at 01:38:19PM -0700, Wolfgang Denk wrote: > Dear Allen Martin, > > In message <1334858337-2853-1-git-send-email-amar...@nvidia.com> you wrote: > > Add support for specifying a differnt CPU for main u-boot and SPL > > u-boot builds. This is done by adding an optional SPL CPU a

Re: [U-Boot] [Patch 1/17] add mips64 build configuration in mips/config.mk

2012-08-15 Thread Daniel Schwierzeck
2012/8/14 Zhi-zhou Zhang : > diff --git a/arch/mips/config.mk b/arch/mips/config.mk > index 6ab8acd..12df150 100644 > --- a/arch/mips/config.mk > +++ b/arch/mips/config.mk > @@ -23,9 +23,13 @@ > > CROSS_COMPILE ?= mips_4KC- > > +ifeq "$(CPU)" "mips64" > +CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff80

Re: [U-Boot] [Patch 4/16] add mips64/config.mk

2012-08-15 Thread Daniel Schwierzeck
2012/8/14 Zhi-zhou Zhang : > diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk > new file mode 100644 > index 000..cec250a > --- /dev/null > +++ b/arch/mips/cpu/mips64/config.mk > @@ -0,0 +1,36 @@ > +# > +# (C) Copyright 2003 > +# Wolfgang Denk, DENX Software Engineer

Re: [U-Boot] [Patch 5/16] add mips64/cpu.h

2012-08-15 Thread Daniel Schwierzeck
wrong email subject add mips64/cpu.h. You are adding cpu.c. 2012/8/14 Zhi-zhou Zhang : > diff --git a/arch/mips/cpu/mips64/cpu.c b/arch/mips/cpu/mips64/cpu.c > new file mode 100644 > index 000..1ead349 > --- /dev/null > +++ b/arch/mips/cpu/mips64/cpu.c > @@ -0,0 +1,116 @@ > +/* > + * (C) Copyr

Re: [U-Boot] [Patch 12/16] add config about mips64

2012-08-15 Thread Daniel Schwierzeck
2012/8/14 Zhi-zhou Zhang : > diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk > index 27cd34a..6a3d7a7 100644 > --- a/board/qemu-mips/config.mk > +++ b/board/qemu-mips/config.mk > @@ -2,9 +2,16 @@ > # Qemu -M mips system emulator > # See http://fabrice.bellard.free.fr/qemu > #

Re: [U-Boot] [Patch 11/16] make size_t equal to unsigned int

2012-08-15 Thread Daniel Schwierzeck
2012/8/14 Zhi-zhou Zhang : > err.. maybe a bug of gcc? In my memory, size_t is equaled to unsigned int. > > diff --git a/arch/mips/include/asm/posix_types.h > b/arch/mips/include/asm/posix_types.h > index 879aae2..86a866a 100644 > --- a/arch/mips/include/asm/posix_types.h > +++ b/arch/mips/include/

Re: [U-Boot] [Patch 15/16] add standalone link script

2012-08-15 Thread Daniel Schwierzeck
why don't you use CONFIG_64BIT like you did in board/qemu_mips/u-boot.lds? 2012/8/14 Zhi-zhou Zhang : > diff --git a/examples/standalone/mips64.lds b/examples/standalone/mips64.lds > new file mode 100644 > index 000..00b96da > --- /dev/null > +++ b/examples/standalone/mips64.lds > @@ -0,0 +1,5

[U-Boot] [V2] disk/partition: Fix the depend for all the partitions file

2012-08-15 Thread Zhong Hongbo
From: Zhong Hongbo all the patitions should depend CONFIG_PARTITIONS, no the CONFIG_CMD_$(device). The device symbol may be SATA, SCSI, USB, MMC, SYSTEMACE. Or else when the filesystem command be enabled, But board's configure file can not include any CONFIG_CMD_$(device), The u-boot will fail bu

[U-Boot] [PATCH] hwconfig: Move HWCONFIG_BUFFER_SIZE into hwconfig.h

2012-08-15 Thread York Sun
Before proper environment is setup, we extract hwconfig and put it into a buffer with size HWCONFIG_BUFFER_SIZE. We need to enlarge the buffer to accommodate longer string. Since this macro is used in multiple files, we move it into hwconfig.h. Signed-off-by: York Sun --- arch/powerpc/cpu/mpc85

[U-Boot] [PATCH] powerpc/mpc85xx:Add new ext fields to Freescale's IFC

2012-08-15 Thread Prabhakar Kushwaha
Freescale's Integrated Flash controller(IFC) v1.1.0 supports 40 bit address bus width. In case more than 32 bit address is used, the new ext registers should be set. Add support of ext registers. Signed-off-by: Kumar Gala Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha --- Based upo

Re: [U-Boot] [PATCH v2] kw_spi: fix clock prescaler computation

2012-08-15 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 15 August 2012 21:02 > To: u-boot@lists.denx.de > Cc: Valentin Longchamp; Holger Brunck; Prafulla Wadaskar > Subject: [PATCH v2] kw_spi: fix clock prescaler computation > > The computation was

Re: [U-Boot] [PATCH] km/arm: set SPI NOR Flash default parameters

2012-08-15 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 15 August 2012 20:46 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Holger Brunck > Subject: Re: [PATCH] km/arm: set SPI NOR Flash default parameters > > Hi Prafulla, > > On 08/14/2012 0

[U-Boot] [PATCH 0/3] Enable at91sam9x5 boot from serial flash

2012-08-15 Thread Bo Shen
This series patches enable at91sam9x5 boot from serial flash Bo Shen (3): spi: add atmel at25db321 serial flash support arm : at91sam9x5 : enable serial flash boot arm : at91sam9x5 : make nand available when not boot from nand arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |4 ++-- b

[U-Boot] [PATCH 1/3] spi: add atmel at25df321 serial flash support

2012-08-15 Thread Bo Shen
Add atmel at25df321 serial flash support Signed-off-by: Bo Shen --- drivers/mtd/spi/atmel.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mtd/spi/atmel.c b/drivers/mtd/spi/atmel.c index 1ecece0..89ebe9d 100644 --- a/drivers/mtd/spi/atmel.c +++ b/drivers/mtd/spi/atmel.

[U-Boot] [PATCH 2/3] arm : at91sam9x5 : enable serial flash boot

2012-08-15 Thread Bo Shen
enable at91sam9x5 boot from serial flash Use at91sam9x5_dataflash to configure the u-boot Signed-off-by: Bo Shen --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c |4 ++-- boards.cfg |1 + include/configs/at91sam9x5ek.h | 18

[U-Boot] [PATCH 3/3] arm : at91sam9x5 : fix a small bug for NAND

2012-08-15 Thread Bo Shen
fix a bug: when not boot from NAND, the NAND flash can not be detected. Using this to fix it Signed-off-by: Bo Shen --- board/atmel/at91sam9x5ek/at91sam9x5ek.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam

[U-Boot] [PATCH v2 0/5] at91: 9x5: Enable PMECC(Programmable Multibit ECC controller) support

2012-08-15 Thread Josh Wu
This patch series will add PMECC support for atmel at91sam9x5ek in u-boot. The NAND flash driver patch is ported from kernel patch. The main different from kernel patch is the modification about registers access part. in this version it via a register structure to access. It is tested in atmel

[U-Boot] [PATCH v2 1/5] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param().

2012-08-15 Thread Josh Wu
Extract the hwecc initialization code into one function. It is a preparation for adding atmel PMECC support. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 108 ++--- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/drivers/mtd/nan

[U-Boot] [PATCH v2 3/5] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller

2012-08-15 Thread Josh Wu
The Programmable Multibit ECC (PMECC) controller is a programmable binary BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller can be used to support both SLC and MLC NAND Flash devices. It supports to generate ECC to correct 2, 4, 8, 12 or 24 bits of error per sector of data.

[U-Boot] [PATCH v2 2/5] at91: atmel_nand: remove unused variables.

2012-08-15 Thread Josh Wu
Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 113da93..9dc003e 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@

[U-Boot] [PATCH v2 4/5] at91: 9x5: change SMC config timing that both works for PMECC & non-PMECC.

2012-08-15 Thread Josh Wu
Signed-off-by: Josh Wu --- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/board/atmel/at91sam9x5ek/at91sam9x5ek.c b/board/atmel/at91sam9x5ek/at91sam9x5ek.c index 17db0fd..8dc24ab 100644 --- a/board/atmel/at91sam9x5ek/at

[U-Boot] [PATCH v2 5/5] at91: 9x5: Enable PMECC for 5series ek board.

2012-08-15 Thread Josh Wu
Signed-off-by: Josh Wu --- include/configs/at91sam9x5ek.h |7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index f8bd870..32f9469 100644 --- a/include/configs/at91sam9x5ek.h +++ b/include/configs/at91sam9x5ek.h @@ -122,

Re: [U-Boot] [PATCH 0/8] video: support newly exynos5 display feature

2012-08-15 Thread Minkyu Kang
Hi, On 2 July 2012 20:15, Donghwa Lee wrote: > This patch set supports newly exynos5 display features. > > [1/8] EXYNOS5: support exynos5 lcd clock control > [2/8] EXYNOS5: support display system register control > [3/8] EXYNOS5: support display port phy control function > [4/8] EXYNOS5: add disp

Re: [U-Boot] [PATCH 4/4 v2] xilinx: Add new Zynq board

2012-08-15 Thread Michal Simek
Hi Joe, On 08/15/2012 07:31 PM, Joe Hershberger wrote: Hi Michal, On Wed, Aug 15, 2012 at 3:49 AM, Michal Simek wrote: Hi Joe, sorry missed this one. On 08/14/2012 05:48 PM, Joe Hershberger wrote: Are you thinking that this will be the one and only Zynq board? Perhaps a layout like what

[U-Boot] [PATCH 1/4 v2] serial: Add Zynq serial driver

2012-08-15 Thread Michal Simek
The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek --- v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART Rename driver name Remove driver description --- drivers/serial/Makefile |1 + drivers/serial/serial_zynq.c | 200 ++

[U-Boot] [PATCH 2/4 v2] net: Add driver for Zynq Gem IP

2012-08-15 Thread Michal Simek
Device driver for Zynq Gem IP. Signed-off-by: Michal Simek CC: Joe Hershberger --- v2: Remove phylib protection Rename driver file name xilinx_gem to zynq_gem Rename XEMACPSS to ZYNQ_GEM Rename gemac_priv to zynq_gem_priv Rename gem_regs to zynq_gem_regs Add zynq_ prefix to

[U-Boot] [PATCH 4/4 v3] xilinx: Add new Zynq board

2012-08-15 Thread Michal Simek
Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- v2: Forget to also add config file v3: Change name for serial driver Remove lowlevel_init from board folder Remove XPSS part from timer baseaddr Change name for Zynq gem driver Clean coding style Remove mac +

[U-Boot] [PATCH 3/4 v2] arm: Support new Xilinx Zynq platform

2012-08-15 Thread Michal Simek
Add timer driver. Signed-off-by: Michal Simek --- v2: Move lowlevel_init.S from board to cpu folder Remove XPSS prefix Rename XSCUTIMER -> SCUTIMER Keep timer in zynq folder till ARM custodian comments it. --- arch/arm/cpu/armv7/zynq/Makefile| 52 +++ arch/arm/cpu/arm

Re: [U-Boot] [PATCH 00/17]: ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-15 Thread Stefan Roese
Hi Tom, On 08/15/2012 11:30 PM, Tom Rini wrote: > The following patch series merges the davinci and omap-common SPL > frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a > few small cleanups to the code to make it a little smaller and more > flexible. The end result is that davi

<    1   2