08 Nov, 2013

1 commit


01 Nov, 2013

1 commit


24 Jul, 2013

1 commit


08 Nov, 2011

1 commit

  • The code disabled interrupts in several locations, without re-enabling
    them again. Fix this.

    While we are at it, also fix a GCC 4.6 build warning:
    flash.c: In function 'flash_erase':
    flash.c:373:21: warning: variable 'last' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Wolfgang Denk
    Cc: Josef Wagner

    Wolfgang Denk
     

16 Oct, 2011

1 commit

  • The top level Makefile does not do any recursion into subdirs when
    cleaning, so these clean/distclean targets in random arch/board dirs
    never get used. Punt them all.

    MAKEALL didn't report any errors related to this that I could see.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

18 Nov, 2010

1 commit

  • Before this commit, weak symbols were not overridden by non-weak symbols
    found in archive libraries when linking with recent versions of
    binutils. As stated in the System V ABI, "the link editor does not
    extract archive members to resolve undefined weak symbols".

    This commit changes all Makefiles to use partial linking (ld -r) instead
    of creating library archives, which forces all symbols to participate in
    linking, allowing non-weak symbols to override weak symbols as intended.
    This approach is also used by Linux, from which the gmake function
    cmd_link_o_target (defined in config.mk and used in all Makefiles) is
    inspired.

    The name of each former library archive is preserved except for
    extensions which change from ".a" to ".o". This commit updates
    references accordingly where needed, in particular in some linker
    scripts.

    This commit reveals board configurations that exclude some features but
    include source files that depend these disabled features in the build,
    resulting in undefined symbols. Known such cases include:
    - disabling CMD_NET but not CMD_NFS;
    - enabling CONFIG_OF_LIBFDT but not CONFIG_QE.

    Signed-off-by: Sebastien Carlier

    Sebastien Carlier
     

19 Oct, 2010

3 commits

  • After the recent cleanups, a number of config.mk files consist only of
    a "PLATFORM_CPPFLAGS += -I$(TOPDIR)/board" entry whih is not needed.
    Remove such entries. In most cases, that means that the whole
    config.mk file can be removed.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • Clean up Makefile, and drop a lot of the config.mk files on the way.

    We now also automatically pick all boards that are listed in
    boards.cfg (and with all configurations), so we can drop the redundant
    entries from MAKEALL to avoid building these twice.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     
  • The change is currently needed to be able to remove the board
    configuration scripting from the top level Makefile and replace it by
    a simple, table driven script.

    Moving this configuration setting into the "CONFIG_*" name space is
    also desirable because it is needed if we ever should move forward to
    a Kconfig driven configuration system.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

22 Mar, 2010

1 commit


19 Oct, 2008

1 commit


11 Sep, 2008

2 commits


09 Sep, 2008

1 commit


03 Sep, 2008

2 commits


03 Jul, 2008

1 commit


12 Jun, 2008

1 commit

  • This patch changes the return type of initdram() from long int to phys_size_t.
    This is required for a couple of reasons: long int limits the amount of dram
    to 2GB, and u-boot in general is moving over to phys_size_t to represent the
    size of physical memory. phys_size_t is defined as an unsigned long on almost
    all current platforms.

    This patch *only* changes the return type of the initdram function (in
    include/common.h, as well as in each board's implementation of initdram). It
    does not actually modify the code inside the function on any of the platforms;
    platforms which wish to support more than 2GB of DRAM will need to modify
    their initdram() function code.

    Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
    MPC8641HPCN.

    Signed-off-by: Becky Bruce

    Becky Bruce
     

21 May, 2008

1 commit

  • This commit gets rid of a huge amount of silly white-space issues.
    Especially, all sequences of SPACEs followed by TAB characters get
    removed (unless they appear in print statements).

    Also remove all embedded "vim:" and "vi:" statements which hide
    indentation problems.

    Signed-off-by: Wolfgang Denk

    Wolfgang Denk
     

10 Jul, 2007

2 commits


04 Jul, 2007

2 commits


09 Oct, 2006

1 commit


02 Sep, 2006

1 commit

  • Modifications are based on the linux kernel approach and
    support two use cases:

    1) Add O= to the make command line
    'make O=/tmp/build all'

    2) Set environement variable BUILD_DIR to point to the desired location
    'export BUILD_DIR=/tmp/build'
    'make'

    The second approach can also be used with a MAKEALL script
    'export BUILD_DIR=/tmp/build'
    './MAKEALL'

    Command line 'O=' setting overrides BUILD_DIR environent variable.

    When none of the above methods is used the local build is performed and
    the object files are placed in the source directory.

    Marian Balakowicz
     

01 Apr, 2006

1 commit


14 Jan, 2006

1 commit


29 Dec, 2005

1 commit


12 Dec, 2005

1 commit


13 Oct, 2005

1 commit


31 Aug, 2005

1 commit


02 Aug, 2005

1 commit


30 Jul, 2005

1 commit


05 May, 2005

1 commit


22 Apr, 2005

1 commit


20 Jun, 2004

1 commit

  • - DDR Ram support for PM520 (MPC5200)
    - support for different flash types (PM520)
    - USB / IDE / CF-Card / DiskOnChip support for PM520
    - 8 bit boot rom support for PM520/CE520
    - Add auto SDRAM module detection for MicroSys CPC45 board (MPC8245)
    - I2C and RTC support for CPC45
    - support of new flash type (28F160C3T) for CPC45

    wdenk
     

24 Mar, 2004

1 commit

  • attempting to switch on USB on SX1 board.

    * Patch by Josef Wagner, 18 Mar 2004:
    - Add support for MicroSys XM250 board (PXA255)
    - Add support for MicroSys PM828 board (MPC8280)
    - Add support for 32 MB Flash on PM825/826
    - new SDRAM refresh rate for PM825/PM826
    - added support for MicroSys PM520 (MPC5200)
    - replaced Query by Identify command in CPU86/flash.c
    to support 28F160F3B

    * Fix wrap around problem with udelay() on ARM920T

    * Add support for Macronix flash on TRAB board

    wdenk