02 May, 2013

1 commit

  • Delete all occurrences of hang() and provide a generic function.

    Signed-off-by: Andreas Bießmann
    Acked-by: Albert ARIBAUD
    [trini: Modify check around puts() in hang.c slightly]
    Signed-off-by: Tom Rini

    Andreas Bießmann
     

01 May, 2013

2 commits

  • With sandbox it is tricky to add an FDT to the image at build time (or
    later) since we build an ELF file, not a plain binary, and the address
    space of the whole U-Boot is not accessible in the emulated memory map
    of sandbox.

    Sandbox can read files directly from the host, though, so add an option
    to read an FDT from a host file on start-up.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Add generic board support for sandbox. and remove the old board init code.

    Select CONFIG_SYS_GENERIC_BOARD for sandbox now that this is supported.

    Signed-off-by: Simon Glass
    Reviewed-by: Tom Rini

    Simon Glass
     

16 Apr, 2013

2 commits

  • Currently x86 has its own means of managing the global data and board data
    (bd_t), and this code resides in start.S. With generic board, we need to
    ensure that we leave this alone - i.e. don't clear it as we do on other
    archs.

    This fixes a problem where the memory init data is cleared which causes
    the video driver to operate very slowly.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • The intention of the memory init code is that it should work the same with
    CONFIG_SYS_GENERIC_BOARD and without. This is tricky because dram_init()
    is called prior to relocation with generic board (matching other archs)
    and after relocation without generic board.

    Adjust the init sequence so that dram_init() is not called in the generic
    board case, which seems like the easiest fix for now. Also ensure that
    relocation addresses are still calculated.

    Signed-off-by: Simon Glass

    Simon Glass
     

12 Apr, 2013

1 commit


16 Mar, 2013

5 commits

  • For x86, things have adjusted somewhat since this series was originally
    written. It has its own way of running through initcalls which is actually
    nicer than others archs.

    Unfortunately this does introduce exceptions. We will soon require use of
    generic board on x86, but until then we need to fit in with what is there,
    and treat x86 as a special case.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This adds ppc features to the generic pre-relocation board init.

    This is a separate commit so that these features are clearly shown.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • Link symbols as created by the link script can either be absolute or
    relative to the text start. This option switches between the two options
    so that we can support both.

    As we convert architectures over to generic board, we can see if this
    option is actually needed, or whether it is possible to unify this feature
    also.

    Signed-off-by: Simon Glass

    Simon Glass
     
  • This adds secondary program loader support to the generic board.

    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