25 Jan, 2014

1 commit


05 Nov, 2013

1 commit

  • Many platforms duplicate pretty much the same timer code yet they all have
    a 32-bit freerunning counter register. Create a common implementation that
    minimally requires 2 or 3 defines to add timer support:

    CONFIG_SYS_TIMER_RATE - Clock rate of the timer counter
    CONFIG_SYS_TIMER_COUNTER - Address of 32-bit counter
    CONFIG_SYS_TIMER_COUNTS_DOWN - Define if counter counts down

    All functions are weak or ifdef'ed so they can still be overriden by any
    platform.

    Signed-off-by: Rob Herring

    Rob Herring
     

20 Aug, 2013

1 commit


24 Jul, 2013

2 commits


23 Jul, 2013

1 commit

  • This Patch introduce the new i2c_core file, which holds
    the I2C core functions, for the rework of the multibus/
    multiadapter support.
    Also adds changes in i2c.h for the new I2C multibus/multiadapter
    support. This new support can be activated with the
    CONFIG_SYS_I2C define.

    Signed-off-by: Heiko Schocher
    Signed-off-by: Simon Glass
    Cc: Mike Frysinger
    Cc: Stephen Warren

    Heiko Schocher
     

26 Jun, 2013

1 commit

  • Add hooks for tracing to generic board, including:

    - allow early tracing to start early as possible in U-Boot
    - reserve memory for trace buffer
    - copy early trace buffer to main trace buffer after relocation
    - setup full tracing support after relocation

    Signed-off-by: Simon Glass

    Simon Glass
     

22 Jun, 2013

2 commits


08 Jun, 2013

1 commit

  • This commit refactors common/board_f.c and common/board_r.c
    in order to delete the dest_addr and dest_addr_sp from
    gd_t struct.

    As mentioned as follows in include/asm-generic/global_data.h,

    /* TODO: is this the same as relocaddr, or something else? */
    unsigned long dest_addr; /* Post-relocation address of U-Boot */

    dest_addr is the same as relocaddr.
    Likewise, dest_addr_sp is the same as start_addr_sp.

    It seemed dest_addr/dest_addr_sp was used only as a scratch variable
    to calculate relocaddr/start_addr_sp, respectively.

    With a little refactoring, we can delete dest_addr and dest_addr_sp.

    Signed-off-by: Masahiro Yamada
    Cc: Simon Glass

    Masahiro Yamada
     

15 May, 2013

1 commit


01 May, 2013

1 commit


16 Mar, 2013

4 commits

  • We decided to used unsigned int here, rather than unsigned long. But
    for the generic global_data it is still unsigned long. So change it
    over.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This file handles common pre-relocation init for boards which use
    the generic framework.

    It starts up the console, DRAM, performs relocation and then jumps
    to post-relocation init.

    Signed-off-by: Simon Glass
    Tested-by: Wolfgang Denk
    Acked-by: Wolfgang Denk

    Simon Glass
     
  • We create a separate header file for link symbols defined by the link
    scripts. It is helpful to have these all in one place and try to
    make them common across architectures. Since Linux already has a similar
    file, we bring this in even though many of the symbols there are not
    relevant to us.

    Each architecture has its own asm/sections.h where symbols specifc to
    that architecture can be added. For now everything except AVR32 just
    includes the generic header.

    One change is needed in arch/avr32/lib/board.c to make this conversion
    work.

    Reviewed-by: Tom Rini (version 5)
    Signed-off-by: Simon Glass

    Simon Glass
     
  • This file holds the board info structure. We need this to be generic
    for the unified board series, so create a structure which contains
    the basic fields required by the main architectures.

    Signed-off-by: Simon Glass

    Simon Glass
     

04 Feb, 2013

1 commit


12 Dec, 2012

1 commit


22 Sep, 2012

1 commit


10 Aug, 2012

1 commit


10 Jan, 2012

1 commit


18 Oct, 2011

1 commit


06 May, 2010

1 commit

  • Add support for newer (up to 2.6.33) kernels

    Add zboot command which takes the address of a bzImage as its first
    argument and (optionally) the size of the bzImage as the second argument
    (the second argument is needed for older kernels which do not include
    the bzImage size in the header)

    Signed-off-by: Graeme Russ

    Graeme Russ
     

14 Mar, 2010

1 commit


18 Jan, 2010

1 commit


09 Jul, 2009

1 commit

  • This patch use blackfin errno.h implementation which
    correspond Linux kernel one.

    MIPS implemetation is different that's why I keep it.

    I removed ppc_error_no.h from Marvell boards which
    was the same too.

    I have got ack from ppc40x, blackfin, arm, coldfire and avr custodians.

    Acked-by: Stefan Roese
    Signed-off-by: Michal Simek

    Michal Simek