20 Feb, 2014

1 commit

  • - When CONFIG_DISPLAY_CPUINFO is not enabled,
    print_cpuinfo() should be defined as an empty function
    in a header, include/common.h

    - Remove #ifdef CONFIG_DISPLAY_CPUINFO .. #endif
    from caller, common/board_f.c and arch/arm/lib/board.c

    - Remove redundant prototypes in arch/arm/lib/board.c,
    arch/arm/include/asm/arch-am33x/sys_proto.h and
    board/nokia/rx51/rx51.h, keeping the one in include/common.h

    - Add #ifdef CONFIG_DISPLAY_CPUINFO to the func definition
    where it is missing

    Signed-off-by: Masahiro Yamada

    Masahiro Yamada
     

30 Jan, 2014

1 commit

  • If CONFIG_CFI_FLASH_MTD is not defined, then we shouldn't perform the
    flash early reset.

    This commit fixes the following build error:

    nios2-generic.c: In function `__early_flash_cmd_reset':
    nios2-generic.c:23: error: `AMD_CMD_RESET' undeclared (first use in this function)
    nios2-generic.c:23: error: (Each undeclared identifier is reported only once
    nios2-generic.c:23: error: for each function it appears in.)
    nios2-generic.c:24: error: `FLASH_CMD_RESET' undeclared (first use in this function)

    which was introduced by:

    commit a113fb39df43546c704aa8eba55720da9a9dfedd
    Author: Ezequiel Garcia
    Date: Fri Dec 20 18:34:53 2013 -0300

    board: nios2: Add CONFIG_CFI_FLASH_MTD guard to flash.h header include

    Signed-off-by: Ezequiel Garcia

    Cc: Thomas Chou
    Reported-by: Masahiro Yamada
    Signed-off-by: Ezequiel Garcia

    Ezequiel Garcia
     

14 Jan, 2014

1 commit


18 Nov, 2013

1 commit


16 Nov, 2013

1 commit


01 Nov, 2013

2 commits


15 Oct, 2013

2 commits


08 Oct, 2013

2 commits

  • Adding the generated pin mux configuration by Preloader
    Generator tool

    Signed-off-by: Chin Liang See
    Reviewed-by: Pavel Machek
    Acked-by: Dinh Nguyen
    Cc: Wolfgang Denk
    CC: Pavel Machek
    Cc: Dinh Nguyen
    Cc: Tom Rini
    Cc: Albert Aribaud

    Chin Liang See
     
  • Adding System Manager driver which will configure the
    pin mux for real hardware Cyclone V development kit
    (not Virtual Platform)

    Signed-off-by: Chin Liang See
    Reviewed-by: Pavel Machek
    Acked-by: Dinh Nguyen
    Cc: Wolfgang Denk
    CC: Pavel Machek
    Cc: Dinh Nguyen
    Cc: Tom Rini
    Cc: Albert Aribaud

    Chin Liang See
     

25 Jul, 2013

2 commits


24 Jul, 2013

1 commit


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.h

    Build tested for all of ARM and run-time tested on am335x_evm.

    Signed-off-by: Tom Rini

    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

    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.lds

    Signed-off-by: Albert ARIBAUD

    Albert ARIBAUD
     

22 Oct, 2012

2 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
     

05 Oct, 2012

1 commit

  • Add minimal support for Altera's SOCFPGA Cyclone 5 hardware.

    Signed-off-by: Dinh Nguyen
    Signed-off-by: Chin Liang See
    Signed-off-by: Pavel Machek
    Reviewed-by: Marek Vasut
    Acked-by: Tom Trini
    Cc: Wolfgang Denx
    Cc: Albert Aribaud
    Cc: Stefan Roese
    ----
    v8: Remove no_return attribute for reset_cpu

    Based on v2012.10-rc2

    Dinh Nguyen
     

28 Oct, 2011

2 commits


27 Oct, 2011

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
     

30 Apr, 2011

1 commit

  • Currently, some linker scripts are found by common code in config.mk.
    Some are found using CONFIG_SYS_LDSCRIPT, but the code for that is
    sometimes in arch config.mk and sometimes in board config.mk. Some
    are found using an arch-specific rule for looking in CPUDIR, etc.

    Further, the powerpc config.mk rule relied on CONFIG_NAND_SPL
    when it really wanted CONFIG_NAND_U_BOOT -- which covered up the fact
    that not all NAND_U_BOOT builds actually wanted CPUDIR/u-boot-nand.lds.

    Replace all of this -- except for a handful of boards that are actually
    selecting a linker script in a unique way -- with centralized ldscript
    finding.

    If board code specifies LDSCRIPT, that will be used.
    Otherwise, if CONFIG_SYS_LDSCRIPT is specified, that will be used.

    If neither of these are specified, then the central config.mk will
    check for the existence of the following, in order:

    $(TOPDIR)/board/$(BOARDDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
    $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds (only if CONFIG_NAND_U_BOOT)
    $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds
    $(TOPDIR)/$(CPUDIR)/u-boot.lds

    Some boards (sc3, cm5200, munices) provided their own u-boot.lds that
    were dead code, because they were overridden by a CPUDIR u-boot.lds under
    the old powerpc rules. These boards' own u-boot.lds have bitrotted and
    no longer work -- these lds files have been removed.

    Signed-off-by: Scott Wood
    Tested-by: Graeme Russ

    Scott Wood
     

08 Apr, 2011

1 commit


28 Mar, 2011

1 commit


08 Feb, 2011

2 commits


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

1 commit

  • 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
     

12 Jul, 2010

3 commits

  • The example configuration files of nios2-generic board can generated
    binary to run on the EP1C20, EP1S10, and EP1S40 boards. So the three
    boards can be removed.

    With nios2-generic approach, the fpga parameter header file can
    be generated from hardware designs using tools. Porting u-boot for
    nios2 boards is simplified. Vendors can supply their fpga parameter
    file or patches to add a new nios2-generic board instance. There is
    no need to include other boards support for nios2 in the u-boot
    mainline.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch enables the altera_spi and spi_flash drivers for the
    nios2-generic board. It allows access to the EPCS/SPI flash on
    the Altera EP1C20 board.

    Signed-off-by: Thomas Chou
    Tested-by: Ian Abbott
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This will be used by nand_plat.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     

28 May, 2010

2 commits


25 Apr, 2010

2 commits

  • This is a generic approach to port u-boot for nios2 boards.
    You may find the usage of this approach on the nioswiki,
    http://nioswiki.com/DasUBoot

    A fpga parameter file, which contains base address information
    and drivers declaration, is generated from Altera's hardware system
    description sopc file using tools.

    The example fpga parameter file is compatible with EP1C20, EP1S10
    and EP1S40 boards. So these boards can be removed after this commit.
    Though epcs controller is removed to cut the dependency of altera_spi
    driver.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     
  • This patch toggles power to reset the cf card.

    Signed-off-by: Thomas Chou
    Signed-off-by: Scott McNutt

    Thomas Chou
     

17 Apr, 2010

1 commit


13 Apr, 2010

1 commit