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
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
>> > >
>>
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(-)
- 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 ++
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
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
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
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
--
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
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
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/
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 |
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
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
@
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
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
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
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
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
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
> #
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/
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
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
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
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
> -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
> -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
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
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.
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
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
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
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
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.
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
@@
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
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,
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
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
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 ++
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
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 +
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
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
101 - 144 of 144 matches
Mail list logo