10 Dec, 2012

1 commit


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

    Andy Fleming
     

27 Nov, 2012

4 commits


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

    Scott Wood
     

10 Nov, 2012

1 commit


26 Oct, 2012

1 commit


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

    Marek Vasut
     
  • 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

    Marek Vasut
     
  • 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

    Marek Vasut
     

26 Sep, 2012

1 commit


18 Sep, 2012

8 commits


03 Sep, 2012

1 commit


23 Aug, 2012

6 commits


12 Feb, 2012

1 commit

  • This patch moves hawkboard to the new spl infrastructure from the
    older nand_spl one.

    Removed the hawkboard_nand_config build option -- The spl code now
    gets compiled with hawkboard_config, after building the main u-boot
    image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard
    to reflect the same.

    Signed-off-by: Sughosh Ganu
    Signed-off-by: Heiko Schocher
    Cc: Heiko Schocher
    Cc: Christian Riesch
    Cc: Sudhakar Rajashekhara
    Cc: Tom Rini
    Acked-by: Christian Riesch

    Sughosh Ganu
     

27 Jan, 2012

1 commit

  • Adapt the following patch from spl to nand_spl:

    Author: Stefano Babic
    Date: Thu Dec 15 10:55:37 2011 +0100

    nand_spl_simple: store ecc data on the stack

    Currently nand_spl_simple puts it's temp data at 0x10000 offset in SDRAM
    which is likely to contain already loaded data.
    The patch saves the oob data and the ecc on the stack replacing
    the fixed address in RAM.

    Signed-off-by: Stefano Babic
    CC: Ilya Yanok
    CC: Scott Wood
    CC: Tom Rini
    CC: Simon Schwarz
    CC: Wolfgang Denk
    Signed-off-by: Scott Wood

    While nand_spl is on its way out, in favor of spl, there are still
    many boards using it, and conversions are gradual. This allows us
    to get rid of CONFIG_SYS_NAND_ECCSTEPS and CONFIG_SYS_NAND_ECCTOTAL now,
    which would otherwise be likely to linger unreferenced after a conversion.

    It also eliminates a temporary error in the hawkboard_nand build, since
    the spl version of the patch removed ECCSTEPS/TOTAL from hawkboard.h, but
    the spl conversion is pending (and may be merged via a different tree).

    Signed-off-by: Scott Wood

    Scott Wood
     

08 Dec, 2011

1 commit


07 Dec, 2011

5 commits

  • dram_init function in board/davinci/common/misc.c does not get
    compiled for spl builds, thus rendering inclusion of memsize.c
    useless.

    Signed-off-by: Sughosh Ganu

    Sughosh Ganu
     
  • move the board/davinci/common/misc.c file to
    arch/arm/cpu/arm926ejs/davinci/misc.c, so all
    davinci boards can use this functions.

    Signed-off-by: Heiko Schocher
    Cc: Sandeep Paulraj
    Cc: Tom Rini
    Cc: Albert ARIBAUD
    Cc: Christian Riesch

    Heiko Schocher
     
  • The boards in board/davinci/da8xxevm/ define pinmux_config[] vectors
    that contain pinmux configurations for emac, uarts, memory controllers...
    In an earlier patch such pinmux configurations were added to the arch
    tree. This patch makes the hawkboard use these definitions instead of
    defining its own.

    Signed-off-by: Christian Riesch
    Cc: Sandeep Paulraj
    Cc: Heiko Schocher
    Cc: Syed Mohammed Khasim
    Cc: Sughosh Ganu
    Cc: Mike Frysinger
    Acked-by: Heiko Schocher

    Christian Riesch
     
  • Signed-off-by: Christian Riesch
    Cc: Sandeep Paulraj
    Cc: Heiko Schocher
    Cc: Sudhakar Rajashekhara
    Cc: Syed Mohammed Khasim
    Cc: Sughosh Ganu
    Cc: Nick Thompson
    Cc: Stefano Babic
    Acked-by: Heiko Schocher
    Acked-by: Nick Thompson

    Christian Riesch
     
  • s3c64xx.c implemented its own nand_read_byte, nand_write_buf and
    nand_read_buf functions. This provoked a regression when these functions
    were made public by patch 55f429bb39614a16b1bacc9a8bea9ac01a60bfc8.

    This deletes these duplicated functions from s3c64xx.c and adds the generic
    implementations in nand_base.c to the spl Makefile. It also adds
    -ffcuntion-sections and -gc-sections to the compilation flags of the SPL to
    avoid errors originating from unused functions in nand_base.c.

    Description of the regression:
    http://article.gmane.org/gmane.comp.boot-loaders.u-boot/108873

    Signed-off-by: Simon Schwarz
    Cc: scottwood@freescale.com
    Cc: s-paulraj@ti.com
    Cc: albert.u.boot@aribaud.net

    Simon Schwarz
     

17 Nov, 2011

1 commit

  • Fix:
    nand_boot.c: In function 'nand_read_page':
    nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
    nand_boot.c: In function 'nand_boot':
    nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]

    Signed-off-by: Stefan Roese

    Stefan Roese
     

