01 Nov, 2013

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


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
     

13 May, 2011

1 commit

  • A large number of boards incorrectly used getenv() in their board init
    code running before relocation. In some cases this caused U-Boot to
    hang when certain environment variables grew too long.
    Fix the code to use getenv_r().

    Signed-off-by: Wolfgang Denk
    Cc: Stefan Roese
    Cc: The LEOX team
    Cc: Michael Schwingen
    Cc: Georg Schardt
    Cc: Werner Pfister
    Cc: Dirk Eibach
    Cc: Peter De Schrijver
    Cc: John Zhan
    Cc: Rishi Bhattacharya
    Cc: Peter Tyser

    Wolfgang Denk
     

17 Dec, 2010

1 commit

  • The t3corp board has an Xilinx DS617 flash chip connected to the
    onboard FPGA. This patch adds support for these chips. Board
    specific flash accessor functions are needed, since the chips
    can only be read correctly in 16bit mode.

    Additionally the FPGA chip-selects are configured for device-paced
    transfers (ready is enabled).

    Signed-off-by: Stefan Roese

    Stefan Roese
     

28 Nov, 2010

1 commit

  • This commit adapts 4xx boards for partial linking with --gc-sections.

    Signed-off-by: Stefan Roese
    Signed-off-by: Wolfgang Denk
    Cc: Stefan Roese
    Cc: Tirumala Marri
    Cc: David Updegraff
    Cc: Matthias Fuchs
    Cc: Dirk Eibach
    Cc: Larry Johnson
    Cc: Peter De Schrijver
    Cc: Niklaus Giger
    Cc: Daniel Poirot
    Acked-by: Stefan Roese

    Wolfgang Denk
     

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
     

27 Oct, 2010

1 commit

  • CONFIG_SYS_GBL_DATA_SIZE has always been just a bad workarond for not
    being able to use "sizeof(struct global_data)" in assembler files.
    Recent experience has shown that manual synchronization is not
    reliable enough. This patch renames CONFIG_SYS_GBL_DATA_SIZE into
    GENERATED_GBL_DATA_SIZE which gets automatically generated by the
    asm-offsets tool. In the result, all definitions of this value can be
    deleted from the board config files. We have to make sure that all
    files that reference such data include the new file.

    No other changes have been done yet, but it is obvious that similar
    changes / simplifications can be done for other, related macro
    definitions as well.

    Signed-off-by: Wolfgang Denk
    Acked-by: Kumar Gala

    Wolfgang Denk
     

19 Oct, 2010

2 commits

  • 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
     

23 Sep, 2010

2 commits


23 Jul, 2010

1 commit

  • This patch fixes some problems for the T3CORP board. Here the list
    of the changes:

    - Add 600-67 and 677 CPU frequency setting to chip_config
    command
    - Define CONFIG_DDR_RFDC_FIXED on t3corp:
    While using the "normal" auto calibration code, sometimes values for
    RFDC were picked (>= T3) that resulted in a non-working U-Boot (hang
    upon relocation, while running from SDRAM). With this optimized RFDC
    value we can force this register and use the auto-calibration code to
    setup the remaining calibration registers.
    - Increase sizes of FPGA chips selects
    - EBC timing updated OEN=3 for 66 MHz EBC speed
    - Change ext. IRQ2 setup to level-low active
    - Enable CONFIG_SYS_CFI_FLASH_STATUS_POLL

    By defining CONFIG_SYS_CFI_FLASH_STATUS_POLL, DQ7 is polled to detect the
    chip busy status. This is now used instead of the data toggle method which
    is used historically by default in the common CFI driver. With this change
    a problem with not written data is solved on this board, where a 32 byte
    block of data is still erased instead of filled with the correct content
    after these commands:

    => erase 0xfc100000 +0x1000000

    ....................................................................
    done
    Erased 128 sectors
    => cp.b 0x100000 0xfc100000 0x1000000
    Copy to Flash... done
    => cmp.b 0x100000 0xfc100000 0x1000000
    byte at 0x00d0d6c0 (0x00) != byte at 0xfcd0d6c0 (0xff)
    Total of 12637888 bytes were the same

    Signed-off-by: Stefan Roese

    Stefan Roese
     

01 Jul, 2010

1 commit