25 Jan, 2014

2 commits


18 Nov, 2013

1 commit


10 Nov, 2013

1 commit

  • Conflicts:
    arch/arm/cpu/arm926ejs/mxs/Makefile
    board/compulab/cm_t35/Makefile
    board/corscience/tricorder/Makefile
    board/ppcag/bg0900/Makefile
    drivers/bootcount/Makefile
    include/configs/omap4_common.h
    include/configs/pdnb3.h

    Makefile conflicts are due to additions/removals of
    object files on the ARM branch vs KBuild introduction
    on the main branch. Resolution consists in adjusting
    the list of object files in the main branch version.
    This also applies to two files which are not listed
    as conflicting but had to be modified:

    board/compulab/common/Makefile
    board/udoo/Makefile

    include/configs/omap4_common.h conflicts are due to
    the OMAP4 conversion to ti_armv7_common.h on the ARM
    side, and CONFIG_SYS_HZ removal on the main side.
    Resolution is to convert as this icludes removal of
    CONFIG_SYS_HZ.

    include/configs/pdnb3.h is due to a removal on ARM side.
    Trivial resolution is to remove the file.

    Note: 'git show' will also list two files just because
    they are new:

    include/configs/am335x_igep0033.h
    include/configs/omap3_igep00x0.h

    Albert ARIBAUD
     

01 Nov, 2013

2 commits


17 Oct, 2013

1 commit


15 Oct, 2013

1 commit


24 Jul, 2013

1 commit


02 Apr, 2013