05 Oct, 2011

2 commits

  • * 'master' of git://git.denx.de/u-boot-nand-flash:
    PPC: Fix socrates NAND problem
    PPC: Fix fsl_upm.c by renaming nand handling functions
    NAND: Make page, erase, oob size available via cmd_nand
    mtd: eLBC NAND: remove elbc_fcm_ctrl->oob_poi
    NAND: Add -y option to nand scrub command
    NAND: Add nand read.raw and write.raw commands
    NAND: Really ignore bad blocks when scrubbing
    spl, nand: add 4bit HW ecc oob first nand_read_page function
    mxc_nand: fix a problem writing more than 32MB
    mxc_nand: fixed some typos (cosmetic)
    nand: increase chip_delay in mv kirkwood nand driver

    Wolfgang Denk
     
  • * 'master' of git://git.denx.de/u-boot-mpc85xx:
    powerpc/p3060: Add SoC related support for P3060 platform
    powerpc/85xx: Add support for setting up RAID engine liodns on P5020
    powerpc/85xx: Refactor some defines out of corenet_ds.h
    fm-eth: Add ability for board code to disable a port
    powerpc/mpc8548: Add workaround for erratum NMG_LBC103
    powerpc/mpc8548: Add workaround for erratum NMG_DDR120
    powerpc/mpc85xxcds: Fix PCI speed
    powerpc/mpc8548cds: Fix booting message
    powerpc/p4080: Add support for secure boot flow
    powerpc/85xx: Add Secure Boot support on P1010RDB for NOR, NAND & SPIFLASH
    powerpc/85xx: Add PBL & SECUREBOOT support on P3041/P5020DS boards
    powerpc/p2041rdb: remove watch dog related codes
    powerpc/p2041rdb: updated description of cpld command
    powerpc/p2041rdb: add more ddr frequencies support
    powerpc/p2041rdb: set sysclk according to status of physical switch SW1
    powerpc/p2041rdb: update cpld reset command according to CPLD 2.0
    powerpc/mpc8349emds: Migrate from spd_sdram to unified DDR driver
    powerpc/mpc83xx: Migrate from spd_sdram to unified DDR driver
    powerpc/mpc8xxx: Add DDR2 to unified DDR driver
    powerpc/mpc8xxx: Fix picos_to_mclk() and get_memory_clk_period_ps()
    powerpc/mpc8xxx: Add SPD EEPROM address for single controller 2 slots
    powerpc/mpc8xxx: Fix DDR code for empty first DIMM slot and enable DQS_en
    powerpc/85xx: Refactor P2041RDB to use common p_corenet files
    powerpc/85xx: refactor common P-Series CoreNet files for FSL boards
    powerpc/85xx: Enable CMD_REGINFO on corenet boards
    powerpc/85xx: p2041rdb - Remove unused 'execute' perm in TLB entries
    powerpc/85xx: Fix USB protocol definitions for P1020RDB
    powerpc/corenet_ds: Use separated speed tables for UDIMM and RDIMM
    powerpc/mpc8xxx: Move DDR RCW overriding to common code
    powerpc/mpc8xxx: Extend CWL table
    powerpc/85xx: Cleanup how SVR_MAJ() is defined on MPC8536
    powerpc/85xx: Cleanup extern in corenet_ds board code
    powerpc/p2041rdb: Add ethernet support on P2041RDB board
    powerpc/85xx: Add networking support to P1023RDS
    powerpc/hydra: Add ethernet support on P5020/P3041 DS boards
    powerpc/85xx: Add FMan ethernet support to P4080DS
    powerpc/85xx: Add support for FMan ethernet in Independent mode
    powerpc/mpc8548cds: Cleanup mpc8548cds.c
    powerpc/mp: add support for discontiguous cores
    powerpc/85xx: corenet_ds - Remove unused 'execute' perm in TLB entries
    fdt: Add new fdt_create_phandle helper
    fdt: Rename fdt_create_phandle to fdt_set_phandle
    powerpc/85xx: Fix compile warnings/errors if CONFIG_SYS_DPAA_FMAN isn't set
    fsl_ifc: Add the workaround for erratum IFC A-003399(enabled on P1010)
    powerpc/P1010: Add workaround for erratum P1010-A003549 (related to IFC)
    fsl_ifc: Add the workaround for erratum IFC-A002769 (enable on P1010)
    powerpc/85xx: Expanding the window of CCSRBAR in AS=1 from 4k to 1M
    powerpc/85xx: Add NAND/NAND_SPL support to P1010RDB
    nand: Freescale Integrated Flash Controller NAND support
    powerpc/85xx: Add basic support for P1010RDB
    powerpc/85xx: Add support for new P102x/P2020 RDB style boards
    powerpc/85xx: relocate CCSR before creating the initial RAM area
    powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros
    powerpc/85xx: Enable internal USB UTMI PHY on p204x/p3041/p50x0
    powerpc/85xx: Add ULPI and UTMI USB Phy support for P1010/P1014

    Wolfgang Denk
     

04 Oct, 2011

1 commit