1. 15 Mar, 2013 7 commits
    • Simon Glass's avatar
      __HAVE_ARCH_GENERIC_BOARD controls availabilty of generic board · 5c1a7ea6
      Simon Glass authored
      
      
      We are introducing a new unified board setup. Add a check to make sure that
      board config files do not define CONFIG_SYS_GENERIC_BOARD unless their
      architecture defines __HAVE_ARCH_GENERIC_BOARD
      
      __HAVE_ARCH_GENERIC_BOARD will currently not be the default setting, but
      we can switch this later when most architecture support generic board.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      5c1a7ea6
    • Simon Glass's avatar
      Introduce a basic initcall implementation · c8a311d9
      Simon Glass authored
      
      
      This library supports calling a list of functions one after the
      other.
      
      It is intended that we move to a more powerful initcall implementation
      as proposed by Graeme Russ <graeme.russ@gmail.com>. For now, this allows
      us to do the basics.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      c8a311d9
    • Simon Glass's avatar
      Change stub example to use asm-generic/sections.h · 716cc8cc
      Simon Glass authored
      
      
      We can use the declarations of __bss_start and _end from this header
      instead of declaring them locally.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      716cc8cc
    • Simon Glass's avatar
      arm: Use sections header to obtain link symbols · e103b7ae
      Simon Glass authored
      
      
      Include this header to get access to link symbols, which are otherwise
      removed.
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      e103b7ae
    • Simon Glass's avatar
      Introduce generic link section.h symbol files · 18652864
      Simon Glass authored
      
      
      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 <trini@ti.com> (version 5)
      Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
      18652864
    • Simon Glass's avatar
      Replace __bss_end__ with __bss_end · 3929fb0a
      Simon Glass authored
      
      
      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's avatarSimon Glass <sjg@chromium.org>
      3929fb0a
    • Simon Glass's avatar
      Introduce generic u-boot.h file · 69d59b47
      Simon Glass authored
      
      
      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's avatarSimon Glass <sjg@chromium.org>
      69d59b47
  2. 12 Mar, 2013 7 commits
  3. 11 Mar, 2013 13 commits
  4. 10 Mar, 2013 1 commit
  5. 09 Mar, 2013 12 commits