02 Dec, 2013
1 commit
26 Nov, 2013
2 commits
-
Fix ccsr_ddr structure to avoid using typedef. Combine DDR2 and DDR3
structure for 83xx, 85xx and 86xx.Signed-off-by: York Sun
-
Freescale DDR driver has been used for mpc83xx, mpc85xx, mpc86xx SoCs.
The similar DDR controllers will be used for ARM-based SoCs.Signed-off-by: York Sun
25 Nov, 2013
1 commit
-
Signed-off-by: Masahiro Yamada
15 Oct, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Drop changes for PEP 4 following python tools]
Signed-off-by: Tom Rini
24 Jul, 2013
1 commit
-
Signed-off-by: Wolfgang Denk
[trini: Fixup common/cmd_io.c]
Signed-off-by: Tom Rini
21 Jun, 2013
1 commit
-
- defines constants
- Add spl_minimal.c to initialise DDR
- update TLB entries as per NAND boot
- remove nand_spl support for P1010RDBSigned-off-by: Prabhakar Kushwaha
Signed-off-by: Andy Fleming
12 Apr, 2013
5 commits
-
The migration of boards from Makefile to boards.cfg was due for v2012.03, but
smdk6400 did not follow, and it does not build, so move it to scrapyard. It will
still be possible to restore it from the Git history before fixing it.Signed-off-by: Benoît Thébaudeau
-
This also fixes support for mx31pdk and tx25, which had been broken by commit
e05e5de7fae5bec79617e113916dac6631251156.Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam -
Use __image_copy_end instead of __bss_start for the end of the image to
relocate. This is the same as commit 033ca72, but applied to all ARM start.S.This is a more appropriate symbol naming for an image copy & relocate feature,
and this also saves a useless copy of data put between __image_copy_end and
__bss_start in linker scripts (e.g. relocation information, or MMU
initialization tables used only before jumping to the relocated image).Signed-off-by: Benoît Thébaudeau
-
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam -
Add some abstraction to NFC definitions so that some parts of the current code
can also be used for future i.MX5 code.Clean up a few things by the way.
Signed-off-by: Benoît Thébaudeau
Acked-by: Scott Wood
Tested-by: Fabio Estevam
19 Mar, 2013
1 commit
-
Albert's rework of the linker scripts conflicted with Simon's making
everyone use __bss_end. We also had a minor conflict over
README.scrapyard being added to in mainline and enhanced in
u-boot-arm/master with proper formatting.Conflicts:
arch/arm/cpu/ixp/u-boot.lds
arch/arm/cpu/u-boot.lds
arch/arm/lib/Makefile
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/dvlhost/u-boot.lds
board/freescale/mx31ads/u-boot.lds
doc/README.scrapyard
include/configs/tegra-common.hBuild tested for all of ARM and run-time tested on am335x_evm.
Signed-off-by: Tom Rini
16 Mar, 2013
1 commit
-
Note this is a tree-wide change affecting multiple architectures.
At present we use __bss_start, but mostly __bss_end__. This seems
inconsistent and in a number of places __bss_end is used instead.Change to use __bss_end for the BSS end symbol throughout U-Boot. This
makes it possible to use the asm-generic/sections.h file on all
archs.Signed-off-by: Simon Glass
13 Mar, 2013
1 commit
-
Refactor linker-generated array code so that symbols
which were previously linker-generated are now compiler-
generated. This causes relocation records of type
R_ARM_ABS32 to become R_ARM_RELATIVE, which makes
code which uses LGA able to run before relocation as
well as after.Note: this affects more than ARM targets, as linker-
lists span possibly all target architectures, notably
PowerPC.Conflicts:
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/armv7/omap-common/u-boot-spl.lds
board/ait/cam_enc_4xx/u-boot-spl.lds
board/davinci/da8xxevm/u-boot-spl-da850evm.lds
board/davinci/da8xxevm/u-boot-spl-hawk.lds
board/vpac270/u-boot-spl.ldsSigned-off-by: Albert ARIBAUD
17 Jan, 2013
1 commit
09 Jan, 2013
1 commit
-
Move all the C runtime setup code from every start.S
in arch/arm into arch/arm/lib/crt0.S. This covers
the code sequence from setting up the initial stack
to calling into board_init_r().Also, rewrite the C runtime setup and make functions
board_init_*() and relocate_code() behave according to
normal C semantics (no jumping across the C stack any
more, etc).Some SPL targets had to be touched because they use
start.S explicitly or for some reason; the relevant
maintainers and custodians are cc:ed.Signed-off-by: Albert ARIBAUD
20 Dec, 2012
2 commits
-
This converts MPC8313ERDB NAND boot to use the new SPL infrastructure.
Signed-off-by: Scott Wood
Signed-off-by: Kim Phillips -
This adds arch support for PPC mpc83xx to boot "minimal" (4K) SPLs
using the new infrastructure.Existing nand_spl targets are updated to deal with the name change
from nand_init.c to spl_minimal.c (as in theory this isn't limited
to NAND anymore).Signed-off-by: Scott Wood
Signed-off-by: Kim Phillips
10 Dec, 2012
1 commit
-
Conflicts:
README
board/samsung/universal_c210/universal.c
drivers/misc/Makefile
drivers/power/power_fsl.c
include/configs/mx35pdk.h
include/configs/mx53loco.h
include/configs/seaboard.h
28 Nov, 2012
1 commit
-
There were a number of shared files that were using
CONFIG_SYS_MPC85xx_DDR_ADDR, or CONFIG_SYS_MPC86xx_DDR_ADDR, and
several variants (DDR2, DDR3). A recent patchset added
85xx-specific ones to code which was used by 86xx systems.
After reviewing places where these constants were used, and
noting that the type definitions of the pointers assigned to
point to those addresses were the same, the cleanest approach
to fixing this problem was to unify the namespace for the
85xx, 83xx, and 86xx DDR address definitions.This patch does:
s/CONFIG_SYS_MPC8.xx_DDR/CONFIG_SYS_MPC8xxx_DDR/g
All 85xx, 86xx, and 83xx have been built with this change.
Signed-off-by: Andy Fleming
Tested-by: Andy Fleming
Acked-by: Kim Phillips
27 Nov, 2012
4 commits
-
Signed-off-by: Scott Wood
Cc: Andy Fleming -
There is nothing really NAND-specific about this file.
Signed-off-by: Scott Wood
Cc: Andy Fleming -
It applies to non-Freescale 85xx boards as well as Freescale boards,
so it doesn't belong in board/freescale. Plus, it needs to come out
of nand_spl if it's to be used by the new SPL.Signed-off-by: Scott Wood
Cc: Andy Fleming -
It's arch code and not a driver, so move it where it belongs. When it
originally went into drivers/misc there was no 8xxx CPU directory.This will make new-SPL support a little easier since we can keep the CPU
stuff together and not need to pull stuff in from drivers/misc.Signed-off-by: Scott Wood
Cc: Andy Fleming
14 Nov, 2012
1 commit
-
Commit 97b24d3d51a92cb8c0c1e1a74abf22fe1a1807a3 "common: Add symbol
handling for generic lists into Makefile" introduced build errors in many
nand_spl targets, complaining of a missing u-boot.lst. When not doing an
out-of-tree build, $(obj) expands to nothing, so GCC ended up being given
-I with no argument (or rather, -ansi was the argument). The failure
didn't show up during a -j1 build because it was picking up the non-SPL
version of u-boot.lst.Signed-off-by: Scott Wood
10 Nov, 2012
1 commit
26 Oct, 2012
1 commit
-
This patch modifies start.S for the arm1136 to make it
conform to start.S in armv7 architecture, to make it
usable if the SPL framework is used.Signed-off-by: Stefano Babic
22 Oct, 2012
3 commits
-
The command declaration now uses the new LG-array method to generate
list of commands. Thus the __u_boot_cmd section is now superseded and
redundant and therefore can be removed. Also, remove externed symbols
associated with this section from include/command.h .Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger -
Add section for the linker-generated lists into all possible linker
files, so that everyone can easily use these lists. This is mostly
a mechanical adjustment.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger -
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 before U-Boot is linked.The purpose of this code is to especially generate the appropriate
boundary symbols around each subsection in the section carrying the
linker-generated arrays. Obviously, the interim linker code for actual
placement of the variables into the section is generated too. The
generated file, u-boot.lst, is included into u-boot.lds via the linker
INCLUDE directive in u-boot.lds .Adjustments are made in the Makefile and spl/Makefile so that the
u-boot.lds and u-boot-spl.lds depend on their respective .lst files.Signed-off-by: Marek Vasut
Cc: Joe Hershberger
Cc: Mike Frysinger
Acked-by: Joe Hershberger
Tested-by: Joe Hershberger
26 Sep, 2012
1 commit
18 Sep, 2012
8 commits
-
Use the same IP revisions as in Linux in order to make the comparison more
clear.Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
Do not stop boot as soon as an ECC error is detected. Only stop boot for
uncorrectable ECC errors.This fixes boards no longer booting after some time because a NAND Flash bit has
flipped.Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
On the NFC IP 1.1, the 32-bit ecc_status_result value comes from 2
consecutive 16-bit registers. This patch reads all the fields of this value,
which makes a difference for 4-kiB NF pages.Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
Set the spl mxc nand driver for IP 1.1 in symmetric mode, like the mtd driver.
In this way, for both drivers, one input clock period of the NFC IP will produce
one R/W cycle.Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
The ECC_EN and INT_MSK bits of CONFIG1 are not volatile, so it is sufficient to
set them once in nfc_nand_init().Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
Merge duplicated code into functions, which is better for SPL size too.
Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood -
This patches fixes the TODO to use same register definitions in mtd mxc_nand and
nand_spl fsl nfc drivers.Signed-off-by: Benoît Thébaudeau
Cc: Scott Wood
Cc: Stefano Babic
Signed-off-by: Scott Wood