1. 31 Oct, 2013 1 commit
  2. 14 Oct, 2013 1 commit
  3. 02 Aug, 2013 1 commit
  4. 24 Jul, 2013 1 commit
  5. 09 May, 2013 1 commit
    • Michal Simek's avatar
      gpio: Add support for microblaze xilinx GPIO · 4e779ad2
      Michal Simek authored
      Microblaze uses gpio which is connected to the system reset.
      Currently gpio subsystem wasn't used for it.
      
      Add gpio driver and change Microblaze reset logic to be done
      via gpio subsystem.
      
      There are various configurations which Microblaze can have
      that's why gpio_alloc/gpio_alloc_dual(for dual channel)
      function has been introduced and gpio can be allocated
      dynamically.
      
      Adding several gpios IP is also possible and supported.
      
      For listing gpio configuration please use "gpio status" command
      
      This patch also remove one compilation warning:
      microblaze-generic.c: In function 'do_reset':
      microblaze-generic.c:38:47: warning: operation on '*1073741824u'
       may be undefined [-Wsequence-point]
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      4e779ad2
  6. 30 Apr, 2013 3 commits
  7. 04 Feb, 2013 1 commit
  8. 11 Sep, 2012 1 commit
  9. 10 Jul, 2012 1 commit
  10. 09 Jul, 2012 1 commit
  11. 04 Apr, 2012 2 commits
  12. 24 Oct, 2011 1 commit
  13. 23 Oct, 2011 1 commit
  14. 15 Oct, 2011 1 commit
  15. 28 Nov, 2010 1 commit
  16. 17 Nov, 2010 1 commit
    • Sebastien Carlier's avatar
      Switch from archive libraries to partial linking · 6d8962e8
      Sebastien Carlier authored
      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: default avatarSebastien Carlier <sebastien.carlier@gmail.com>
      6d8962e8
  17. 18 Oct, 2010 1 commit
    • Wolfgang Denk's avatar
      Rename TEXT_BASE into CONFIG_SYS_TEXT_BASE · 14d0a02a
      Wolfgang Denk authored
      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: default avatarWolfgang Denk <wd@denx.de>
      14d0a02a
  18. 12 Oct, 2010 1 commit
  19. 16 Apr, 2010 1 commit
  20. 13 Apr, 2010 1 commit
  21. 03 Oct, 2009 1 commit
  22. 14 Sep, 2009 1 commit
  23. 20 Mar, 2009 1 commit
    • Trent Piepho's avatar
      Fix all linker script to handle all rodata sections · f62fb999
      Trent Piepho authored
      A recent gcc added a new unaligned rodata section called '.rodata.str1.1',
      which needs to be added the the linker script.  Instead of just adding this
      one section, we use a wildcard ".rodata*" to get all rodata linker section
      gcc has now and might add in the future.
      
      However, '*(.rodata*)' by itself will result in sub-optimal section
      ordering.  The sections will be sorted by object file, which causes extra
      padding between the unaligned rodata.str.1.1 of one object file and the
      aligned rodata of the next object file.  This is easy to fix by using the
      SORT_BY_ALIGNMENT command.
      
      This patch has not be tested one most of the boards modified.  Some boards
      have a linker script that looks something like this:
      
      *(.text)
      . = ALIGN(16);
      *(.rodata)
      *(.rodata.str1.4)
      *(.eh_frame)
      
      I change this to:
      
      *(.text)
      . = ALIGN(16);
      *(.eh_frame)
      *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*)))
      
      This means the start of rodata will no longer be 16 bytes aligned.
      However, the boundary between text and rodata/eh_frame is still aligned to
      16 bytes, which is what I think the real purpose of the ALIGN call is.
      Signed-off-by: default avatarTrent Piepho <xyzzy@speakeasy.org>
      f62fb999
  24. 23 Jan, 2009 2 commits