1 commit

  • 'bool' is defined in random places. This patch consolidates them into a
    single header file include/linux/types.h, using stdbool.h introduced in C99.

    All other #define, typedef and enum are removed. They are all consistent with
    true = 1, false = 0.

    Replace FALSE, False with false. Replace TRUE, True with true.
    Skip *.py, *.php, lib/* files.

    Signed-off-by: York Sun

    York Sun
     

14 Dec, 2012

1 commit


17 Oct, 2012

1 commit


16 Oct, 2012

2 commits

  • Remove the support for not-CONFIG_SERIAL_MULTI part from serial
    port drivers and some board files. Since CONFIG_SERIAL_MULTI is
    now enabled by default, that part is a dead code. Remove it.

    Signed-off-by: Marek Vasut
    Cc: Marek Vasut
    Cc: Anatolij Gustschin
    Cc: Stefan Roese
    Signed-off-by: Tom Rini

    Marek Vasut
     
  • Implement support for CONFIG_SERIAL_MULTI into p3mx serial driver.
    This driver was so far only usable directly, but this patch also adds
    support for the multi method. This allows using more than one serial
    driver alongside the p3mx driver. Also, add a weak implementation
    of default_serial_console() returning this driver.

    Signed-off-by: Marek Vasut
    Cc: Marek Vasut
    Cc: Tom Rini
    Cc: Anatolij Gustschin
    Cc: Stefan Roese

    Marek Vasut
     

24 May, 2012

1 commit

  • These are all the files which use the API incorrectly but did not get
    built using MAKEALL -a powerpc|arm. I have no compiler for them, but
    the remaining issues should be far less than without this patch.

    Any outstanding issues are left to the maintainers of boards that use
    these drivers.

    Signed-off-by: Joe Hershberger

    Joe Hershberger
     

23 May, 2012

1 commit


31 Mar, 2012

1 commit


27 Mar, 2012

2 commits

  • nand.c: In function ‘pdnb3_nand_read_buf’:
    nand.c:107:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    nand.c: In function ‘pdnb3_nand_dev_ready’:
    nand.c:124:18: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]

    Remove the 4-byte-at-time read mode altogether, the most is bogus and will
    likely cause unaligned accesses.

    Signed-off-by: Marek Vasut
    Cc: Bryan Hundven
    Cc: Michael Schwingen

    Marek Vasut
     
  • These symbols are no longer defined in Linux-ARM's mach-types files. Replace
    these with CONFIG_MACH_TYPE instead.

    Signed-off-by: Marek Vasut
    Cc: Bryan Hundven
    Cc: Michael Schwingen

    Marek Vasut
     

19 Mar, 2012

1 commit

  • A few subsystems are using the same define "NAMESIZE". This has been
    working so far because they define it to the same number. However, I
    want to change the size of eth_device's NAMESIZE, so rather than tweak
    the define names, simply drop references to it. Almost no one does,
    and the handful that do can easily be changed to a sizeof().

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

07 Mar, 2012

1 commit


05 Mar, 2012

1 commit

  • Fixing build regressions for the Integrator I get find that a few
    boards try to work around the missing declaration of
    pciauto_config_init() by declaring it in the local scope. This
    does not make sense when the sibling functions are in
    so move the function to the header, ridding the build error
    in the Integrator and getting rid of the local declarations
    here and there.

    Reported-by: Wolfgang Denk
    Signed-off-by: Linus Walleij

    Linus Walleij
     

02 Dec, 2011

1 commit

  • Fix:
    fpga.c: In function 'fpga_pre_fn':
    fpga.c:88:16: warning: variable 'reg' set but not used
    [-Wunused-but-set-variable]
    nand.c: In function 'alpr_nand_dev_ready':
    nand.c:125:18: warning: variable 'val' set but not used
    [-Wunused-but-set-variable]

    Signed-off-by: Wolfgang Denk
    Cc: Stefan Roese
    Acked-by: Stefan Roese

    Wolfgang Denk
     

04 Nov, 2011

1 commit

  • Fix:
    mv_eth.c: In function 'mv64460_eth_real_open':
    mv_eth.c:471:6: warning: variable 'port_status' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_stop':
    mv_eth.c:722:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_xmit':
    mv_eth.c:796:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_receive':
    mv_eth.c:877:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_get_stats':
    mv_eth.c:979:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_update_stat':
    mv_eth.c:1006:24: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]
    mv_eth.c:1005:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'mv64460_eth_print_stat':
    mv_eth.c:1087:15: warning: variable 'port_num' set but not used [-Wunused-but-set-variable]
    mv_eth.c: In function 'eth_clear_mib_counters':
    mv_eth.c:2141:15: warning: variable 'dummy' set but not used [-Wunused-but-set-variable]

    Signed-off-by: Wolfgang Denk

    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
     

05 Sep, 2011

2 commits


23 Jun, 2011

1 commit


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
     

10 Jan, 2011

1 commit

  • The include/miiphy.h header duplicates a lot of things from linux/mii.h.
    So punt all the things that overlap to keep the API simple and to make
    merging between U-Boot and Linux simpler.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

29 Nov, 2010

1 commit


28 Nov, 2010

1 commit


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

  • This patch removes the PPC4xx UART driver. Instead the common NS16550
    driver is used, since all PPC4xx SoC's use this peripheral device.

    The file 4xx_uart.c now only implements the UART clock calculation
    function which also sets the SoC internal UART divisors.

    All PPC4xx board config headers are changed to use this common NS16550
    driver now.

    Tested on these boards:
    acadia, canyonlands, katmai, kilauea, sequoia, zeus

    Signed-off-by: Stefan Roese

    Stefan Roese
     
  • This patch moves some ppc4xx related headers from the common include
    directory (include/) to the powerpc specific one
    (arch/powerpc/include/asm/). This way to common include directory is not
    so cluttered with files.

    Signed-off-by: Stefan Roese

    Stefan Roese
     

10 Aug, 2010

1 commit


04 Aug, 2010

1 commit

  • While running from flash, i. e. before relocation, we have only a
    limited C runtime environment without writable data segment. In this
    phase, some configurations (for example with environment in EEPROM)
    must not use the normal getenv(), but a special function. This
    function had been called getenv_r(), with the idea that the "_r"
    suffix would mean the same as in the _r_eentrant versions of some of
    the C library functions (for example getdate vs. getdate_r, getgrent
    vs. getgrent_r, etc.).

    Unfortunately this was a misleading name, as in U-Boot the "_r"
    generally means "running from RAM", i. e. _after_ relocation.

    To avoid confusion, rename into getenv_f() [as "running from flash"]

    Signed-off-by: Wolfgang Denk
    Acked-by: Detlev Zundel

    Wolfgang Denk